Text Formattingenumitem | Restart a List

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

enumitem | Restart a List

Post by ghostanime2001 »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by Stefan Kottwitz »

Here's an example, where you can see the effect:

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}
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
LaTeX.org admin
Post Reply