[texhax] Problem with eqn numbering above 1000

Lars Madsen daleif at math.au.dk
Mon May 29 14:45:12 CEST 2017


We are going to need some example code on that one

This has no issues what so ever

\documentclass[a4paper]{article}
\begin{document}
\setcounter{equation}{999}
\begin{equation}
  a  
\end{equation}
\begin{equation}
  a  
\end{equation}
\end{document}



/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@math / More information: http://au.dk/en/daleif@math


________________________________________
From: texhax <texhax-bounces at tug.org> on behalf of Vasudevan KS <ksvnpd at gmail.com>
Sent: 29 May 2017 11:46
To: support at tug.org
Subject: [texhax] Problem with eqn numbering above 1000

 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.)

Thanks in advance.


Vasudevan KS
_______________________________________________
TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org



More information about the texhax mailing list