X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmetronome-marking-break-align.ly;h=e8275d2176e96c9a81f1d15902a78704013bf47d;hb=57120404e1b09f6923f5f5d8f4f17a21cec4f873;hp=849ebb6146ea6a388ffa09d3553725f4853ce0ba;hpb=522f419e3ed3e09ecf834bbb5315ac1777ab13e0;p=lilypond.git diff --git a/input/regression/metronome-marking-break-align.ly b/input/regression/metronome-marking-break-align.ly index 849ebb6146..e8275d2176 100644 --- a/input/regression/metronome-marking-break-align.ly +++ b/input/regression/metronome-marking-break-align.ly @@ -1,35 +1,42 @@ -\version "2.16.0" +\version "2.19.21" \header { texidoc = "@code{\\tempo} marks are aligned with the time signature -or first musical element unless the first element is a multi-measure -rest: in this case, the tempo mark is aligned with the bar line. +or the position of the first note. By overriding @code{break-align-symbols} the default alignment can be -changed, as shown by the final metronome mark in this snippet, aligned -with a key signature. -" +changed. If no symbol in @code{break-align-symbols} is present, the +property @code{non-break-align-symbols} determines the alignment. If +the alignment object is a multi-measure rest, the tempo mark is aligned +with the preceding bar line. +" } \layout { line-width = 50\mm } -\relative c' { +\relative { \tempo "T-first" - c1 + c'1 \mark \default \tempo "T-note" c1 \break \tempo "T-break" c1 - \tempo "T-rest" + \tempo "T-phantom" R1 \break \time 8/8 \tempo "T-time" R1 - \override Score.MetronomeMark #'break-align-symbols = #'(key-signature) + \override Score.MetronomeMark.break-align-symbols = #'(key-signature) \key as \major \tempo "T-key" + c1 \break + \override Score.MetronomeMark.non-break-align-symbols = + #'(note-column-interface multi-measure-rest-interface) + \tempo "T-rest" + R1 + \tempo "T-rest" R1 }