-
Notifications
You must be signed in to change notification settings - Fork 1
/
contents.tex
67 lines (67 loc) · 2.45 KB
/
contents.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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