X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmetronome-marking-break-align.ly;h=849ebb6146ea6a388ffa09d3553725f4853ce0ba;hb=26a079ca2393d053315ef8dbef626c897dc9645a;hp=4205904806db4c928eaaebd9757fffcf37ac9fa5;hpb=7dc057ffea8d7226a4fca7f186fcb74df4dda2dd;p=lilypond.git diff --git a/input/regression/metronome-marking-break-align.ly b/input/regression/metronome-marking-break-align.ly index 4205904806..849ebb6146 100644 --- a/input/regression/metronome-marking-break-align.ly +++ b/input/regression/metronome-marking-break-align.ly @@ -1,21 +1,35 @@ -\header { +\version "2.16.0" - - texidoc = "@code{\\tempo} are aligned with Tempo, Key or first musical -element. +\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. -" - +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. +" } -\version "2.13.24" \layout { line-width = 50\mm } -\relative { - \tempo "T-first" c1\mark \default \tempo "T-note" c \break - \tempo "T-break" c \tempo "T-rest" R - \break - \time 8/8 \tempo "T-time" R - \key as \major \tempo "T-key" R + +\relative c' { + \tempo "T-first" + c1 + \mark \default + \tempo "T-note" + c1 \break + \tempo "T-break" + c1 + \tempo "T-rest" + R1 \break + \time 8/8 + \tempo "T-time" + R1 + \override Score.MetronomeMark #'break-align-symbols = #'(key-signature) + \key as \major + \tempo "T-key" + R1 }