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.

How can I produce bullets like

enter image description here

as they are used in beamer with itemize environments? I want to use them in the text not just for itemizations. Note: I would like the bullets not just to look more or less like the beamer itemize bullets but they should look identical in colour, shape, and size!

share|improve this question
    
which theme are you using to get that style of bullet? \labelitemi should give you the commands used for a first level itemize. –  David Carlisle Nov 25 '12 at 14:33
    
Just the standard theme together with \usepackage{beamerthemeshadow} ... \labelitemi gives error undefined control sequence !?! –  lpdbw Nov 25 '12 at 14:40
    
sorry beamer doesn't follow the standard latex usage here, see the code in my answer which will use whichever bullet the beamer theme is using. –  David Carlisle Nov 25 '12 at 14:44

3 Answers 3

up vote 9 down vote accepted
\documentclass{beamer}

\makeatletter
\newcommand\mysphere{%
  \parbox[t]{10pt}{\raisebox{0.2pt}{\beamer@usesphere{item projected}{bigsphere}}}}
\makeatother

\begin{document}

\begin{frame}
\mysphere test
\end{frame}

\end{document}

enter image description here

share|improve this answer

It seems beamer doesn't define \labelitemi but

 \csname @itemlabel\endcsname

works.

share|improve this answer
    
Yep! Thanks. Could you briely explain the code? –  lpdbw Nov 25 '12 at 14:44
1  
Beamer uses \@itemlabel to make the label and then each theme defines that do whatever kind of marker it wants. the csname usage just means you don't need @ to be a letter, better to go \makeatletter\def\mybullet{\@itemlabel}\makeatother in the preamble so you can use \mybullet without worrying about @. –  David Carlisle Nov 25 '12 at 14:48
    
Thx, but still a problem. Try this: \documentclass{beamer} \usepackage{beamerthemeshadow} \usepackage{xspace} \newcommand{\beamerbullet}{\makeatletter\def\mybullet{\@itemlabel}\makeatother\x‌​space} \begin{document} \beamerbullet abc\\ \beamerbullet cde \end{document} It won't produce any bullets!? –  lpdbw Nov 25 '12 at 14:51
2  
@lpdbw Don't use \makeat* inside of \newcommand. Wrap it around: \makeatletter\newcommand*\beamerbullet{\@itemlabel}\makeatother. –  Qrrbrbirlbel Nov 25 '12 at 15:12

This (beamer-specific) solution works as well, and without @ :

\documentclass{beamer}

\begin{document}

\begin{frame}

\setbeamertemplate{itemize item}[ball] % Probably already provided by your theme

This is the bullet : \usebeamertemplate{itemize item}{}.

\end{frame}

\end{document}

Bullet

share|improve this answer
    
Yes, it's already provided by my theme! –  lpdbw Nov 25 '12 at 15:01

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.