LibreOffice 25.2 Help
Inserts the current page number as a field at the cursor position. The default setting is for it to use the Page Number character style.
If you would like to define a different format or modify the page number, insert a field with Insert - Fields - Other and make the desired settings in the Fields dialogue. It is also possible to edit a field inserted with the Page Numbers command with Edit - Fields. To change page numbers, read the Page Numbers guide.