aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projdoc.cls3
-rw-r--r--requirements.tex3
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}