diff options
author | Nao Pross <np@0hm.ch> | 2021-09-21 19:11:18 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-09-21 19:24:38 +0200 |
commit | 7c35963f286418a7fde2fe53f350ce6f75a020ad (patch) | |
tree | 16a9bd56ebc0f64dba898e5ce06f35b5c82cc081 /doc/thesis/tex/preamble.tex | |
parent | Adjust template (diff) | |
download | Fading-7c35963f286418a7fde2fe53f350ce6f75a020ad.tar.gz Fading-7c35963f286418a7fde2fe53f350ce6f75a020ad.zip |
Create thesis skeleton
Diffstat (limited to 'doc/thesis/tex/preamble.tex')
-rw-r--r-- | doc/thesis/tex/preamble.tex | 29 |
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 + |