Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I change the footnote color in Beamer using \setbeamercolor{footnote}{fg=blue}, I end up also inadvertently changing the normal text color on all other slides. To make things even stranger, the normal text is correct only on slides that have footnotes. The following example demonstrates my problem:

\documentclass{beamer}
\setbeamercolor{footnote}{fg=blue}

\begin{document}
\begin{frame}
It seems like adding a footnote\footnote{Like this} will cause the normal text of subsequent slides to inherit the footnote's color.
\end{frame}

\begin{frame}
See? This text is now blue.
\end{frame}

\begin{frame}
Invoking another footnote\footnote{like this} will cause the fonts to return to normal color, at least for this slide.
\end{frame}

\begin{frame}
    But this text will again be blue (the color of the footnotes)!
\end{frame}

\end{document}

I'm using MacTex 2010.

share|improve this question
1  
This seems to be a bug in beamer. You should report it at bitbucket.org/rivanvx/beamer so that it will hopefully get resolved in the next version. –  Caramdir Jan 4 '11 at 18:20

3 Answers 3

it looks like a bug ... but this should help

\documentclass{beamer}
\setbeamercolor{footnotemark}{fg=blue}
\setbeamertemplate{footnote}{%
\parindent 1em\noindent%
  \raggedright
  \hbox to 1.8em{\hfil\insertfootnotemark} 
  \textcolor{blue}{\insertfootnotetext}\par}
...
share|improve this answer

Make it local per frame.

\documentclass{beamer}
%{\setbeamercolor{footnote}{fg=blue}}

\begin{document}
\begin{frame}
\setbeamercolor{footnote}{fg=blue}
It seems like adding a footnote\footnote{Like this} will cause the normal text of subsequent slides to inherit the footnote's color.
\end{frame}

\begin{frame}
See? This text is now blue.
\end{frame}

\begin{frame}
\setbeamercolor{footnote}{fg=blue}
Invoking another footnote\footnote{like this} will cause the fonts to return to normal color, at least for this slide.
\end{frame}

\begin{frame}
    But this text will again be blue (the color of the footnotes)!
\end{frame}

\end{document}
share|improve this answer

Well... redefine the template

\documentclass{beamer}

\setbeamercolor{footnote mark}{fg=green} % the mark (1, 2, ...)
\setbeamertemplate{footnote}{\mbox{ \insertfootnotemark \textcolor{red}{ \insertfootnotetext}}} 
%  local use of a color (its not so beamer like but works)

\begin{document}

\frame{\frametitle{One}

some text in black
 \footnote{don´t use red!}
red and green footnote

}

\frame{
\frametitle{Two}

not red

}
\end{document}
share|improve this answer
    
works only for short footnotes ... \mbox doesn't allow a linebreak –  Herbert Jan 5 '11 at 15:57
    
Sure you could use \setbeamertemplate{footnote}{ \strut \insertfootnotemark \textcolor{red}{ \insertfootnotetext}} instead. –  bloodworks Jan 5 '11 at 16:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.