1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
9 If specified, text marks may be aligned with notation objects other
10 than bar lines. These objects include @code{ambitus},
11 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
12 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
13 @code{time-signature}.
17 In such cases, text marks will be horizontally centered above the
18 object. However this can be changed, as demonstrated on the second line
19 of this example (in a score with multiple staves, this setting should
20 be done for all the staves).
25 doctitle = "Aligning marks with various notation objects"
30 % the RehearsalMark will be centered above the Clef
31 \override Score.RehearsalMark #'break-align-symbols = #'(clef)
37 % the RehearsalMark will be centered above the TimeSignature
38 \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
45 % the RehearsalMark will be centered above the KeySignature
46 \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
56 % the RehearsalMark will be aligned with the left edge of the KeySignature
57 \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
62 % the RehearsalMark will be aligned with the right edge of the KeySignature
63 \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
68 % the RehearsalMark will be aligned with the left edge of the KeySignature
69 % and then shifted right by 1 unit.
70 \once \override Score.KeySignature #'break-align-anchor = #1