Custom text formatting for titles

Standard \markup commands can be used to customize any header, footer, or title text within the \header block.

\score {
  \header {
    piece = \markup { \fontsize #4 \bold "PRAELUDIUM I" }
    opus = \markup { \italic "BWV 846" }
  }
  { s1 }
}

[image of music]

See also

Notation Reference: Formatting text.

LilyPond Notation Reference v2.25.21 (development-branch).