Ad Code

Responsive Advertisement

How To Continue Numbering in Enumerate From Previous List?

To pause and resume, enumerate using following (taken from a website and works wonderfully)

\newcounter{tempcounter}

\begin{document}

\begin{enumerate}
\item first;

\item second;
\setcounter{tempcounter}{\value{enumi}}
\end{enumerate}

This is a paragraph.

\begin{enumerate}
\setcounter{enumi}{\value{tempcounter}}
\item third;

\item and so on...
\end{enumerate}
\end{document}

Remember, \newcounter{tempcounter} goes before \begin{document}

Post a Comment

0 Comments