summary refs log tree commit diff stats
path: root/headers
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-14 16:09:04 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-07-14 16:09:04 +0200
commitd624aff7289b4617ae071150ecc2f090699e1552 (patch)
tree2fa0fef38bf68eb35610ea0f7eb974ed53920235 /headers
parentfix(lpm): Specify the new `satzung.tex` file in the templates (diff)
downloadsatzung-d624aff7289b4617ae071150ecc2f090699e1552.tar.gz
satzung-d624aff7289b4617ae071150ecc2f090699e1552.zip
fix(content): Ensure consistent display of the paragraph sign before section number
Diffstat (limited to 'headers')
-rw-r--r--headers/preamble_local.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex
index 770640d..220d15d 100644
--- a/headers/preamble_local.tex
+++ b/headers/preamble_local.tex
@@ -1,3 +1,20 @@
+\usepackage{titlesec}
+\usepackage{titletoc}
+
+\titleformat
+{\section}
+{\normalfont\Large\bfseries}
+{\S \thesection}
+{1em}
+{}
+
+\titlecontents{section}
+[0em]
+{}
+{\contentslabel[\S\hspace{0.2em}\thecontentslabel]{2.3em}}
+{\hspace{-2.3em}}
+{\titlerule*[1pc]{.}\contentspage}
+
 \usepackage{nag}
 
 \NewDocumentCommand{\Verein}{}{Vereinsname}