| [ << Tweaks and overrides ] | [Top][Contents] | [ Paper and layout >> ] |
| [ < Rhythmic slashes ] | [ Up : Tweaks and overrides ] | [ Setting hairpin behavior at bar lines > ] |
Separating key cancellations from key signature changes
By default, the accidentals used for key cancellations are placed
adjacent to those for key signature changes. This behavior can be
changed by overriding the 'break-align-orders property of the
BreakAlignment grob.
The value of 'break-align-orders is a vector of length 3, with
quoted lists of breakable items as elements. This example only
modifies the second list, moving key-cancellation before
staff-bar; by modifying the second list, break alignment
behavior only changes in the middle of a system, not at the beginning
or the end.
\new Staff { \override Score.BreakAlignment.break-align-orders = ##((left-edge ambitus breathing-sign clef staff-bar key-cancellation key-signature time-signature custos) (left-edge ambitus breathing-sign clef key-cancellation staff-bar key-signature time-signature custos) (left-edge ambitus breathing-sign clef key-cancellation key-signature staff-bar time-signature custos)) \key des \major c'1 \bar "||" \key bes \major c'1 }
| [ << Tweaks and overrides ] | [Top][Contents] | [ Paper and layout >> ] |
| [ < Rhythmic slashes ] | [ Up : Tweaks and overrides ] | [ Setting hairpin behavior at bar lines > ] |
![[image of music]](../b7/lily-d9219b06.png)