Skip to content

Commit

Permalink
improve hyperlinks color
Browse files Browse the repository at this point in the history
  • Loading branch information
pagmatt committed May 16, 2024
1 parent 8ec7d83 commit 5bb9232
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions main-template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%\includeonly{Sources/chapter_to_include.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Some of my favourite personal adjustments
% Some of my favorite personal adjustments
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% These are the adjustments that I consider necessary for typesetting
Expand Down Expand Up @@ -68,7 +68,7 @@
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}

% Coloured chapther numbers
% Coloured chapter numbers
%\renewcommand*{\chapterformat}{%
% \fontsize{60}{68}\selectfont\textcolor{uniPdRed}{\thechapter}\hspace{0.2in}%
%}
Expand Down Expand Up @@ -130,6 +130,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{bookmark}
\bookmarksetup{color=black}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliography
Expand All @@ -151,6 +152,12 @@
sorting = none,
style = numeric-comp,
]{biblatex}
\hypersetup{
% Document-wide hyperlinks color
colorlinks=true,
citecolor=UNIPDRED,
%allbordercolors=UNIPDRED
}

\usepackage{xurl}

Expand Down Expand Up @@ -193,7 +200,8 @@
\newpage\phantom{justskipthepage}

{
\hypersetup{linkcolor=UNIPDRED}
% Custom link color for TOC
\hypersetup{linkcolor=black}
\tableofcontents
}

Expand Down

0 comments on commit 5bb9232

Please sign in to comment.