14

I'm showing my references at the end of my beamer presentation.

\documentclass[compress]{beamer}

\begin{document}
\frame{
     \begin{thebibliography}{1}\scriptsize
        \bibitem{Test} Test, Me, 2015.
     \end{thebibliography}
}

\end{document}

I'd like to change the color of every whole \bibitem line to something else, black for example. How can I do that without affecting the rest of my presentation? I've been looking and Googling for hours, but I can't find a way to do it. I tried things like

\setbeamercolor{structure}{fg=black}

and

\setbeamercolor{bibliography item}{fg=black}

but the first one changes about my whole colour palette and the second one doesn't do anything. What am I missing?

1
  • 1
    Try with bibliography entry author, bibliography entry title, bibliography entry location and bibliography entry note beamer-template/font/color... Jan 28, 2015 at 5:29

1 Answer 1

23

The colour of a bibitem can be set separately for the author, the title and additional fields like location or note.

\documentclass{beamer}

\setbeamercolor{bibliography entry author}{fg=red}
\setbeamercolor{bibliography entry title}{fg=blue} 
\setbeamercolor{bibliography entry location}{fg=green} 
\setbeamercolor{bibliography entry note}{fg=cyan}  

\begin{document}

    \begin{frame}{Example bibliography}
        \begin{thebibliography}{3}
            \bibitem[{Alpher} et~al.(1948) {Alpher}, {Bethe}, \& {Gamow}]{paper}
            Alpher, R. A., Bethe, H. \& Gamow, G. 
            \newblock{The Origin of Chemical Elements}.
            \newblock{\emph{Phys. Rev.}, 73:\penalty0 803--804, Apr. 1948.}
            \newblock{doi: 10.1103/PhysRev.73.803}
        \end{thebibliography}
    \end{frame}

\end{document}

enter image description here

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .