aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-18 17:00:57 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-18 17:00:57 +0200
commita42b0128b5933ee19dc5ae5ee9eb4bd19088447b (patch)
treea4171d2cdffebc701c2fcef544c033417d9044cf
parentc37f21e48f17abe9fb6bf1549f680e6f730aed8c (diff)
parentea452a59151c1e9bae39aaee568a2d9c7bd006a2 (diff)
Merge branch 'master' into loek/research
-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 05e401c..43fd15c 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}