2

How to change the colour of the ball in which the item numbers are written?. Help me please.

enter image description here

2
  • Help out the community by posted a minimal document that replicates your current state... Pretty please?
    – Werner
    Commented Apr 16, 2015 at 1:35
  • Sorry. That's not how this site works. Please provide the code which you use to produce the image and somebody will show you how to change the colour. Why should we start from scratch when you already have the code for the image? (And if you didn't, you could still provide something.) See how to create a minimal working example (MWE).
    – cfr
    Commented Apr 16, 2015 at 1:37

2 Answers 2

5

Those colours are taken from item projected so use

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

MWE

\documentclass{beamer}
\usetheme{CambridgeUS}
\setbeamercolor{item projected}{fg=white,bg=red}
\begin{document}
  \begin{frame}
  \begin{enumerate}
    \item one
    \item two
    \item three
  \end{enumerate}
  \end{frame}
\end{document}

enter image description here

1
  • @LuisRivera And next time please provide a MWE :-)
    – user11232
    Commented Apr 16, 2015 at 2:04
2

The origin of this code is different, but - maybe - can help you:

\documentclass[ignorenonframetext]{beamer}
\usepackage{graphicx}
\newcommand{\gooditem}[1]{\setbeamercolor{item}{fg=green}\item #1} 
\newcommand{\pooritem}[1]{\setbeamercolor{item}{fg=red}\item #1} 
\begin{document}
\begin{frame}
  \begin{itemize}
    \gooditem good
    \pooritem bad
  \end{itemize}
\end{frame}
\end{document}

Result

3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .