LaTeX error "Counter too large": cause and fix

Error Counter too large

A counter is printed in a format that has run out of signs. Letters end at 26 (\alph, \Alph), and footnote symbols end at 9 (\fnsymbol).

Why it happens

How to fix it

A document that produces the message

\documentclass{article}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\begin{document}
One\footnote{1} two\footnote{2} three\footnote{3} four\footnote{4}
five\footnote{5} six\footnote{6} seven\footnote{7} eight\footnote{8}
nine\footnote{9} ten\footnote{10}
\end{document}

Open in the editor

The corrected document

\documentclass{article}
\renewcommand{\thefootnote}{\arabic{footnote}}
\begin{document}
One\footnote{1} two\footnote{2} three\footnote{3} four\footnote{4}
five\footnote{5} six\footnote{6} seven\footnote{7} eight\footnote{8}
nine\footnote{9} ten\footnote{10}
\end{document}

Open in the editor

Both documents were compiled with pdfLaTeX from TeX Live 2023. The first produces the message, the second compiles without an error.

Finding the line in the editor

The editor lists every error and warning of a compile run with file and line. Select an entry and the cursor jumps to that line. See Error list with jump to the line.

Related pages