Page headers and footers

Most pages include a page number in the header or footer. Some show a section name.

These are added as fields on a master page's header or footer. Pages using the master will show correct information.

A page number and section name on a left-hand publication page.

Numbering pages

Use the Section Manager to set page numbering and create sections with custom names (like Preface and Index), starting page numbers, numbering styles, and optional page number prefixes.

You can add a page number field to a single page or both facing pages of a spread—or any pages you wish in a multi-page spread.

Add page numbers as fields from the Fields panel or Text menu. Their text updates automatically.

To hide page numbers in early sections (e.g. Contents or Preface), avoid using a master page that includes page number fields on their pages.

Naming pages

Names that identify a page's place in a document are inserted as fields. They can show the page's section name (from the Section Manager).

Alternatively, use a running header. It shows text from the same or an earlier page and with a specific text style. The text repeats across pages. It updates when the style is used again.

The following options choose where the text comes from:

  • Style—chooses the text style the field uses.
  • Use—when the text style is applied multiple times on a page, you can choose which one (First on page or Last on page) the running header displays.
  • Use—when the text style is applied multiple times on a page, choose which instance the running header displays:
    • First on page / Last on page—uses the bottommost or topmost instance in the page's layer stack, respectively.
    • First in reading order / Last in reading order—uses the first or last instance in the page's reading order, as set on the Reading Order panel.

When a running header is set to Last on page or Last in reading order, the field will not display a value on pages that do not contain any text that uses the chosen text style.

Formatting a running header

You can limit how much text a running header shows using its formatting options. 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:

  • Include Paragraph Numbering—when the text style is applied to numbered lists, turn on to include list item numbers in the running header or turn off to exclude them.
  • Apply Limits—chooses whether the running header's length is limited:
    • End on—chooses which characters will automatically end the running header, even if the style continues afterward.
    • Include End Character—chooses whether to include or exclude the terminating end character in the running header.
    • Max Word Count—set how many words the running header can show.
    • Use Ellipsis—chooses whether an ellipsis should be displayed at the end of a running header whose length has been limited.
  • Case Change—chooses the text transformation to apply to the displayed text: None, Upper, Lower, Title or Sentence.

How to add page numbering or naming

On a master page, page numbers show as a hash symbol (#). Page names show as placeholder text: <Section Name> or <Running Header>. When the master page is used on a publication page, these placeholders turn into real page numbers and names.

How to change a section's page numbering style or prefix

How to change a running header field's source and formatting options

How would you rate the help you received from this article?