# Beamer ignores citecolor from hyperref

How do I make citation links green in Beamer? It seems that Beamer ignores the hyperref option citecolor. I tried using the linkcolor option instead, but that affects all links (such as the link to the next slide, see example below). I want to change only the citation color.

\documentclass{beamer}

\hypersetup{
citecolor = green
}

\begin{document}

\begin{frame}
This is a great result~\cite{Paper}.
But this is a link to slide~\ref{Bib}.
\end{frame}

\begin{frame}{Bibliography}\label{Bib}
\begin{thebibliography}{}
\bibitem[Author, 1942]{Paper}
Author. B.
\newblock The great result.
\end{thebibliography}
\end{frame}

\end{document}

-
Weird: citecolor=green works in article, but not in Beamer. Someone else might know a work around. –  Jubobs Mar 26 '13 at 0:02

You could redefine \@cite to locally change the link color:

\documentclass{beamer}

\hypersetup{
}

\makeatletter
\let\@mycite\@cite
\makeatother

\begin{document}

\begin{frame}
This is a great result~\cite{Paper}.
But this is a link to slide~\ref{Bib}.
\end{frame}

\begin{frame}{Bibliography}\label{Bib}
\begin{thebibliography}{}
\bibitem[Author, 1942]{Paper}
Author. B.
\newblock The great result.
\end{thebibliography}
\end{frame}

\end{document}


-

The above solution did not work for me. But I was successful by putting the following line in the preamble:

\let\oldcite=\cite
\renewcommand{\cite}[1]{\textcolor[rgb]{.7,.7,.7}{\oldcite{#1}}}

-
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Paul Gessler Mar 11 '14 at 22:10