Page headers and footers

Typically, most pages of a publication will include a page number in their header or footer. They might also include mention of the section or chapter name, for example, to which they belong.

These details are typically added as fields (placeholders) to the header or footer on a master page. On pages to which that master page is applied, the fields automatically report the correct value.

Page numbering

Page numbering and naming on a publication verso page.

Numbering pages

You can format the page number and set the numbering style using the Section Manager. This manager also lets you create multiple sections (e.g. Preface, Table of contents, Index, etc.) which can be named and have different starting page numbers and numbering styles.

Page numbers are inserted as fields (via the Fields panel or Text>Insert>Fields>Page Number), which dynamically update.

To suppress page numbering on initial sections of a publication (e.g. Contents or Preface), don't assign a master page that contains page number fields to their pages.

Naming pages

Names that identify a page's place in a publication are inserted as fields. At their simplest, you might use a field that displays the section name to which a page belongs. You can specify section names for page ranges in the Section Manager.

Alternatively, you can use a running header, which displays text that appears on the same or an earlier page and which is formatted with a specific paragraph or character style. A running header's text 'runs' for multiple pages—i.e. does not change—until another application of the text style is encountered.

The following source options are available to specify the source of a running header's text:

Formatting a running header

The Running Header field's formatting options allow you to limit the amount of text displayed by the field. This might be due to the source text being too long to display in full, or for other aesthetic reasons.

Running headers can transform their text's capitalization, or to simply repeat their source's capitalization.

The following formatting options are available for running headers:

To add page numbering or naming:
  1. On the Pages panel, double-click a master page from the Master Pages window.
  2. On the master page, create a text frame to contain your page number/name field and optionally extra header/footer text.
  3. On the Fields panel, in the Document Sections group, do one of the following:
    • To add page numbering, double-click Page Number.
    • To add page naming based on section names, double-click Name.
    • To add page naming based on an applied text style, double-click Running Header.

On the master page, page numbers are represented by the hash symbol (#) and page naming is represented by placeholder text: <Section Name> or <Running Header>. These will be replaced by actual numbers and names on publication pages to which the master page is applied.

Section Manager To change a section's page numbering style:
To change a running header's source and formatting options:

Do one of the following:

SEE ALSO: