1\version "2.19.21"
2
3\header {
4  texidoc = "Metronome marks respect symbol order in
5@code{break-align-symbols}.
6
7In this example, the default is changed to
8@code{'(time-signature key-signature)}: since @code{key-signature}
9is second in the list, the mark should only be aligned with the key
10signature if there is no time signature present, as in the second
11measure.
12"
13}
14
15\paper {
16  ragged-right = ##t
17}
18
19\relative {
20  \override Staff.KeySignature.break-align-anchor-alignment = #LEFT
21  \override Score.MetronomeMark.break-align-symbols = #'(time-signature key-signature)
22  \key c \minor
23  \tempo "Time"
24  c'1
25  \key as \major
26  \tempo "Key"
27  c1
28}
29