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 enumerate in a slide, I would like the beginning, including the bullet, of the 2nd and the 3rd \item shift a little bit on the right, compared to the 1st \item:

Item1
  Item2
  Item3

Does anyone know how to do this?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Here's a possible solution using nested enumerate environments and a redefinition of the enumerate subitem template to use the counter for the first level:

\documentclass{beamer}

\begin{document}

\begin{frame}

\begin{enumerate}
\item First item.
  \setbeamertemplate{enumerate subitem}{\insertsubenumlabel.\stepcounter{enumi}}
  \begin{enumerate} 
  \stepcounter{enumii}
  \item Second item.
  \item Third item.
  \end{enumerate}
\item Fourth item.
\end{enumerate}

\end{frame}

\end{document}

enter image description here

For the case of items with balls:

\documentclass{beamer}
\usetheme{Boadilla}

\begin{document}

\begin{frame}

\begin{enumerate}
\item First item.
\setbeamertemplate{enumerate subitem}
{
  \begin{pgfpicture}{-1ex}{-0.55ex}{1ex}{1ex}
    \usebeamercolor[fg]{subitem projected}
    {\pgftransformscale{1.75}\pgftext{\normalsize\pgfuseshading{bigsphere}}}
    \pgftext{%
      \usebeamerfont*{subitem projected}%
      \insertsubenumlabel\stepcounter{enumi}}
  \end{pgfpicture}%
}
  \begin{enumerate} 
  \stepcounter{enumii}
  \item Second item.
  \item Third item.
  \end{enumerate}
\item Fourth item.
\end{enumerate}

\end{frame}

\end{document}

enter image description here

share|improve this answer
    
This does not work when you use ball enumerations, the subitems are plain text, not balls. I tried looking through the beamer sources for the definition of the ball style, but no luck so far :( –  Tom Bombadil Aug 23 '12 at 1:01
    
@TomBombadil I updated my answer with this possibility; you find the definitions of the styles in beamerbaseauxtemplates.sty. –  Gonzalo Medina Aug 23 '12 at 1:14
    
Ah, thanks. I was sitting the last minutes thinking what the name of that neat tool for finding strings in all files in a directory was: grep, of cause ;) –  Tom Bombadil Aug 23 '12 at 1:16

I believe this should work with any style, but it does move only the first line of the item:

\documentclass{beamer}

\begin{document}

\begin{frame}

\begin{enumerate}
\item First item.
\addtolength{\itemindent}{1cm} % move right
\item Second item.
\item Third item.
\addtolength{\itemindent}{-1cm} % move left
\item Fourth item.
\end{enumerate}

\end{frame}

\end{document}
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.