summary refs log tree commit diff stats
path: root/headers/preamble_local.tex
blob: 220d15d9dd7bfbeb8001a756388e64786d20a5cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
\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}

\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}{m}{
	\section{#1}
	\setcounter{para}{0}
}

\usepackage{enumitem} % For the enumerations with letters