This question is based on this stack overflow question. According to the answer given,
\hypersetup{
colorlinks,
citecolor=Violet,
linkcolor=Red,
urlcolor=Blue}
it is possible to change the color of citations. However, when I do that, I am not getting any color. Everything is looking black. I tried many permutations to the answer like colorlinks=true
, colorlinks=false
, removing the field colorlinks
altogether, but every time, I am getting the same black color.
Am I to add the package xcolor
in order to work this? Can anyone help me.
I am using org-mode
to write the document and exporting to PDF using org-latex-export
.
You don't show any useable code, but if I were to guess, I'd say you did not define the non-standard colour names with capital letters. Either define them or use standard names from one of the color packages, e.g. from xcolor
\documentclass{article}
\usepackage{xcolor}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=violet,
linkcolor=red,
urlcolor=blue}
\begin{document}
\url{URL}
\end{document}