Next: , Previous: Listening to output, Up: Tutorial



2.16 Titling

Bibliographic information is entered in a separate block, the \header block. The name of the piece, its composer, etc. are entered as an assignment, within \header { ... }. For example,

     \header {
       title = "Eight miniatures"
       composer = "Igor Stravinsky"
       tagline = "small is beautiful"
     }
     
     \score { ... }

When the file is processed the title and composer are printed above the music. The `tagline' is a short line printed at bottom of the last page which normally says “Engraved by LilyPond, version ...”. In the example above it is replaced by the line “small is beautiful.”1

Normally, the \header is put at the top of the file. However, for a document that contains multiple pieces (e.g. an etude book, or an orchestral part with multiple movements), the header can be put in the \score block as follows; in this case, the name of each piece will be printed before each movement

     \header {
       title = "Eight miniatures"
       composer = "Igor Stravinsky"
       tagline = "small is beautiful"
     }
     
     \score { ...
       \header { piece = "Adagio" }
     }
     \score { ...
       \header { piece = "Menuetto" }
     }

More information on titling can be found in Invoking lilypond.


Footnotes

[1] Nicely printed parts are good PR for us, so please leave the tagline if you can.


Read comments on this page, or add one.

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

Report errors to <bug-lilypond@gnu.org>.