1. | Open a master page for editing. |
2. | Insert a text frame where you want, and scale it to fit the largest possible page number. |
3. | Press the Spacebar key to open the source editing pane. |
4. | On the Type menu, point to Insert Special Character, point to Markers, and then select Current Page Number. |
5. Format it as you want.
Alternatively, display tags in the source pane (ALT+F9), press F9, and then type >writei PageNum<.