3

This question already has an answer here:

I would like to change the normal text color in a beamer frame with different colors for different frames. In the following example, the frame title color seems to change correctly, but not the normal text color.

\documentclass{beamer}

\title{Example}

\setbeamercolor{normal text}{fg=green}
\setbeamercolor{frametitle}{fg=green}

\begin{document}

\setbeamercolor{normal text}{fg=red}
\setbeamercolor{frametitle}{fg=red}
\begin{frame}
  \frametitle{Red Title}
  Some text in red
\end{frame}

\setbeamercolor{normal text}{fg=blue}
\setbeamercolor{frametitle}{fg=blue}
\begin{frame}
  \frametitle{Blue Title}
  Some text in blue
\end{frame}

\end{document}

page 1 page 2

marked as duplicate by Ignasi, Andrew, Mico, Malipivo, Henri Menke Apr 16 '15 at 8:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Try \usebeamercolor[fg]{normal text} after \setbeamercolor{...} etc – user31729 Apr 15 '15 at 16:46
  • That seems to work. Why doesn't this get applied automatically? – oneself Apr 15 '15 at 17:42
3

Formalizing based on Christian's comment as an answer.

I added \usebeamercolor[fg]{normal text} as following:

\setbeamercolor{normal text}{fg=red}
\setbeamercolor{frametitle}{fg=red}
\usebeamercolor[fg]{normal text}
\begin{frame}
  \frametitle{Red Title}
  Some text in red
\end{frame}

Not the answer you're looking for? Browse other questions tagged or ask your own question.