Style margin in \chaptertoc

This commit is contained in:
2024-09-30 14:35:15 +02:00
parent 580e41479f
commit 85f7d96a21

View File

@@ -133,16 +133,15 @@
\newcommand{\chaptertoc}{% Print the table of contents for the chapter \newcommand{\chaptertoc}{% Print the table of contents for the chapter
%\hypersetup{linkcolor=black}% %\hypersetup{linkcolor=black}%
%\vspace{-1.8em}%
\section*{Contents}% Add a section title \section*{Contents}% Add a section title
\vspace{-1.5em}% \vspace{-1.5em}%
\horizontalrule% \horizontalrule%
%\vspace{-0.5em}%
\startcontents% Start referencing the contents \startcontents% Start referencing the contents
\renewcommand{\cftsecfont}{\bfseries}% Bold sections in local ToC \renewcommand{\cftsecfont}{\bfseries}% Bold sections in local ToC
\printcontents{}{1}{}% Print the contents \printcontents{}{1}{}% Print the contents
\vspace{-0.5em}%
\horizontalrule% \horizontalrule%
\vspace{2em}% \vspace{2em}%
} }