Guenter Milde
2008-11-23 19:38:02 UTC
Resuming an emumeration is possible with the mdwlist package.
Example::
\documentclass{article}
\usepackage{mdwlist}
\begin{document}
\begin{enumerate}
\item first
\item list
\suspend{enumerate}
regular text
\resume{enumerate}
\item resumed
\end{enumerate}
\end{document}
yields:
1. first
2. list
regular text
3. resumed
However, I wonder whether it is possible to define an alternative
enumeration environment to get the same result (i.e. start with the next
number from the last enumeration of the same depth), like
\begin{enumerate}
\item first
\item list
\end{enumerate}
regular text
\begin{enumerate*}
\item resumed
\end{enumerate*}
Looking at latex.ltx, it seems like the enum* counters are not reset at
the end of the enumerate environment. So, maybe an enumerate* variant
could use them without resetting first...
Günter
Example::
\documentclass{article}
\usepackage{mdwlist}
\begin{document}
\begin{enumerate}
\item first
\item list
\suspend{enumerate}
regular text
\resume{enumerate}
\item resumed
\end{enumerate}
\end{document}
yields:
1. first
2. list
regular text
3. resumed
However, I wonder whether it is possible to define an alternative
enumeration environment to get the same result (i.e. start with the next
number from the last enumeration of the same depth), like
\begin{enumerate}
\item first
\item list
\end{enumerate}
regular text
\begin{enumerate*}
\item resumed
\end{enumerate*}
Looking at latex.ltx, it seems like the enum* counters are not reset at
the end of the enumerate environment. So, maybe an enumerate* variant
could use them without resetting first...
Günter