
lilypond - issue #448
KeyCancellation and KeySignatures in un-necessarily separated columns
%{ Big unwanted space in second bar %}
\version "2.11.31" \paper { ragged-right = ##t } \score { \new GrandStaff << \new Staff { c'1 \key es \major } \new Staff { \key des \major s1 \key c \major } >> }
- foo.preview.png 3.18KB
Comment #1
Posted on Sep 5, 2007 by Massive LionComment deleted
Comment #2
Posted on Sep 5, 2007 by Massive LionA workaround in this particular case is to add \override Staff.KeyCancellation #'X-extent = #'(0 . 0) in the lower stave.
One question is what the desired layout is in the following situation: \version "2.11.31" \paper { ragged-right = ##t } \score { \new GrandStaff << \new Staff { c'1 \key es \major } \new Staff { \key des \major s1 \key d \major }
> } Should the key signature in the upper stave be aligned with the key cancellation or the new key signature in the lower stave or should it be centered over both? Finding a solution that handles both these examples well seems difficult.
Comment #3
Posted on Jun 10, 2008 by Quick Cat(No comment was entered for this change.)
Comment #4
Posted on Sep 16, 2011 by Quick KangarooStill an issue in 2.15.11
- 2_15_11_output.PNG 34.91KB
Comment #5
Posted on Oct 1, 2011 by Quick OxComment deleted
Comment #6
Posted on Oct 1, 2011 by Quick OxFor examples I went to Mahler, who loved key changes. I found that the new key signature is run up against the cancellation, even in Edition Peters. I find that harder to read than what LilyPond does.
I suggest we want the KeySignatures and KeyCancellations each left-aligned in their own columns, but allow those columns to mesh when there is room. This would put the es\major signature over the cancellation in the bug example, but still align nicely for the situation Mats mentions above.
One implementation would be to have horizontal skylines calculated for KeyCancellation and KeySignature for use in break-alignment-interface::calc-positioning-done, and change the space-alist specification beteween KeyCancellation and KeySignature.
- 448Peters.png 21.34KB
Status: Accepted
Labels:
Type-Ugly