I needed to format an existing LibreOffice 4.3 document to have some beginning pages with no page numbers, then some pages numbered with roman numerals (i, ii, iii…), then the rest of the pages numbered with arabic numerals (1, 2, 3…). Here’s how you do it.
1. Create a page style that will do roman numeral page numbers in the footer
1.1. Go to Format -> Styles and Formatting (or press F11)…
1.2. Right-click Default Style and choose New… The page style configuration dialog will appear…
1.3. On the Organizer tab, name the style something reasonable. I picked “Little roman numeral page numbers,” which is almost reasonable. In the Next Style dropdown, choose the page style you are creating to have this page style continue onto the next page, otherwise it will revert to Default Style after one page.
1.4. On the Page tab, choose a number format of i, ii, iii, …
1.5. On the Footer tab, choose Footer on.
2. Create a page style that has no footer
Typically when you want roman numerals you also want some pages without numbering at the beginning of your document. If this is the case…
2.1. Go to Format -> Styles and Formatting and create a style named No-footer pages
2.2. On the Organizer tab choose ‘No-footer pages’ as the Next Style so that you can have multiple non-numbered pages one after the other without having to manually set the No-footer-pages style on each page.
3. Set the style on your no-footer pages
3.1. In your document, put the caret on the top line of the first page (I read somewhere that the first paragraph controls page formatting).
3.2. Go to Format -> Paragraph… On the Text Flow tab under Breaks, check Insert…
- Type: Page
- Position: Before
- With Page Style: No-footer pages
(There weren’t page numbers here anyway at the moment, but once you modify your Default Style there would be.)
4. Enable roman numerals on the appropriate pages
4.1. Put the caret on the top line of the first page where you want roman numerals.
4.2. Again, go to Format -> Paragraph… On the Text Flow tab under Breaks, check Insert…
- Type: Page
- Position: Before
- With Page Style: Little roman numeral page numbers…
4.3. Leave the page number at 0 to continue the current numbering or set it to whatever number you want the roman numeral numbering to start at.
4.4. OK out of this dialog and click below the margin on this page. You’ll see that you’re in “Footer (Little roman numeral page numbers)”.
4.5. Go to Insert -> Fields -> Page Number. It will insert the page number in roman numeral format, and the numbering will continue on following pages..
5. Enable arabic numerals on the appropriate pages
5.1. Put the caret on the top line of the page where you want to switch from roman numerals (i, ii, iii…) to arabic numerals (1, 2, 3…). Go to Format -> Paragraph… -> Text Flow and insert a page break “before” with page style Default Style. Leave the Page Number at 0 to continue numbering where the roman numerals leave off – or more likely you’ll want to enter a 1 here to restart the numbering at page 1 for the arabic numerals.
5.2. Click below the margin on this page and insert a page number. It will be formatted as an arabic numeral, and this numbering will continue on the following pages.
Instructions and screenshots are from LibreOffice 22.214.171.124 running on Fedora Linux 21.
I was greatly helped by this post, which deals with a new document.