Skip to content

Commit

Permalink
Added red links, especially to cites
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollway committed Jun 19, 2020
1 parent db67ae3 commit d5ad878
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions inst/rmarkdown/templates/thesis_pdf/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@
\usepackage[normalem]{ulem}

%UL 15 Oct 2019, enable link highlighting to be turned off from YAML
\usepackage[colorlinks=false,pdfpagelabels,hidelinks=$hidelinks$]{hyperref}
% \usepackage[dvipsnames]{color}
% \usepackage[colorlinks=true,pdfpagelabels,hidelinks=$hidelinks$]{hyperref}
\RequirePackage[colorlinks=true,linkcolor=red,
citecolor=red,filecolor=red,urlcolor=black]{hyperref} % uses IHEID red for external links
% \hypersetup{citecolor=red}

%%%%% FONTS
\RequirePackage[T1]{fontenc} % requires XeLatex or LuaTex (remove to use pdfLaTex)
Expand Down Expand Up @@ -121,7 +125,8 @@

%UL 3 Dec 2018: set this from YAML in index.Rmd
$if(bib-humanities)$
\usepackage[style=authoryear, sorting=nyt, backend=biber, maxcitenames=2, useprefix, doi=$if(doi-in-bibliography)$$doi-in-bibliography$$else$false$endif$, isbn=false, uniquename=false]{biblatex}
\usepackage[style=authoryear, sorting=nyt, backend=biber, maxcitenames=2, useprefix,
doi=$if(doi-in-bibliography)$$doi-in-bibliography$$else$false$endif$, isbn=false, uniquename=false]{biblatex}
\newcommand*{\bibtitle}{$bibliography-heading-in-pdf$}
$else$
\usepackage[style=numeric-comp, sorting=none, backend=biber, doi=$doi-in-bibliography$, isbn=false]{biblatex}
Expand Down

0 comments on commit d5ad878

Please sign in to comment.