Skip to content

Commit

Permalink
Merge pull request #65 from ronnyhdez/T13b
Browse files Browse the repository at this point in the history
Arrange TOC after first sections
  • Loading branch information
ronnyhdez authored Aug 3, 2023
2 parents eb49b1d + 67fd734 commit d669cbd
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 7 deletions.
12 changes: 7 additions & 5 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,24 @@ format:
pdf:
template-partials:
- before-body.tex
- toc.tex
tbl-cap-location: top
documentclass: scrreprt
lof: true
lot: true
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

Expand Down
5 changes: 5 additions & 0 deletions acknowledgements.qmd
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Acknowledgements {.unnumbered}


\tableofcontents
\listoftables
\listoffigures
4 changes: 3 additions & 1 deletion before-body.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@
\vspace{12ex}
}
$endfor$$endfor$%
$endif$
$endif$
\let\mainmatterreal\mainmatter
\let\mainmatter\relax
1 change: 0 additions & 1 deletion list_abbreviations.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ tribble(
tab_options(column_labels.hidden = TRUE)
```


11 changes: 11 additions & 0 deletions toc.tex
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit d669cbd

Please sign in to comment.