tisimst <tisimst.lilyp...@gmail.com> writes: > I'd like to add to this bug report (single voice using a variable):
The variable has nothing to do with it. > %%%%%%%%%%%%%% > > altoOneVoice = \relative { > d'2\melisma e4\melismaEnd cis > } > > altText = \lyricmode { > side, sit > } > > \markup \column { "One voice in a music variable" "(center-aligned > melisma)" } > \score { > << > \new Staff \altoOneVoice > \addlyrics \altText > >> > } > > % same music as above, but explicitly written out in the \score block > \markup \column { "One voice explicitly written out in \score block" > "(left-aligned melisma)" } > \score { > << > \new Staff \relative { > d'2\melisma e4\melismaEnd cis > } > \addlyrics \altText > >> > } Here is the difference: The first variant adds the lyrics to \new Staff \altoOneVoice. The second variant adds the lyrics to { d'2 ... } even _before_ \relative is called. \addlyrics is sort of sticky. Once the \addlyrics is sucked _into_ the \relative, it does not have a chance to combine with \new Staff in a useful manner. So basically you get \score { << \new Staff \relative << \new Voice="xxx" { d'2 ... cis} \new Lyrics \lyricsto "xxx" ... >> >> } Or something like that. Lesson: \addlyrics is for simple cases. -- David Kastrup _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond