Skip to content

Commit

Permalink
Add bookmark numbers
Browse files Browse the repository at this point in the history
Correct comment
  • Loading branch information
DanielVorhaug committed Sep 6, 2023
1 parent b6841aa commit 25b751f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ntnuthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,14 @@
% Ensure list of listings have additional spacing between chapters to match figures and tables
\pretocmd{\chapter}{\addtocontents{lol}{\protect\addvspace{10\p@}}}{}{}

% Settings for hyperref: setting all the links black for best printing. They will still be clickable in the PDF
% Settings for hyperref: setting all the links black for best printing. They will still be clickable in the PDF. Adds numbers to bookmarks
\hypersetup{
colorlinks=true,
linkcolor=black, % internal links (change box color with linkbordercolor)
citecolor=black, % links to bibliography
filecolor=black, % file links
urlcolor=black % external links
linkcolor=black, % internal links (change box color with linkbordercolor)
citecolor=black, % links to bibliography
filecolor=black, % file links
urlcolor=black, % external links
bookmarksnumbered=true % include chapter, section and subsection numbers in bookmarks
}

% Fix list of listings not rendering correctly for LaTeX generated by Sphinx, which uses literalblock instead of lstlisting
Expand Down

0 comments on commit 25b751f

Please sign in to comment.