next up previous contents index
Next: Date and Time Formats Up: Stamp Text, Dates and Previous: Stamp Text, Dates and   Contents   Index


Page Numbers

There are various special codes to include the page number in the text:


%Page Page number in arabic notation (1, 2, 3...)
%roman Page number in lower-case roman notation (i, ii, iii...)
%Roman Page number in upper-case roman notation (I, II, III...)
%EndPage Last page of document in arabic notation
$\backslash$n starts a new line


For example, the format "Page %Page of %EndPage" might become "Page 5 of 17".

NB: In some circumstances (e.g in batch files) on Microsoft Windows, % is a special character, and must be escaped (preceeded by a \).



root 2008-12-01