Am 31.08.2014 um 22:44 schrieb Peter Van Kranenburg:
Dear list,

If an invisible rest in the top staff is followed by a key change, the spacing in the other staffs is incorrect.
It’s the other way round: the key change is followed by the invisible rest. Or the rest follows the key change, if you will ;-)

\version "2.19"

<<
\new Staff \relative c'' { a4 a a \key a \major s a a }
\new Staff \relative c'' { a4 a a \key a \major a a a }
>>
And I may add that an invisible barline deteriorates the image further, while a visible barline may serve as workaround, albeit a space-hungry one. See attachments.

Yours, Simon
\version "2.19"

<<
\new Staff \relative c'' { a4 a a \key a \major s a a }
\new Staff \relative c'' { a4 a a \key a \major a a a }
>>

<<
\new Staff \relative c'' { a4 a a \bar "" \key a \major s a a }
\new Staff \relative c'' { a4 a a \key a \major a a a }
>>

<<
\new Staff \relative c'' { a4 a a \bar "||" \key a \major s a a }
\new Staff \relative c'' { a4 a a \key a \major a a a }
>>

Attachment: key-change2.pdf
Description: Adobe PDF document

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to