[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bypass \set associatedVoice altogether?
From: |
Mats Bengtsson |
Subject: |
Re: bypass \set associatedVoice altogether? |
Date: |
Fri, 26 Aug 2005 12:56:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
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
address@hidden
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
address@hidden
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================