blob: 7483093ac396cca5acb54f9aa8729fd68b51d94f (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
\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}
\newcounter{subPara}
\NewDocumentCommand{\paracount}{}{
\stepcounter{para}
\paragraph{(\arabic{para})}
}
\NewDocumentCommand{\subparacount}{}{
\stepcounter{subPara}
\subparagraph{(\arabic{para}.\arabic{subPara})}
}
\NewDocumentCommand{\sectionc}{sm}{
\IfBooleanTF#1
{
\section*{#2}
\setcounter{para}{0}
}
{
\section{#2}
\setcounter{para}{0}
}
}
\usepackage{enumitem} % For the enumerations with letters
|