I help a student to write his PhD in LaTeX, and we face an issue regarding alignment. The Overfull \hbox (4.89952pt too wide)
are highlighted below with black square in draft mode
It seems that the alignment of the pages is limited to 999 and when me exceed 1000 pages, there is an issue.
How could we fix this?
PS: I don't know how to provide a MWE with such an amount of pages, if someone knows, please feel free to help.
\addtocounter{page}{1000}
to create a MWE.\renewcommand\@pnumwidth{2.5em}
(or whatever width you want)