FormaTeX
FatalTypography & Layout

Counter Too Large

! LaTeX Error: Counter too large.

What this error means

A counter (typically a footnote number or enumerate item number) exceeded the maximum value that can be represented in the current format. Roman numerals and alphabetic lists have practical limits.

Common causes

  • More than 26 items in an enumerate list using alphabetic numbering
  • More than a few thousand footnotes in a document
  • A counter manually set to a very large value

How to fix it

For long alphabetically-numbered lists, switch to numeric numbering using the enumitem package. For footnote overflow, use \setcounter{footnote}{0} periodically, or switch to endnotes with the endnotes package.

Code examples

Causes the error
\documentclass{article}
\usepackage{enumitem}
\begin{document}

\begin{enumerate}[label=\alph*)]
  % ... 27 or more items ...
\end{enumerate}

\end{document}
Fixed
\documentclass{article}
\usepackage{enumitem}
\begin{document}

\begin{enumerate}[label=\arabic*.]
  % Numeric — no practical upper limit
\end{enumerate}

\end{document}

Related errors

Test the fix live

Paste your LaTeX into the playground and compile instantly.

One quick thing

We track anonymous usage — page views, feature usage, compilation events — to understand what works and what doesn't. No ads, no personal data, no third-party sharing.

Cookie policy