Next: , Previous: Spacing lyrics, Up: Vocal music


7.3.9 More about stanzas

Stanza numbers can be added by setting stanza, e.g.,

     
     \new Voice {
       \time 3/4 g2 e4 a2 f4 g2.
     } \addlyrics {
       \set stanza = "1. "
       Hi, my name is Bert.
     } \addlyrics {
       \set stanza = "2. "
       Oh, che -- ri, je t'aime
     }

[image of music]

These numbers are put just before the start of first syllable.

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.
     }
     
     \book{
       \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]

Names of singers can also be added. They are printed at the start of the line, just like instrument names. They are created by setting vocalName. A short version may be entered as vocNam.

     
     \new Voice {
       \time 3/4 g2 e4 a2 f4 g2.
     } \addlyrics {
       \set vocalName = "Bert "
       Hi, my name is Bert.
     } \addlyrics {
       \set vocalName = "Ernie "
       Oh, che -- ri, je t'aime
     }

[image of music]

See also

Program reference: LyricText, StanzaNumber, VocalName.

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

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

Other languages: English.
Using automatic language selection.