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 have redefined the color of my exampleblocks using the following code"

\definecolor{trueblue}{RGB}{0, 115, 197}
\setbeamercolor*{block title example}{bg=trueblue}

However, the bullets within the exampleblocks still appear in the default green color. I experimented with perturbation of:

\setbeamercolor{block itemize item example}{fg= trueblue}

but nothing seems to work.

Any help would be greatly appreciated! Thank you!

share|improve this question

1 Answer 1

Set the itemize item color:

\setbeamercolor{itemize item}{fg=trueblue}

If the change must apply only inside the exampleblock environment, you can use the etoolbox package and its \AtBeginEnvironment:

\documentclass{beamer}
\usepackage{etoolbox}

\definecolor{trueblue}{RGB}{0, 115, 197} 
\setbeamertemplate{itemize items}[circle]
\setbeamercolor*{block title example}{bg=trueblue}
\AtBeginEnvironment{exampleblock}{\setbeamercolor{itemize item}{fg=trueblue}}

\begin{document}

\begin{frame}

\begin{exampleblock}{Test}
\begin{itemize}
\item First item.
\end{itemize}
\end{exampleblock}

\end{frame}

\end{document}

enter image description here

For second and third level itemize environments you will also need

\setbeamercolor{itemize subitem}{fg=trueblue}
\setbeamercolor{itemize subsubitem}{fg=trueblue}
share|improve this answer
    
Thank you!! Works nicely! –  George Sep 27 '12 at 7:15

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.