blob: 9c5fc4ffccc4529d6b01fe8e233adec9e38642cc (
plain)
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
|
% tocelg.sty
% Abtrennung der Kapitel durch Linie, Abschnitte
% fett, \subsection normal. Seitenzahlen folgen
% mit konstanten Abstand hinter Ueberschrift.
\newlength{\emlength}
\setlength{\emlength}{1em}
\newlength{\numwidth}
\setlength{\numwidth}{2\emlength}
\renewcommand{\numberline}[1]
{\makebox[\numwidth][l]{#1}\hspace{0.5\emlength}}
\renewcommand{\l@part}[2]{\pagebreak[3]%
\addvspace{3ex}\noindent{\Large\bfseries\sffamily
#1}\par\nopagebreak\addvspace{1ex}}
\renewcommand{\l@chapter}[2]{
\addvspace{2ex}\pagebreak[3]\noindent%
\makebox[0pt][l]{\rule[-2pt]{\textwidth}{0.5pt}}%
{\large\bfseries#1\quad#2}
\par\nopagebreak\addvspace{1ex}}
\renewcommand{\l@section}[2]
{\addvspace{0.5ex}
\noindent\hspace{2.5\emlength}%
{\bfseries #1\quad#2}\par\nopagebreak[2]}
\renewcommand{\l@subsection}[2]
{{\setlength{\numwidth}{2.5\emlength}
\noindent\hspace{5\emlength}#1\quad#2\par}}
|