Next: , Previous: Lyrics to multiple notes of a melisma, Up: Flexibility in placement


7.3.7.2 Divisi lyrics

You can display alternate (or divisi) lyrics by naming voice contexts and attaching lyrics to those specific contexts.

     
     \score{ <<
       \new Voice = "melody" {
         \relative c' {
           c4
           <<
             { \voiceOne c8 e }
             \new Voice = "splitpart" { \voiceTwo c4 }
           >>
           \oneVoice c4 c | c
         }
       }
       \new Lyrics \lyricsto "melody" { we shall not o- ver- come }
       \new Lyrics \lyricsto "splitpart" { will }
     >> }

[image of music]

You can use this trick to display different lyrics for a repeated section.

     
     \score{ <<
       \new Voice = "melody" \relative c' {
         c2 e | g e | c1 |
         \new Voice = "verse" \repeat volta 2 {c4 d e f | g1 | }
         a2 b | c1}
       \new Lyrics = "mainlyrics" \lyricsto melody \lyricmode {
         do mi sol mi do
         la si do }
       \context Lyrics = "mainlyrics" \lyricsto verse \lyricmode {
        do re mi fa sol }
       \new Lyrics = "repeatlyrics" \lyricsto verse \lyricmode {
        dodo rere mimi fafa solsol }
     >>
     }

[image of music]



Next: , Previous: Lyrics to multiple notes of a melisma, Up: Flexibility in placement

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

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