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" { shall }
>> }
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 }
>>
}
This page is for LilyPond-2.5.11 (development-branch).