diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-nofm.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-nofm.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-nofm.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-nofm.html new file mode 100644 index 00000000000..311acf2188a --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-nofm.html @@ -0,0 +1,20 @@ +<head> +<title>UK TeX FAQ -- question label nofm</title> +</head><body> +<h3>Page numbering “<<i>n</i>> of <<i>m</i>>”</h3> + +<p/>Finding the page number of the last page of a document, from within +the document, is somewhat tricky. The <i>lastpage</i> package is +therefore supplied to make life easy for us all; it defines a label +<code>LastPage</code> whose number is <em>right</em> (after sufficiently many +passes through LaTeX, of course). The <i>memoir</i> class also +defines a “last page” label. +<p/>The documentation of the <i>fancyhdr</i> package spells out exactly +how one might actually use this information to produce page numbering +as suggested in the question. +<dl> +<dt><tt><i>fancyhdr documentation</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/fancyhdr.zip">macros/latex/contrib/fancyhdr</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/fancyhdr.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/fancyhdr/">browse</a>) +<dt><tt><i>lastpage.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/lastpage.zip">macros/latex/contrib/lastpage</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/lastpage.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/lastpage/">browse</a>) +</dl> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nofm">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nofm</a> +</body> |