aboutsummaryrefslogtreecommitdiff
path: root/requirements.tex
blob: be0e10381f6c3f200d6c3d56bfb79d0111fc1c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
\documentclass{projdoc}
\input{meta.tex}

\makeatletter
\projdoc@description@leftmargin=2ex
\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}

\begin{document}
\tablestables
\newpage

\section{Requirements}
\begin{multicols}{2}
\input{reqs.tex}
\end{multicols}

\end{document}