aboutsummaryrefslogtreecommitdiff
path: root/requirements.tex
diff options
context:
space:
mode:
Diffstat (limited to 'requirements.tex')
-rw-r--r--requirements.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/requirements.tex b/requirements.tex
index 2936272..78496e8 100644
--- a/requirements.tex
+++ b/requirements.tex
@@ -6,6 +6,28 @@
\projdoc@description@labelindent=0pt
\projdoc@setdescriptionstyle
\makeatother
+\setcounter{secnumdepth}{1}
+
+\usepackage{bophook}
+\makeatletter
+\def\reqlabel#1{\csuse{reqlabel@#1}}
+\def\reqlabelreset{%
+ \global\def\reqlabel@priority{%
+ \Glsdesc{reqlabel-priority}%
+ \global\def\reqlabel@priority{\Glstext{reqlabel-priority}}%
+ }%
+ \global\def\reqlabel@description{%
+ \Glsdesc{reqlabel-description}%
+ \global\def\reqlabel@description{\Glstext{reqlabel-description}}%
+ }%
+ \global\def\reqlabel@done{%
+ \Glsdesc{reqlabel-done}%
+ \global\def\reqlabel@done{\Glstext{reqlabel-done}}%
+ }%
+}
+% Abbreviate requirement field labels after first occurrence on every page
+\AtBeginPage{\reqlabelreset}
+\makeatother
\title{Requirements}