enumitem
is incompatible with beamer
. You can either save the counter and re-use it later in the document, or use a \label
-\ref
approach for saving and restoring:
\documentclass{beamer}
\usetheme{Madrid}
\usepackage{refcount}
\begin{document}
\begin{frame}
\begin{enumerate}
\item one
\item two
\label{end-enumerate}% Save counter at end of enumerate
\end{enumerate}
\end{frame}
\begin{frame}
\begin{enumerate}
\setcounterref{enumi}{end-enumerate}
\item three
\end{enumerate}
\end{frame}
\end{document}
The above requires you to use a separate for each enumerate
list you want to "resume". If you're using this sequentially, then you can automate it to some extent:
\documentclass{beamer}
\usetheme{Madrid}
\usepackage{refcount}
\newcounter{saveenumi}
\newcommand{\saveenumerate}{%
\stepcounter{saveenumi}%
\label{saveenumi-\thesaveenumi}}
\newcommand{\restoreenumerate}{%
\setcounterref{enumi}{saveenumi-\thesaveenumi}}
\begin{document}
\begin{frame}
\begin{enumerate}
\item one
\item two
\saveenumerate
\end{enumerate}
\end{frame}
\begin{frame}
\begin{enumerate}
\restoreenumerate
\item three
\end{enumerate}
\end{frame}
\end{document}
beamer
also provides it's own frame-specific overlay specification. In your minimal example, you can use:
\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\begin{frame}
\begin{enumerate}
\item<-2> one
\item<2> two
\item<3> three
\end{enumerate}
\end{frame}
\end{document}
enumitem
is not compatible withbeamer
. So, if you want to "resume" a list that was started before, you'll have to manually set that up...