blob: 6b4a87a7d68a2e53dc111b4f66ef5a3503ffcb29 (
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
|
\documentclass{projdoc}
\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}
|