aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/tex/preamble.tex
blob: 0d42fe56169a6fa1e3221d8164ec21e2d98ba296 (plain)
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
% vim: set ts=2 sw=2 noet:

% Table of contents
\pdfbookmark[1]{\contentsname}{tableofcontents}
\tableofcontents

\clearpage

% List of figures, tables and listings
\begingroup
	\let\clearpage\relax
	\let\cleardoublepage\relax

	\automark[section]{chapter}
	\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
	\renewcommand{\sectionmark}[1]{\markright{\textsc{\thesection}\enspace\spacedlowsmallcaps{#1}}}

	\pagestyle{scrheadings}

	\pdfbookmark[1]{\listfigurename}{lof}
	\listoffigures

	\pdfbookmark[1]{\listtablename}{lot}
	\listoftables

	\pdfbookmark[1]{\lstlistlistingname}{lol}
	\lstlistoflistings
\endgroup