If your LaTeX list restarts from 1 but you want a custom number, don’t worry.
With simple tricks, you can control and continue numbering smoothly.
Table of Contents
Understanding Basic Enumeration Behavior
Before changing numbering, it is important to understand how LaTeX handles lists by default. The enumerate environment automatically starts from 1 and increments sequentially.
\begin{enumerate}
\item First item
\item Second item
\item Third item
\end{enumerate}
This produces a clean numbered list starting from 1. However, real documents often require more control.
Start Enumeration from a Custom Number
Sometimes, you may need to begin numbering from a specific value, especially when continuing a previous list. In such cases, the enumitem package is very helpful.
\begin{enumerate}[start=number]
start- Defines the number from which the list should begin.
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[start=5]
\item First item
\item Second item
\item Third item
\end{enumerate}
\end{document}
As a result, the list starts from 5 instead of 1. Therefore, this method is ideal for continuing numbering across sections.
Control Numbering Using \setcounter
If you prefer not to use extra packages, you can manually set the counter value. This method works well for built-in LaTeX control.
\setcounter{counter_name}{value}
counter_name- The specific counter, such as
enumifor first-level lists. value- The number you assign before the first item appears.
\documentclass{article}
\begin{document}
\begin{enumerate}
\setcounter{enumi}{2}
\item First item
\item Second item
\item Third item
\end{enumerate}
\end{document}
Here, the counter is set to 2, so numbering begins from 3. In addition, this approach gives precise control without extra dependencies.
Adjust Numbering with \addtocounter
Instead of setting a fixed value, you can increase or decrease the current counter dynamically. This is useful when modifying existing lists.
\addtocounter{counter_name}{value}
counter_name- The counter you want to modify, such as
enumi. value- The number added (or subtracted if negative).
\documentclass{article}
\begin{document}
\begin{enumerate}
\addtocounter{enumi}{3}
\item First item
\item Second item
\item Third item
\end{enumerate}
\end{document}
As shown, adding 3 shifts the starting number forward. Therefore, this method is flexible for incremental adjustments.
Working with Nested Enumerations
In many documents, you need multiple levels of lists. LaTeX supports nested enumerate environments easily.
\begin{enumerate}
\begin{enumerate}
enumi- First-level list counter.
enumii- Second-level list counter.
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label=\arabic*.]
\item First item
\begin{enumerate}[label=\alph*.]
\setcounter{enumii}{2}
\item First sub-item
\item Second sub-item
\end{enumerate}
\item Second item
\end{enumerate}
\end{document}
Here, the outer list uses numbers, while the inner list uses letters. Moreover, you can control each level independently.
FAQs
How do I start numbering an enumeration from a specific number in LaTeX?
To start numbering an enumeration from a specific number, use the \setcounter command with the enumerate environment. Set the counter value to the desired starting number minus one.
Can I continue an enumeration from a previous list in LaTeX?
Yes, you can use the resume option provided by the enumitem package to continue numbering from a previous list.
How can I increase the enumeration counter by a specific number in LaTeX?
To increase the enumeration counter by a specific number, use the \addtocounter command with the appropriate counter name and value.
How do I start a nested enumeration from a specific number?
For nested enumerations, set the starting number for the appropriate level using \setcounter. For example, use {value-1} for the second level.\setcounter{enumii}
What packages are needed to customize list numbering in LaTeX?
The enumitem package is commonly used to customize list numbering in LaTeX. It provides various options such as start, resume, and resume* for controlling enumeration.
Conclusion
Controlling LaTeX enumeration is essential when working with structured documents. Whether you use start, \setcounter, or \addtocounter, each method offers flexibility.
Therefore, choose the approach based on your document needs and complexity.
Jidan
LaTeX enthusiast and physics educator who enjoys explaining mathematical typesetting and scientific writing in a simple way. Writes tutorials to help students and beginners understand LaTeX more easily.