|
From: | Phil Holmes |
Subject: | Re: wrong alignment when repeating music with different text on one line |
Date: | Sun, 16 Oct 2011 10:46:57 +0100 |
with the following code - derived from the example in NR under Lyrics and Repeats - the text of the 2nd lyric voice is not correctly aligned. this seems to happen when such repeats occur on the same line/system only. Eluze << \new Staff { \new Voice = "singleVoice" { \relative c'' { \repeat unfold 2 { a1 \repeat volta 2 { b } } } } } \new Lyrics \lyricsto "singleVoice" { \repeat unfold 2 { one << { one } \new Lyrics = "2" { \set associatedVoice = "singleVoice" two } >> } }http://old.nabble.com/file/p32622828/test2.png
This looks to me like correct behaviour. You've created extra Lyrics contexts, and Lilypond stacks them one above the other. This is as illustrated in the NR. If I was doing what you're showing, I would use \skip:
<< \new Staff { \new Voice = "singleVoice" { \relative c'' { a1 \repeat volta 2 { b } a1 \repeat volta 2 { b } } } } \new Lyrics \lyricsto "singleVoice" { one << { one one one } \new Lyrics { \set associatedVoice = "singleVoice" two \skip 1 two } >> }
-- Phil Holmes Bug Squad
[Prev in Thread] | Current Thread | [Next in Thread] |