Add table of contents to PDF bookmarks.

This commit is contained in:
Florian Walch
2017-01-22 15:11:22 +01:00
parent b62591a31e
commit d6158c4acf
2 changed files with 3 additions and 1 deletions

View File

@@ -26,12 +26,14 @@
\usepackage{caption}
\usepackage[hidelinks]{hyperref} % hidelinks removes colored boxes around references and links
\bibliography{bibliography}
\setkomafont{disposition}{\normalfont\bfseries} % use serif font for headings
\linespread{1.05} % adjust line spread for mathpazo font
% Add table of contents to PDF bookmarks
\BeforeTOCHead[toc]{{\cleardoublepage\pdfbookmark[0]{\contentsname}{toc}}}
% Settings for pgfplots
\pgfplotsset{compat=newest}
\pgfplotsset{