diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-14 16:09:04 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-07-14 16:09:04 +0200 |
commit | d624aff7289b4617ae071150ecc2f090699e1552 (patch) | |
tree | 2fa0fef38bf68eb35610ea0f7eb974ed53920235 /headers/preamble_local.tex | |
parent | fix(lpm): Specify the new `satzung.tex` file in the templates (diff) | |
download | satzung-d624aff7289b4617ae071150ecc2f090699e1552.tar.gz satzung-d624aff7289b4617ae071150ecc2f090699e1552.zip |
fix(content): Ensure consistent display of the paragraph sign before section number
Diffstat (limited to 'headers/preamble_local.tex')
-rw-r--r-- | headers/preamble_local.tex | 17 |
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} |