Number of Pages

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

Number of Pages


 

Editor-Icon Number of Pages

 


 

The Number of Pages macro uses the name Pages and automatically returns the number of pages:

 

If All is selected in the Pages Range number box the the number of document pages is returned.

If Current Page is selected in the Pages Range number box then the number "1" is returned.

If a specific page range is determined then the number of pages specified is returned.

 

The syntax for this macro is %[Pages:<Parameter>]

 

Available parameters are detailed below:

 

r sets the page numbering as lower-case roman numerals: "i, ii, iii, iv, v" etc.

R sets the page numbering as upper-case roman numerals: "I, II, III, IV, V" etc.

L sets the page numbering as the page labels, if the page labels are already specified, or page numbers if page labels are not already specified.

<integer> sets the minimum amount of digits when the page number is displayed. For example if "4" is specified then the page numbering will start at "0001".