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]

Diese Seite ist für LilyPond-2.11.58 (Entwicklungszweig).

Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.

Ihre Vorschläge für die Dokumentation sind willkommen.

Andere Sprachen: français, español.