Text Formatting ⇒ enumitem | Restart a List
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
enumitem | Restart a List
How do I use \restartlist{<list-name>} with the package enumitem? It is not an environment, its a command... but where does this command go? and how can I see its effect?
Last edited by ghostanime2001 on Fri Jul 29, 2011 9:05 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
enumitem | Restart a List
Here's an example, where you can see the effect:
Without \restartlist{enumerate} the second list would start with number 3 because [resume] is used. With \restartlist{enumerate} it is restarted using number 1, overriding resume.
Stefan
Code: Select all
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
\item First item
\item Second item
\end{enumerate}
Some Text
\restartlist{enumerate}
\begin{enumerate}[resume]
\item Third item
\item Fourth item
\end{enumerate}
\end{document}
Stefan
LaTeX.org admin