LSR: Local update.
[lilypond/mpolesky.git] / Documentation / snippets / separating-key-cancellations-from-key-signature-changes.ly
blob3af3d0b746678d877b4abab68d8ba7d962a83d9f
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.10"
6 \header {
7 lsrtags = "pitches, tweaks-and-overrides"
9 texidoc = "
10 By default, the accidentals used for key cancellations are placed
11 adjacent to those for key signature changes. This behavior can be
12 changed by overriding the @code{'break-align-orders} property of the
13 @code{BreakAlignment} grob.
16 The value of @code{'break-align-orders} is a vector of length 3, with
17 quoted lists of breakable items as elements. This example only
18 modifies the second list, moving @code{key-cancellation} before
19 @code{staff-bar}; by modifying the second list, break alignment
20 behavior only changes in the middle of a system, not at the beginning
21 or the end.
24 doctitle = "Separating key cancellations from key signature changes"
25 } % begin verbatim
27 \new Staff {
28 \override Score.BreakAlignment #'break-align-orders =
29 #'#((left-edge ambitus breathing-sign clef staff-bar
30 key-cancellation key-signature time-signature custos)
32 (left-edge ambitus breathing-sign clef key-cancellation
33 staff-bar key-signature time-signature custos)
35 (left-edge ambitus breathing-sign clef key-cancellation
36 key-signature staff-bar time-signature custos))
38 \key des \major
39 c'1
40 \bar "||"
41 \key bes \major
42 c'1