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



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 by the lilypond wrapper script, then the title and composer specified 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), then the header can be put into 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 do us a favor, and leave the tagline if you can.



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

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