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'd like to do the following enumeration in beamer;

1. First Item
2. Second Item
3. Third Item
3'. Alternative Version of Third Item.

However, if I do this:

  \begin{enumerate}
    \item First Item
    \item Second Item
    \item Third Item
    \item[3'] Alternative Third Item
  \end{enumerate}

then the last item doesn't appear with the usual bullet style.

enter image description here

Help? Thanks!

share|improve this question
    
What do you mean by 'alternative' item? An overlay? –  Christian Hupfer Feb 19 at 16:30
    
\item[something] is exactly the command to replace the 'standard' bullet –  Christian Hupfer Feb 19 at 16:38
    
I just want the next item numbered with "3'" instead of "4", but I would like to keep the enumeration style. –  DED Feb 19 at 16:40
    
Thank you Christian but I would also like to keep the formatting of the bullets. Just doing \item[3'] doesn't do it (see picture above). It's in latex beamer. –  DED Feb 19 at 16:44
    

2 Answers 2

The following solution is independent of the theme used and will always produced the appropriate format for the items in the first level of enumerate (the minipages in the example are just for brevity and are not relevant for the solution):

\documentclass{beamer}
\usetheme{Warsaw}
\usepackage{etoolbox}

\newcommand\Pitem{%
  \addtocounter{enumi}{-1}%
  \renewcommand\theenumi{\arabic{enumi}'}%
  \item%
  \renewcommand\theenumi{\arabic{enumi}}%
}

\begin{document}

\begin{frame}
\begin{minipage}{.5\linewidth}
\begin{enumerate}
\item First.
\item Second.
\item Third.
\Pitem Third prime.
\item Fourth.
\item Fifth.
\item Sixth.
\Pitem Sixth prime.
\item Seventh.
\end{enumerate}
\end{minipage}%
\begin{minipage}{.5\linewidth}
\setbeamertemplate{enumerate item}[square]
\begin{enumerate}
\item First.
\Pitem First prime.
\item Second.
\item Third.
\item Fourth.
\Pitem Fourth prime.
\item Fifth.
\item Sixth.
\item Seventh.
\end{enumerate}
\end{minipage}%
\end{frame}

\end{document}

enter image description here

Use \Pitem for the item(s) that will be "primed".

share|improve this answer

I copied the bullet format, but I just faked the itemize format.

\documentclass{beamer}
\usetheme{Warsaw}

\newcommand{\myitem}[1]% #1 = text inside bullet
{
  \par\vspace{3pt}\hspace*{-15pt}%
  \begin{pgfpicture}{-1ex}{-0.65ex}{1ex}{1ex}
    \usebeamercolor[fg]{item projected}
    {\pgftransformscale{1.75}\pgftext{\normalsize\pgfuseshading{bigsphere}}}
    {\pgftransformshift{\pgfpoint{0pt}{0.5pt}}
      \pgftext{\usebeamerfont*{item projected}#1}}
  \end{pgfpicture}%
  \hspace{1pt}%
}

\begin{document}

\begin{frame}
\begin{enumerate}
  \item first
  \myitem{1'} alternate
  \item second
\end{enumerate}
\end{frame}

\end{document}

enumerate

share|improve this answer

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.