12

I've tried the equivalent of the question Resuming a list when the two enumerate environments are on two different frames, but compiler will complain.

I.e.

\begin{frame}
\frametitle{A Survey of Computer Vision}
\framesubtitle{Fundamental Tasks of Computer Vision I}

\begin{enumerate}

\item one

\end{enumerate}

\end{frame}

\begin{frame}
\frametitle{A Survey of Computer Vision}
\framesubtitle{Fundamental Tasks of Computer Vision II}

\begin{enumerate}[resume]

\item two    
\end{enumerate}

\end{frame}

produced the following error:

! TeX capacity exceeded, sorry [grouping levels=255].
\labelenumi ->{
\labelenumi }
l.255 \end{frame}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

What is the correct way of doing so?

Thanks in advance

  • Note that also the second solution proposed in here won't work... – Matteo Dec 4 '12 at 17:56
  • enumitem and beamer doesn't like each other. tex.stackexchange.com/questions/31505/… – percusse Dec 4 '12 at 18:03
  • @percusse - I c...and so, in my particular case what should I do?redefine the enumerate command? – Matteo Dec 4 '12 at 18:15
12

This works for me:

\newcounter{sauvegardeenumi}
\newcommand{\asuivre}{\setcounter{sauvegardeenumi}{\theenumi}}
\newcommand{\suite}{\setcounter{enumi}{\thesauvegardeenumi}}

\begin{frame}
\frametitle{A Survey of Computer Vision}
\framesubtitle{Fundamental Tasks of Computer Vision I}

\begin{enumerate}

\item one

\asuivre

\end{enumerate}

\end{frame}

\begin{frame}
\frametitle{A Survey of Computer Vision}
\framesubtitle{Fundamental Tasks of Computer Vision II}

\begin{enumerate}

\suite

\item two    
\end{enumerate}

\end{frame}
  • thks...without including any particular package? – Matteo Dec 4 '12 at 18:20
  • works!thk you!can you please explain me why is it working?setting a global counter solved the problem or what else? – Matteo Dec 4 '12 at 18:22
  • 1
    This is standard LaTeX : creating a counter, saving the enumerate counter to it when needed then resuming from it. – Marc Baudoin Dec 4 '12 at 21:00
  • To use this beyond two frames :: tex.stackexchange.com/a/55001/18678 – Khaaba Aug 23 '17 at 6:04

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.