21 Jun
2011
21 Jun
'11
10:37 p.m.
Am 21.06.2011 um 22:30 schrieb Aditya Mahajan:
On Tue, 21 Jun 2011, Troy Henderson wrote:
I would like the footer of my document to read
Page X of Y
where X is the current page and Y is the total number of pages. Thoughts on how to accomplish this?
1.
\setuppagenumbering[location=footer, command=\PAGECOMMAND] \def\PAGECOMMAND#1{Page #1 of \lastpage}
\define[1]\PAGECOMMAND{Page #1 of \lastpage}
2. Or more directly
\setuppagenumbering[location=] \setupfootertexts[Page \currentpage\ of \lastpage]
3. \setuppagenumbering[left={Page },right={ of \lastpage}] 4. \setuplabeltext[pagenumber={{Page },{ of \lastpage}}] Wolfgang