![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
4 Sep
2023
4 Sep
'23
10:41 a.m.
On 9/4/23 18:09, Jeroen wrote:
The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1?
Hi Jeroen, this might do the work (LMTX only): [\pagenumber{} of \the\numexpr{\totalnumberofpages - 1}] For MkIV, you would need: [\pagenumber{} of \the\numexpr\totalnumberofpages - 1\relax] Just in case it helps, Pablo