I have some question concerning the \setbeamercolor{<element>}{local structure}
in beamer:
In presentations I use to give full bibliographic references directly on the concerning slide via the \fullcite
command of biblatex. The colorscheme of the references can be manipulated for example by \setbeamercolor{bibliography entry author}{<color definition>}
. My problem is that I use citations in different elements with different colorization -- for example on the pure white background and in blocks with dark background and bright text colour. Therefore I want the colours of the bibliography elements to change according to the colorscheme in which they are used.
As far as I understand the beameruserguide this is exactly the use case for which the "local structure" style element is designed. If I set the colour of some element to "local structure" it works as intended and changes the colour according to the parent element (compare example code below). However, at the same time I get a Package xcolor Error: Undefined color
local structure'.` error, which makes me think that this seems to be not the right way to use this local structure thing.
Does anyone know how to get this in a clean manner without errors for every citation?
\begin{filecontents}{test.bib}
@ARTICLE{Test,
author = {Any Author},
title = {A title},
journal = {Random Journal},
year = {1989},
volume = {23},
pages = {13-23}
}
\end{filecontents}
\documentclass{beamer}
\usepackage[]{biblatex}
\bibliography{test}
\begin{document}
\begin{frame}
\begin{itemize}
\item default color:\\
\fullcite{Test}\\
\item default color alerted:\\
\alert{\fullcite{Test}}\\
\end{itemize}
\setbeamercolor{bibliography entry author}{fg=local structure}
Set color for author entry to "local structure"\\
\begin{itemize}
\item local structure:\\
\fullcite{Test}\\
\item local structure alerted:\\
\alert{\fullcite{Test}}
\end{itemize}
\end{frame}
\end{document}
My TeX system: Texlive2012 pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) beamer.cls 2011/09/12 development version 3.21 A class for typesetting pre sentations (rcs-revision 70f9d8411e54)
backend=bibtex
to the biblatex package call and use standard bibtex