Writer Guide
whether to include these numbers in the field (
Chapter number
and name
).
Figure 391: Inserting the current chapter name and
number into your document
• You can insert cross-references to other heading levels by
specifying a value in the
Level
box in the lower right of the
Document
page of the Fields dialog box (Figure 391). That is,
Level 1 = Heading 1, Level 2 = Heading 2, and so on.
Note
A cross-reference field in the header of a page picks up the
first
heading of that level on the page, and a field in the footer picks
up the
last
heading of that level.
• To include the chapter number with the page number, position the
cursor just before the
Page
field you inserted. Click Insert >
Fields > Other. On the
Document
page of the Fields dialog box,
select Chapter in the
Type
column and Chapter number
without separator in the
Format
column. Click Insert.
Go to the header or footer where you inserted this field, type the
character you want to appear between the chapter number and
the page number—for example, a period or a dash.
The table of contents will not automatically pick up these chapter
numbers, so you will need to make a change on the Indexes and
Tables menu item, as described in Chapter 12 (Creating Tables of
Contents, Indexes, and Bibliographies).
450 OpenOffice.org 3 Writer Guide