summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex')
-rw-r--r--Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex27
1 files changed, 14 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex b/Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex
index dc0d859888f..3f7b73c8c83 100644
--- a/Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex
+++ b/Master/texmf-dist/doc/latex/classicthesis/FrontBackmatter/Contents.tex
@@ -4,15 +4,14 @@
%\phantomsection
\refstepcounter{dummy}
\pdfbookmark[1]{\contentsname}{tableofcontents}
-\setcounter{tocdepth}{2}
+\setcounter{tocdepth}{2} % <-- 2 includes up to subsections in the ToC
+\setcounter{secnumdepth}{3} % <-- 3 numbers up to subsubsections
+\manualmark
+\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}
\tableofcontents
-%\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}
-%*******************************************************
-% work-around to have small caps also here in the headline
-% will not work at this place if the TOC has more than 2 pages
-% use \manualmark and then the \markboth as above
-% later a modification of \automark[section]{chapter}
-%*******************************************************
+\automark[section]{chapter}
+\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
+\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}%*******************************************************
% List of Figures and of the Tables
%*******************************************************
\clearpage
@@ -47,11 +46,13 @@
%*******************************************************
% List of Listings
%*******************************************************
-% %\phantomsection
-% \refstepcounter{dummy}
-% %\addcontentsline{toc}{chapter}{\lstlistlistingname}
-% \pdfbookmark[1]{\lstlistlistingname}{lol}
-% \lstlistoflistings
+ %\phantomsection
+ \refstepcounter{dummy}
+ %\addcontentsline{toc}{chapter}{\lstlistlistingname}
+ \pdfbookmark[1]{\lstlistlistingname}{lol}
+ \lstlistoflistings
+
+ \vspace*{8ex}
%*******************************************************
% Acronyms