Since nobody has come up with any answer and the output
looks very strange, I send the question on the bug-lilypond.
/Mats
Trevor Baca wrote:
Why does the second set of lyrics with \set associatedVoice align incorrectly?
And, in general, should I bypass \set associatedVoice altogether and
insert fake spaces, as in the third set of lyrics (which do work
correctly)?
%%%%%%%%%% BEGIN LYRICS ALIGNMENT SNIPPET %%%%%
\version "2.7.7"
theVoice = {
\time 2/4
\set Staff.autoBeaming = ##f
d''8
<<
{
\voiceOne
d''16
d''16
\oneVoice
}
\context Voice = "alternative" {
\voiceTwo
d''8
\oneVoice
}
>>
d''8
d''8
}
theFirstLyrics = \lyricmode {
\set stanza = "GOOD: "
Five words in this voice.
}
theSecondLyrics = \lyricmode {
\set stanza = "BAD :"
\set associatedVoice = "alternative"
On --
% reverts to mainVoice 1/16th too early:
\set associatedVoice = "mainVoice"
ly
four
here.
}
theThirdLyrics = \lyricmode {
\set stanza = "GOOD: "
On --
ly
" "
four
here.
}
\score {
\new Staff <<
\context Voice = "mainVoice" \theVoice
\new Lyrics \lyricsto "mainVoice" \theFirstLyrics
\new Lyrics \lyricsto "mainVoice" \theSecondLyrics
\new Lyrics \lyricsto "mainVoice" \theThirdLyrics
>>
\layout {
raggedright = ##t
}
}
%%%%%%%%%%% END LYRICS ALIGNMENT SNIPPET %%%%%
Trevor Bača
[EMAIL PROTECTED]
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond