On 26 dec 2008, at 21:35, James E. Bailey wrote:
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.
Well, the way I do this is by doing exactly what Henning proposed: split your (almost) implicit voices in explicit, separate voices. The only problem I then have is filling up the second voice with enough spacer notes so that they are position correctly. I augmented the proposal with a few notes so as to make my idea clear. This makes the alignment of lyrics to notes automatically correct.
HTH, Arjan _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
