To insert or remove page numbers from a document, first invoke the Header and Footer dialog.

Focus a text box, depending on the required alignment, and do one of the following:

When you click one of these buttons, the dialog adds an alias within square brackets at the current cursor position. You can surround this alias with any text you like. If you no longer need page numbers in your document, delete this alias.

Click OK to save changes and close the dialog.