| %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 |
| 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 \).