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.

Une chose rapide

Nous suivons l'utilisation anonyme — pages vues, utilisation des fonctionnalités, événements de compilation — pour comprendre ce qui fonctionne et ce qui ne fonctionne pas. Pas de publicité, pas de données personnelles, pas de partage avec des tiers.

Politique de cookies