Take the 2-minute tour ×

I am trying to set the background color of the numbers in numbered lists that appear in my example blocks in Beamer. I thought this would do it:

\setbeamercolor{item projected example}{fg=red, bg=yellow}

It does not work. In the example below, I would like to have the numbers "1" and "2" on a dark green background.


share|improve this question

1 Answer 1

up vote 3 down vote accepted

In the absence of a complete MWE it's hard to tell, but the following seems to produce what you want

enter image description here

The important line is

\setbeamertemplate{enumerate item}[square]

Note that the colour of the \item will change within the example block, but not outside of it.

Complete MWE

\setbeamertemplate{enumerate item}[square]

\begin{frame}{Inside an example}
    \item hello
    \item world

\begin{frame}{Outside example}
    \item one
    \item two
share|improve this answer
Thanks, that worked perfectly. It has greatly simplified my template too! –  Fr. Feb 17 '13 at 4:39
@gonzalomedina: While the answer by cmhughes shows the cleaner approach, your answer is more generic and just shows a different approach. I don't think it should be deleted. –  Daniel Feb 17 '13 at 8:25

Your Answer


