diff --git a/teckids2style.sty b/teckids2style.sty index d2a0da63c0f8efe0254a19f266aad8a5541aa1a2..bd39755cd84fb770c110f5e7f21355a3c3af8bf2 100644 --- a/teckids2style.sty +++ b/teckids2style.sty @@ -192,6 +192,23 @@ \newcommand{\angekreuzteskaestchen}{\CheckedBox\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 \makeatletter%