Next: , Previous: Stanzas with different rhythms, Up: Stanzas


2.1.4.5 Printing stanzas at the end

Sometimes it is appropriate to have one stanza set to the music, and the rest added in verse form at the end of the piece. This can be accomplished by adding the extra verses into a \markup section outside of the main score block. Notice that there are two different ways to force linebreaks when using \markup.

     
     melody = \relative c' {
     e d c d | e e e e |
     d d e d | c1 |
     }
     
     text = \lyricmode {
     \set stanza = "1." Ma- ry had a lit- tle lamb,
     its fleece was white as snow.
     }
     
     \score{ <<
       \new Voice = "one" { \melody }
       \new Lyrics \lyricsto "one" \text
     >>
       \layout { }
     }
     \markup { \column{
       \line{ Verse 2. }
       \line{ All the children laughed and played }
       \line{ To see a lamb at school. }
       }
     }
     \markup{
       \wordwrap-string #"
       Verse 3.
     
       Mary took it home again,
     
       It was against the rule."
     }

[image of music]

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español.