Tx · LaTeX & TikZ

How to Continue Numbering Sentences and Tables in LaTeX

Published By the 9to5Science editorial team

At a glance

  1. 1. Choose the sequence

    Decide whether you want one numbered list or standard table captions with their own numbering.

  2. 2. Mark the list series

    Use enumitem's series option on the first enumerate environment.

  3. 3. Resume the list

    Use resume with the same series name in a later enumerate environment.

  4. 4. Put tables in the list

    Make a table a list item if it must count as one numbered entry.

To continue numbering sentences across separate enumerate environments, use the enumitem package’s series option on the first list and resume with the same series name on the next. The numbering continues even if text or a table appears between the lists.

A table caption normally has its own counter, separate from an enumerate list. If the table itself must count as one entry in the sentence sequence, make it an \item and place its tabular content there. The examples below show both approaches.

Continue numbering across lists

Load enumitem, give the first list a series name, and resume that series where you want the next number to appear:

\documentclass{article}
\usepackage{enumitem}

\begin{document}

\begin{enumerate}[label=\arabic*., series=statements]
  \item The first statement.
  \item The second statement.
\end{enumerate}

Some explanatory text can go here. A table can also appear here.

\begin{enumerate}[label=\arabic*., resume=statements]
  \item The third statement.
  \item The fourth statement.
\end{enumerate}

\end{document}

The second list starts at 3. The series=statements option records which list to continue; resume=statements resumes that sequence. Use the same label format in both environments if you want the numbering to look the same.

For two consecutive lists with no other list of the same type in between, resume without a series name can also be sufficient. A named series is clearer and safer when the document contains several separate lists.

Count a table as one entry

If the table must occupy a number in the same sequence as the sentences, put it inside an \item. The next item then gets the next number automatically:

\documentclass{article}
\usepackage{enumitem}

\begin{document}

\begin{enumerate}[label=\arabic*., series=sequence]
  \item This is the first sentence.
  \item This is the second sentence.
  \item The next entry is a table:
    \begin{center}
      \begin{tabular}{c|c}
        Item & Value \\
        \hline
        A    & 10 \\
        B    & 20
      \end{tabular}
    \end{center}
\end{enumerate}

\begin{enumerate}[label=\arabic*., resume=sequence]
  \item This is the next sentence after the table.
\end{enumerate}

\end{document}

Here the table content is entry 3, and the following sentence is entry 4. This uses a tabular inside the list rather than a floating table environment. A float may move elsewhere on the page, making it harder to read as part of a numbered sequence.

Keep normal table numbering separate

If you mean that sentences should continue numbering while ordinary tables retain captions such as “Table 1” and “Table 2,” use the resumed list for the sentences and standard table environments for the tables. These are independent numbering systems by default; a table appearing between two lists does not reset the list.

For example, a floating table can go between the two enumerate environments in the first example. The next sentence still resumes at 3, while the caption uses the document’s table counter. This is usually the best choice for tables that need a list of tables, cross-references, or normal floating placement.

Common mistakes

  • Expecting a table caption to advance the list counter. The table counter and the enumerate counter are separate. Use a table as an \item only when it should be part of the list itself.
  • Using different series names. series=statements and resume=other refer to different sequences, so the latter will not continue the former.
  • Assuming a floating table stays between list entries. LaTeX may move floats. Use inline tabular content when the table must remain in sequence, or accept that the captioned float is separate from the list.
  • Using an unnumbered list by accident. Options such as label=\alph*. change the label style; label=\arabic*. gives ordinary Arabic numerals.

In short, enumitem handles continued list numbering, while table captions have their own numbering unless you deliberately make the table content a numbered list item.

References

  1. enumitem package documentation

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.