Latex change color of intext citing with hyperref package and natbib
- by Thomas
I am using the natbib and hyperref package in conjunction with my latex document. I would like to change to the color of my hyppereferenced citations (the box around the citation) from the ugly baseline green to a more muted (violet or navy blue). However, in using the suggested code to do this, I can not get the citation link colors to change. My code is as follows
\usepackage[usenames,dvipsnames]{color}
\usepackage[round]{natbib}
\usepackage[hyperfootnotes=false]{hyperref}
\usepackage[hyperfootnotes=false]{hyperref}
\hypersetup{
colorlinks=false,
citecolor=Violet,
linkcolor=Red,
urlcolor=Blue}
\begin{document}
\bibliographystyle{apsr}
\bibliography{exp_final}
\end{document}
However, when I compile (I compiled multiple times to make sure) this my pdf file looks the same as if I had excluded the formatting in the hypersetup (still the same ugly green). I would also like to box the footnote citations as well. Any ideas or help would be much appreciated.
Thanks,
Thomas