Page numbering "‹_n_› of ‹_m_›"

Finding the page number of the last page of a document, from within the document, is somewhat tricky. The lastpage and zref-lastpage packages define a label LastPage whose number is right (after sufficiently many passes through LaTeX, of course). The memoir class also defines a “last page” label.

The documentation of the fancyhdr package spells out exactly how one might actually use this information to produce page numbering as suggested in the question.

Source: Page numbering "‹_n_› of ‹_m_›"

composition/texte/pages/numeroter_les_pages_avec_n_de_m.txt · Dernière modification: 2018/12/04 00:48 par jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0