Next: Ambitus, Previous: Flexibility in alignment, Up: Vocal music
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 }
These numbers are put just before the start of first syllable.
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 }
You can display alternate (or divisi) lyrics by naming voice contexts and attaching lyrics to those specific contexts.
\score{ << \context Voice = "melody" { \relative c' { c4 << { \voiceOne c8 e } \context Voice = splitpart { \voiceTwo c4 } >> \oneVoice c4 c | c } } \new Lyrics \lyricsto "melody" { we shall not o- ver- come } \new Lyrics \lyricsto "splitpart" { will } >> }
You can use this trick to display different lyrics for a repeated section.
\score{ << \context Voice = melody \relative c' { c2 e | g e | c1 | \context Voice = verse \repeat volta 2 {c4 d e f | g1 | } a2 b | c1} \lyricsto melody \context Lyrics = mainlyrics \lyricmode { do mi sol mi do la si do } \lyricsto verse \context Lyrics = mainlyrics \lyricmode { do re mi fa sol } \lyricsto verse \context Lyrics = repeatlyrics \lyricmode { dodo rere mimi fafa solsol } >> }
Program reference: LyricText, StanzaNumber, VocalName.
This page is for LilyPond-2.6.3 (stable-branch).