Custom titles - GNU LilyPond
Description: GNU LilyPond

Previous: Creating titles, Up: Titles and headers

#### 10.3.2 Custom titles

A more advanced option is to change the definitions of the following variables in the `\paper` block. The init file `ly/titling-init.ly` lists the default layout.

`bookTitleMarkup`
  This is the title put over an entire `\book` block. Typically, it has the composer and the title of the piece

`scoreTitleMarkup`
  This is the title put over a `\score` block within a `\book`. Typically, it has the name of the movement (`piece` field).

`oddHeaderMarkup`
  This is the page header for odd-numbered pages.

`evenHeaderMarkup`
  This is the page header for even-numbered pages. If unspecified, the odd header is used instead.

  By default, headers are defined such that the page number is on the outside edge, and the instrument is centered.

`oddFooterMarkup`
  This is the page footer for odd-numbered pages.

`evenFooterMarkup`
  This is the page footer for even-numbered pages. If unspecified, the odd header is used instead.

  By default, the footer has the copyright notice on the first, and the tagline on the last page.

The following definition will put the title flush left, and the composer flush right on a single line.

    \paper {
      bookTitleMarkup = \markup {
       \fill-line {
         \fromproperty #'header:title
         \fromproperty #'header:composer
       }
      }
    }

##### Bugs

The `breakbefore=##t` header requires that there is a `piece` header as well. It may be used as a normal header, or left blank (`=""`) as in the example above, but it must be present.

This page is for LilyPond-2.8.8 (stable-branch).

Other languages: English.
Using automatic language selection.