diff options
Diffstat (limited to 'headers/preamble_local.tex')
-rw-r--r-- | headers/preamble_local.tex | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/headers/preamble_local.tex b/headers/preamble_local.tex new file mode 100644 index 0000000..cfbc404 --- /dev/null +++ b/headers/preamble_local.tex @@ -0,0 +1,50 @@ +\usepackage{titlesec} +\usepackage{titletoc} +\usepackage[german]{todonotes} + +\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>} + +\NewDocumentCommand{\sils}{O{} m}{ + \todo[color=green!35, #1]{Silas: #2} +} +\NewDocumentCommand{\bpeetz}{O{} m}{ + \todo[color=blue!35, #1]{Benedikt: #2} +} + +\newcounter{para} + +\NewDocumentCommand{\paracount}{}{ + \stepcounter{para} + \paragraph{(\arabic{para})} +} + +\NewDocumentCommand{\sectionc}{sm}{ + \IfBooleanTF#1 + { + \section*{#2} + \setcounter{para}{0} + } + { + \section{#2} + \setcounter{para}{0} + } +} + +\usepackage{enumitem} % For the enumerations with letters + |