aboutsummaryrefslogtreecommitdiff
path: root/requirements.tex
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-18 18:13:24 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-18 18:13:24 +0200
commitd4b4b14cd82da9d733ffdc19210ee9b4ec09e4c7 (patch)
tree252465e25b023037d6c8c209cafcef09a6b68b12 /requirements.tex
parentad6a8573c4de484e5435b3f68a1347120b323827 (diff)
parent074c28335b85775b7c1b53a05e6622be63cf4fe9 (diff)
Merge remote-tracking branch 'origin/master' into max/time
Diffstat (limited to 'requirements.tex')
-rw-r--r--requirements.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/requirements.tex b/requirements.tex
index 2936272..be0e103 100644
--- a/requirements.tex
+++ b/requirements.tex
@@ -6,6 +6,27 @@
\projdoc@description@labelindent=0pt
\projdoc@setdescriptionstyle
\makeatother
+\setcounter{secnumdepth}{1}
+
+\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
+\AtBeginShipout{\reqlabelreset}
+\makeatother
\title{Requirements}