diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-18 16:58:53 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-18 16:58:53 +0200 |
commit | ea452a59151c1e9bae39aaee568a2d9c7bd006a2 (patch) | |
tree | 8d87a46d76c96fe4e9f85b71e75bec96511ecfa9 | |
parent | 6b3fa9ceaf539b1bdcddf6284326a67c127d93a4 (diff) |
small fixes
-rw-r--r-- | projdoc.cls | 3 | ||||
-rw-r--r-- | requirements.tex | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/projdoc.cls b/projdoc.cls index fccf8c1..fe6317b 100644 --- a/projdoc.cls +++ b/projdoc.cls @@ -75,6 +75,9 @@ \bigskipamount=7mm \medskipamount=4mm +% number paragraphs by default +\setcounter{secnumdepth}{4} + % section placement / appearance \newlength{\sectionpenalty} \newlength{\subsectionpenalty} diff --git a/requirements.tex b/requirements.tex index 78496e8..be0e103 100644 --- a/requirements.tex +++ b/requirements.tex @@ -8,7 +8,6 @@ \makeatother \setcounter{secnumdepth}{1} -\usepackage{bophook} \makeatletter \def\reqlabel#1{\csuse{reqlabel@#1}} \def\reqlabelreset{% @@ -26,7 +25,7 @@ }% } % Abbreviate requirement field labels after first occurrence on every page -\AtBeginPage{\reqlabelreset} +\AtBeginShipout{\reqlabelreset} \makeatother \title{Requirements} |