aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/tex/preamble.tex
diff options
context:
space:
mode:
authorOST\sara.halter <sara.halter@gmx.ch>2021-09-23 15:17:55 +0200
committerOST\sara.halter <sara.halter@gmx.ch>2021-09-23 15:17:55 +0200
commit29cc5cb87c4b55cecd7ac3c3c3652d0e2ac384ff (patch)
treeb4377dd897f3185f4d13d69b6b44121b13265cc6 /doc/thesis/tex/preamble.tex
parentProjekttplan angepasst noch nicht fertig (diff)
parentAdd project plan and thesis to workflow (diff)
downloadFading-29cc5cb87c4b55cecd7ac3c3c3652d0e2ac384ff.tar.gz
Fading-29cc5cb87c4b55cecd7ac3c3c3652d0e2ac384ff.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'doc/thesis/tex/preamble.tex')
-rw-r--r--doc/thesis/tex/preamble.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/thesis/tex/preamble.tex b/doc/thesis/tex/preamble.tex
new file mode 100644
index 0000000..0d42fe5
--- /dev/null
+++ b/doc/thesis/tex/preamble.tex
@@ -0,0 +1,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
+