# [texhax] Problem with eqn numbering above 1000

Vasudevan KS ksvnpd at gmail.com
Mon May 29 11:46:50 CEST 2017

``` Hi All,

There will be an overflow when the number of pages is more than 1000.
And we should write

\makeatletter
\renewcommand{\@pnumwidth}{2.0em}
\makeatother

to clear that overflow. Some strange things happens when the number of
equaitons is more than 1000.
Should we write something like

\makeatletter
\renewcommand{\@pnumwidth}{2.0em}
\makeatother

when the number of equations is more than 1000.
(The equation counter was set to 1001, so that all equation numbers
will have 4 digits.)