Operation Manual

After a header has been created, a down-arrow appears on the header marker. Click on this arrow
to drop down a menu of choices for working with the header (Figure 82).
Figure 82: Header menu
To format a header, you can use either the menu item shown in Figure 82 or Format > Page >
Header. Both methods take you to the same tab on the Page Style dialog.
Inserting header and footer contents
Other information such as document titles and chapter titles is often put into the header or footer.
These items are best added as fields. That way, if something changes, the headers and footers are
updated automatically. Here is one common example.
To insert the document title into the header:
1) Choose File > Properties > Description and type a title for your document.
2) Add a header (Insert > Header > Default).
3) Place the cursor in the header part of the page.
4) Choose Insert > Fields > Title. The title should appear on a gray background (which does
not show when printed and can be turned off).
5) To change the title for the whole document, go back to File > Properties > Description.
Fields are covered in detail in Chapter 14, Working with Fields, in the Writer Guide.
For more about headers and footers, see Chapter 4, Formatting Pages, and Chapter 6,
Introduction to Styles, in the Writer Guide.
Numbering pages
Displaying the page number
To automatically display page numbers:
1) Insert a header or footer, as described in “Creating headers and footers” above.
2) Place the cursor in the header or footer where you want the page number to appear and
choose Insert > Fields > Page Number.
Including the total number of pages
To include the total number of pages (as in “page 1 of 12”):
1) Type the word “page” and a space, then insert the page number as above.
2) Press the space bar once, type the word “of” and a space, then choose Insert > Fields >
Page Count.
Note
The Page Count field inserts the total number of pages in the document, as shown
on the Statistics tab of the document’s Properties window (File > Properties). If
you restart page numbering anywhere in the document, then the total page count
may not be what you want. See Chapter 4, Formatting Pages, in the Writer Guide
for more information.
102 | Getting Started with LibreOffice 4.0