Resuming in enumerate with roman numerals

I want to suspend and resume an enumerated list, with Roman numerals. I am using the enumerate and mdwlist packages and have the following:

\begin{enumerate}[I]
\item Item
\item Item
\suspend{enumerate}
Text in between...
\resume{enumerate}
\item Item
\item Item
\end{enumerate}


But the way it comes out is that the first two items (before suspending) are numbered I and II (as desired), and the second two items (after resuming) are numbered 3 and 4. How do I get those to be numbered III and IV?

-
Welcome to TeX.sx! –  Peter Jansson Mar 3 '13 at 16:21

As the documentation of mdwlist shows, you need to repeat the optional argument to enumerate in this situation; it needs a couple of extra level of brackets:

\documentclass{article}

\usepackage{enumerate,mdwlist}

\begin{document}
\begin{enumerate}[I]
\item Item
\item Item
\suspend{enumerate}
Text in between...
\resume{enumerate}[{[I]}]
\item Item
\item Item
\end{enumerate}
\end{document}


Alternatively you can used the enumitem package with the shortlabels option to get the same syntax for specifying labels in enumerate and use its resume* option for the resumed list.

\documentclass{article}

\usepackage[shortlabels]{enumitem}

\begin{document}
\begin{enumerate}[I]
\item Item
\item Item
\end{enumerate}
Text in between...
\begin{enumerate}[resume*]
\item Item
\item Item
\end{enumerate}
\end{document}

-
Ah, I see. Couldn't find that in the documentation! Thanks. –  Sam Mar 3 '13 at 16:16
Its page 5, just before the Implementation section. –  Andrew Swann Mar 3 '13 at 16:16