bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong alignment when repeating music with different text on one line


From: -Eluze
Subject: Re: wrong alignment when repeating music with different text on one line
Date: Sun, 16 Oct 2011 14:04:32 -0700 (PDT)


Phil Holmes-2 wrote:
> 
> 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
> }
>       >>
>   }
>>>
> 
thanks for your answer

i agree that i create extra Lyrics contexts (this was just a copy of the
code found in NR), but when i declare them distinctly i run into the same
problem:

the lyrics context "2" is now created once as new and later on referenced as
\context …

\new Staff <<
  \new Voice = "melody" {
    \relative c'' {
      a1 \repeat volta 2 {a} 
      b  \repeat volta 2 {b}
  } }
  \new Lyrics ="1" \with{ associatedVoice = "melody" } \lyricmode
  { one 
    <<
      \context Lyrics = "1" { one }
      \new Lyrics = "2" \with{ associatedVoice = "melody" } { two }
    >>
    one 
    <<
      \context Lyrics = "1" { one }
      \context Lyrics = "2" \with{ associatedVoice = "melody" } { two }
    >>
  }
>>

imo all the contexts are declared clearly.

your solution certainly works but i'm not eager to count the measures
between these events… i could as well use a fully written second lyrics
voice - and not use the possibility of writing repeated parts as presented
in the NR.

Eluze



-- 
View this message in context: 
http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32663264.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]