3

I was wondering if there is a way to get the itemize bullet symbol defined by the theme in beamer. More precisely, I'd like to manually place the bullet symbol somewhere in the text.

One option is to look in the style file of the theme and place the appropriate mark manually (e.x. in default theme the bullet is a $\blacktriangleright$ and I can place the same symbol whenever I want -- I also have to take care of the color and size, ...) but in this case if I want to change the theme it will be a mess!

I believe there must be a better way to do this ...

Thanks,

2

You can use the appropriate template, font, and color`, to define a command; in this way you assure that your definition will honour the settings of the selected theme:

\documentclass{beamer}
\usetheme{Madrid}

\newcommand\Mitemitem{%
  \begingroup
  \leavevmode
  \usebeamerfont*{itemize item}%
  \usebeamercolor[fg]{itemize item}%
  \usebeamertemplate**{itemize item}%
  \endgroup
}
\newcommand\Mitemsubitem{%
  \begingroup
  \leavevmode
  \usebeamerfont*{itemize subitem}%
  \usebeamercolor[fg]{itemize subitem}%
  \usebeamertemplate**{itemize subitem}%
  \endgroup
}

\begin{document}

\begin{frame}
\Mitemitem\ AAA

\Mitemsubitem\ AAA
\end{frame}

\end{document}

enter image description here

The same code, but with the default theme gives

enter image description here

  • Thanks a lot Gonzalo! It works. The only issue is that in the second level of `itemize' (nested itemize) I get a bigger bullet (i.e. that of the first level). Could you please help me fix this? – kMaster Sep 25 '15 at 9:06
  • @ManiBastaniParizi Please see my updated answer. – Gonzalo Medina Sep 25 '15 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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