Try:
upperVoice = \relative c'' {
%
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |
c8 d e4 f g |
}
lowerVoice = \relative c' {
%
s1 |
c8[ d] e4 f g |
s1 |
c8[ d] e4 f g
}
textOne = \lyricmode {
% You know how to write ly -- rics, don’t you?
}
textTwo = \lyricmode {
% You know how to write ly -- rics, don’t you?
}
\score {
<<
\context Staff = Upper <<
\context Voice = "one" \upperVoice
>>
\lyricsto "one" \new Lyrics { \textOne }
\context Staff = Lower <<
\context Voice = "two" \lowerVoice
>>
\lyricsto "two" \new Lyrics { \textTwo }
>>
}
Maybe that's oldfashioned, but it works for me (with 2.10.33).
I knew I would have to get into explaining this. There is no
nesting. What I have are two verses, say,
{\autoBeamOff c8 d e4 f g}
and in the second verse,
{\autoBeamOff c8[ d] e4 f g}.
Engraving that isn't really a problem
\relative {\autoBeamOff <<{\voiceOne c8 d } \new Voice {\voiceTwo
c8[ d] }>>\oneVoice e4 f g}
That's fine. I have it happening tons of times. The problem is
then having lyrics automatically align to these notes. Usually I
just name my voice context and be done with it:
\relative {
\context Voice = "unbeamed notes"
\autoBeamOff
<<
{ \voiceone c8 d}
\context Voice = "beamed notes" { \voiceTwo c8[ d] }
>> \oneVoice e4 f g
}
And then I automatically add text to it, using the above method.
Problem is, with it happening 10 or more times in a single piece,
I'm having problems aligning all of the lyrics to the appropriate
notes.