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.

I am trying to figure out how to change the coloring of enumerations in Beamer using the Theme 'Berlin'. I was able to change the color of the Itemize environment by:

    \setbeamercolor{itemize item}{fg=TAMIU}

Also I was able to change the color of the Table of Content enumeration by:

    \setbeamercolor{section number projected}{bg=TAMIU,fg=white}

But non of these two approaches work for the enumeration:

    \setbeamercolor{enumerate item}{fg=TAMIU}
    \setbeamercolor{enumerate number projected}{bg=Tamiu,fg=white}

So how can I do this?

share|improve this question
    
Hi Martin, Welcome to TeX.SE! I edited your post to remove the thanks- it may seem strange, but the best way to thank people is to 'upvote' and accept appropriate answers :) It's generally best to provide a complete MWE so that folks don't have to re-create your problem from scratch. –  cmhughes Oct 29 '11 at 20:03

2 Answers 2

up vote 7 down vote accepted

There is no enumerate number projected template. Try instead

\setbeamercolor{item projected}{fg=white,bg=TAMIU}

which will also take care of section number projected in one go.

share|improve this answer
    
That is exactly, what I have been looking for, thank you so much! –  Skrodde Oct 31 '11 at 16:37

You can change the color by using a copy of the definition of the enumerate item template for the square option, as given in the file beamerbaseauxtemplates.sty. A little example:

\documentclass{beamer}
\usetheme{Berlin}

\setbeamertemplate{enumerate item}
{
  \hbox{%
    \usebeamerfont*{item projected}%
    \usebeamercolor[olive!30]{item projected}% original: [bg]
    \vrule width2.25ex height1.85ex depth.4ex%
    \hskip-2.25ex%
    \hbox to2.25ex{%
      \hfil%
      \color{red!60!black}\insertenumlabel% original: [fg]
      \hfil}%
  }%
}

\begin{document}

\begin{frame}
\begin{enumerate}
  \item First.
  \item Second.
\end{enumerate}
\end{frame}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

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

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