X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fmetronome-text.ly;h=2f02d1c141a5a62651dedbeefe42a1dd76afe444;hb=36fba3138858ee42ba3f03e3de0efa1d1f49d147;hp=8282dbcc3cdf995f30c73ced9d34bc6c751a0f05;hpb=7db48458b2391255b87ed9fb597ce6ff2391eb7a;p=lilypond.git diff --git a/input/regression/metronome-text.ly b/input/regression/metronome-text.ly index 8282dbcc3c..2f02d1c141 100644 --- a/input/regression/metronome-text.ly +++ b/input/regression/metronome-text.ly @@ -1,38 +1,40 @@ -\version "2.11.51" +\version "2.19.21" \header{ texidoc=" -The tempo command supports text markup and/or duration=count. Using the -Score.hideTempoNote, one can hide the duration=count in the tempo mark. +The tempo command supports text markup and/@/or `duration=count'. Using +@code{Score.tempoHideNote}, one can hide the `duration=count' in the tempo mark. " } -\relative c'' { +\relative { + \tempo "Allegro" c''1 \tempo "Allegro" c1 - \tempo "Allegro" c1 - \set Score.tempoText = #"blah" d1 - \tempo \markup{\italic \medium "Allegro"} c1\break - \tempo 4=120 c1 - \tempo "Allegro" 4=120 c1 - \tempo "Allegro" 4=120 c1 - \tempo "Allegro" 4=110 c1 - \tempo "Allegretto" 4=110 c1\break + $(make-event-chord (list (make-music 'TempoChangeEvent + 'text "blah"))) + d1 + \tempo \markup { \italic \medium "Allegro" } c1 \break + \tempo 4 = 120 c1 + \tempo "Allegro" 4 = 120 c1 + \tempo "Allegro" 4 = 120 c1 + \tempo "Allegro" 4 = 110 c1 + \tempo "Allegretto" 4 = 110 c1 \break \set Score.tempoHideNote = ##f - \tempo "Allegro" 4=120 c1 + \tempo "Allegro" 4 = 120 c1 \set Score.tempoHideNote = ##t - \tempo "No note" 8=160 c1 + \tempo "No note" 8 = 160 c1 \tempo "Still not" c1 % No text and also no note => \null markup - \tempo 4=100 c1 - \tempo "Allegro" 4=120 c1 + \tempo 4 = 100 c1 + \tempo "Allegro" 4 = 120 c1 \set Score.tempoHideNote = ##f - \tempo "With note" 8=80 c1\break + \tempo "With note" 8 = 80 c1 \break % Unsetting the tempoText using only note=count: - \tempo 8=80 c1 - \tempo "Allegro" 8=80 c1 - \tempo 8=80 c1 + \tempo 8 = 80 c1 + \tempo "Allegro" 8 = 80 c1 + \tempo 8 = 80 c1 % Unsetting the count using only text \tempo "no note (text-only)" c1