From 7c35963f286418a7fde2fe53f350ce6f75a020ad Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 21 Sep 2021 19:11:18 +0200 Subject: Create thesis skeleton --- doc/thesis/tex/preamble.tex | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/thesis/tex/preamble.tex (limited to 'doc/thesis/tex/preamble.tex') 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 + -- cgit v1.2.1