Skip to content
Snippets Groups Projects
Verified Commit f06be6be authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

also add table of contents

parent 45b717db
No related branches found
No related tags found
No related merge requests found
...@@ -192,6 +192,23 @@ ...@@ -192,6 +192,23 @@
\newcommand{\angekreuzteskaestchen}{\CheckedBox\hspace{0.1cm}}% \newcommand{\angekreuzteskaestchen}{\CheckedBox\hspace{0.1cm}}%
\newcommand{\ankreuzkaestchen}{\Square\hspace{0.1cm}}% \newcommand{\ankreuzkaestchen}{\Square\hspace{0.1cm}}%
% Inhaltsverzeichnis
\addtocontents{toc}{\protect\thispagestyle{fancy}}%
\addtolength{\cftsubsecnumwidth}{0.5em}%
\addtolength{\cftsubsubsecindent}{0.5em}%
% default: 10pt plus 1pt
\setlength{\cftbeforesecskip}{10pt plus 4pt minus 2pt}%
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}%
% when calling, ensure blank line before and after!
\newcommand{\inhaltsverzeichnis}{%
\hypersetup{linkcolor = black}%
% deliberately no % at end of line!
\tableofcontents
\hypersetup{linkcolor = teckidsbluestroke}%
% deliberately no % at end of line!
\newpage
}%
% Listings % Listings
\makeatletter% \makeatletter%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment