Sub topic 7
Master pages, running heads and page numbers
This chapter assumes you know the grid and margin setup from the earlier chapters, and that you can use paragraph styles in a tool such as InDesign, Affinity Publisher or Scribus. Here you will move the repeating parts of a layout onto master pages, so you build them once and they stay consistent.
What a master page does
A master page (called a parent page in InDesign, and a master page in Affinity and Scribus) is a template that other pages inherit from. Anything you place on it appears on every page that uses it. Typical content includes:
- margin and column guides
- running heads and running feet
- page number markers
- repeating graphics, such as a logo or a color band
A running head is a short line at the top of a page that tells the reader where they are. In a report it often shows the chapter or section title. A running foot does the same job at the bottom of the page.
If you change the master, every page based on it updates. This is why a master page prevents the small drift that creeps in when you copy and paste items between pages.
Setting up a facing-pages master
For a report with facing pages, create a master with a left page and a right page. Mirror the margins so the inside margin, next to the binding, is wider than the outside margin. Then place the running elements on the outside edges:
- Put the page number marker in the outside bottom corner of each page. Use the special "current page number" character, not typed digits. The software then numbers each page automatically.
- Put the document title in the running head on the left page. Put the chapter or section title on the right page. Readers then see both whenever the book is open.
- Style the text with a paragraph style such as
RunningHead, not with direct formatting. A small size, a lighter weight or a tint keeps it quieter than body text. - Snap the text frames to the margins and the baseline grid.
Automatic section names
Typing the chapter title into each running head by hand invites errors. Most tools can fill it in from a style instead. In InDesign you insert a text variable of the type "Running Header (Paragraph Style)". It reads the first paragraph on the page that uses a style such as Heading1. Each page then shows the correct title with no manual work. This is one reason to apply styles consistently to every heading.
Print-oriented CSS works the same way. This example is for engines that support paged media features such as string-set, for example WeasyPrint or Prince. Browsers do not support it everywhere.
h1 {
string-set: chapter content();
break-before: page;
}
@page :left {
@top-left { content: string(chapter); }
@bottom-left { content: counter(page); }
}
@page :right {
@top-right { content: string(chapter); }
@bottom-right { content: counter(page); }
}Common errors
- Typed page numbers. They do not change when pages are added or removed. Always use the automatic marker.
- Running heads on opening pages. Chapter openers and title pages usually have their own large heading. Apply a different master with no running head, or an empty master named
None, to these pages. - Wrong numbering start. The cover and front matter often should not count. Use a section start to restart numbering, and switch to roman numerals (i, ii, iii) for front matter if needed.
- Overrides that hide problems. Editing a master item on a page breaks its link to the master for that page. Do this only deliberately, and check for it before export.
- Master items off the grid. A running head that sits a few points off the margin will look wrong on every page.
Exercise
A 40-page report has its running head typed by hand on each page, and the page numbers are typed digits. A new page is inserted after page 12. What goes wrong, and how do you fix it?
Show answer
The typed page numbers after page 12 are now wrong, and the typed running heads may not match the sections. Move both to the master page: use the automatic current-page-number marker, and fill the running head from the heading style with a text variable (or string-set in CSS). Then every page updates itself.