Skip to content
This repository was archived by the owner on Dec 20, 2022. It is now read-only.

Commit d6158c4

Browse files
committed
Add table of contents to PDF bookmarks.
1 parent b62591a commit d6158c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/main.pdf

-59 Bytes
Binary file not shown.

settings.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
\usepackage{caption}
2727
\usepackage[hidelinks]{hyperref} % hidelinks removes colored boxes around references and links
2828

29-
3029
\bibliography{bibliography}
3130

3231
\setkomafont{disposition}{\normalfont\bfseries} % use serif font for headings
3332
\linespread{1.05} % adjust line spread for mathpazo font
3433

34+
% Add table of contents to PDF bookmarks
35+
\BeforeTOCHead[toc]{{\cleardoublepage\pdfbookmark[0]{\contentsname}{toc}}}
36+
3537
% Settings for pgfplots
3638
\pgfplotsset{compat=newest}
3739
\pgfplotsset{

0 commit comments

Comments
 (0)