Default layout of headers and footers
Headers and footers are lines of text appearing at
the top and bottom of pages, separate from the main text of a book.
They are controlled by the following \paper variables:
-
oddHeaderMarkup -
evenHeaderMarkup -
oddFooterMarkup -
evenFooterMarkup
These markup variables are defined in ly/titling-init.ly and do the following by default.
- Page numbers are automatically placed on the top far left (if even) or top far right (if odd), starting from the second page.
- The
instrumentheader field is placed in the center of every page, starting from the second page. - The
copyrightheader field is centered on the bottom of the first page. - The
taglineheader field is centered on the bottom of the last page, and below thecopyrightfield if there is only a single page.
The following shows an example how to change the tag line.
\book { \header { tagline = "... music notation for Everyone" } \score { \relative { c'4 d e f } } }
Set tagline to #f if you don’t want a tag line.
See also
Notation Reference: Custom layout for headers and footers.