diff --git a/_quarto.yml b/_quarto.yml index fa01941..e4ffda8 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -32,6 +32,7 @@ format: pdf: template-partials: - before-body.tex + - toc.tex tbl-cap-location: top documentclass: scrreprt lof: true @@ -39,15 +40,16 @@ format: page-breaks: true geometry: - inner=3cm - - outer=4cm - - top=3cm - - bottom=4cm - - headsep=22pt - - headheight=11pt + - outer=3cm + - top=2cm + - bottom=2cm + - headsep=8pt + - headheight=4pt - footskip=33pt - ignorehead - ignorefoot - heightrounded + linestretch: 1.5 filters: - section-refs.lua # needs pandoc version >= 2.11 to work diff --git a/acknowledgements.qmd b/acknowledgements.qmd index de25262..ad6938c 100644 --- a/acknowledgements.qmd +++ b/acknowledgements.qmd @@ -1 +1,6 @@ # Acknowledgements {.unnumbered} + + +\tableofcontents +\listoftables +\listoffigures \ No newline at end of file diff --git a/before-body.tex b/before-body.tex index 28441a2..b24e9e1 100644 --- a/before-body.tex +++ b/before-body.tex @@ -32,4 +32,6 @@ \vspace{12ex} } $endfor$$endfor$% -$endif$ \ No newline at end of file +$endif$ +\let\mainmatterreal\mainmatter +\let\mainmatter\relax \ No newline at end of file diff --git a/list_abbreviations.qmd b/list_abbreviations.qmd index d67cd82..643cdc8 100644 --- a/list_abbreviations.qmd +++ b/list_abbreviations.qmd @@ -47,4 +47,3 @@ tribble( tab_options(column_labels.hidden = TRUE) ``` - diff --git a/toc.tex b/toc.tex new file mode 100644 index 0000000..0662812 --- /dev/null +++ b/toc.tex @@ -0,0 +1,11 @@ +$if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ +$if(colorlinks)$ +\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$} +$endif$ +\setcounter{tocdepth}{$toc-depth$} +$endif$ +\renewcommand*\listfigurename{List of figures} +\renewcommand*\listtablename{List of tables} \ No newline at end of file