summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/classicthesis/FrontBackmatter/Contents.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/classicthesis/FrontBackmatter/Contents.tex')
-rw-r--r--macros/latex/contrib/classicthesis/FrontBackmatter/Contents.tex67
1 files changed, 67 insertions, 0 deletions
diff --git a/macros/latex/contrib/classicthesis/FrontBackmatter/Contents.tex b/macros/latex/contrib/classicthesis/FrontBackmatter/Contents.tex
new file mode 100644
index 0000000000..ecc901e3b1
--- /dev/null
+++ b/macros/latex/contrib/classicthesis/FrontBackmatter/Contents.tex
@@ -0,0 +1,67 @@
+%*******************************************************
+% Table of Contents
+%*******************************************************
+\pagestyle{scrheadings}
+%\phantomsection
+\pdfbookmark[1]{\contentsname}{tableofcontents}
+\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
+\automark[section]{chapter}
+\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
+\renewcommand{\sectionmark}[1]{\markright{\textsc{\thesection}\enspace\spacedlowsmallcaps{#1}}}
+%*******************************************************
+% List of Figures and of the Tables
+%*******************************************************
+\clearpage
+% \pagestyle{empty} % Uncomment this line if your lists should not have any headlines with section name and page number
+\begingroup
+ \let\clearpage\relax
+ \let\cleardoublepage\relax
+ %*******************************************************
+ % List of Figures
+ %*******************************************************
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\listfigurename}
+ \pdfbookmark[1]{\listfigurename}{lof}
+ \listoffigures
+
+ \vspace{8ex}
+
+ %*******************************************************
+ % List of Tables
+ %*******************************************************
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\listtablename}
+ \pdfbookmark[1]{\listtablename}{lot}
+ \listoftables
+
+ \vspace{8ex}
+ % \newpage
+
+ %*******************************************************
+ % List of Listings
+ %*******************************************************
+ %\phantomsection
+ %\addcontentsline{toc}{chapter}{\lstlistlistingname}
+ \pdfbookmark[1]{\lstlistlistingname}{lol}
+ \lstlistoflistings
+
+ \vspace{8ex}
+
+ %*******************************************************
+ % Acronyms
+ %*******************************************************
+ %\phantomsection
+ \pdfbookmark[1]{Acronyms}{acronyms}
+ \markboth{\spacedlowsmallcaps{Acronyms}}{\spacedlowsmallcaps{Acronyms}}
+ \chapter*{Acronyms}
+ \begin{acronym}[UMLX]
+ \acro{DRY}{Don't Repeat Yourself}
+ \acro{API}{Application Programming Interface}
+ \acro{UML}{Unified Modeling Language}
+ \end{acronym}
+
+\endgroup