From d624aff7289b4617ae071150ecc2f090699e1552 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 14 Jul 2024 16:09:04 +0200 Subject: fix(content): Ensure consistent display of the paragraph sign before section number --- headers/preamble_local.tex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'headers') 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} -- cgit 1.4.1