"Mark Stephen Mrotek" <[email protected]> writes: > Hello, > > > > The key change in the upper staff can be properly aligned (after the "g") if > I use \bar '' '' and \break. This disrupts Lilypond's auto-spacing. > > > > Is another solution possible?
I don't see an obvious solution (but then I don't understand the bug) but I boiled down the example somewhat more, killing most of its musicality but making the problem more apparent. I was suspecting the tuplets to be involved, but no. In the following, outcommenting the line with the Staff \change cures the problem. If no other developer has a good lead, this should be picked up by the bug squad and turned into a report. As for a workaround while this bug is not fixed: does anybody have an idea? I've tried a few things with Y-extent without success, but that's probably because I don't understand the bug in the first place.
\version "2.16.2"
rightOne = \relative c'' {
\time 4/2
g1 \key ges \major c,1\fz
}
rightTwo = \relative c'' {
r8 d bes g bes d bes g
\change Staff = "left"
}
left = \relative c' {
bes,,1 ( \key ges \major eeses )
}
\score {
\new PianoStaff <<
\new Staff = "right" << \rightOne \\ \rightTwo >>
\new Staff = "left" { \clef bass \left }
>>
}
<<inline: KeyChange.preview.png>>
-- David Kastrup
_______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
