summary refs log tree commit diff stats
path: root/headers
diff options
context:
space:
mode:
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}