]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/metronome-text.ly
Merge master into nested-bookparts
[lilypond.git] / input / regression / metronome-text.ly
1 \version "2.11.51"
2
3 \header{
4   texidoc="
5 The tempo command supports text markup and/or duration=count. Using the
6 Score.hideTempoNote, one can hide the duration=count in the tempo mark.
7 "
8 }
9
10 \relative c'' {
11   \tempo "Allegro" c1
12   \tempo "Allegro" c1
13   \set Score.tempoText = #"blah" d1
14   \tempo \markup{\italic \medium "Allegro"} c1\break
15   \tempo 4=120 c1
16   \tempo "Allegro" 4=120 c1
17   \tempo "Allegro" 4=120 c1
18   \tempo "Allegro" 4=110 c1
19   \tempo "Allegretto" 4=110 c1\break
20
21   \set Score.tempoHideNote = ##f
22   \tempo "Allegro" 4=120 c1
23   \set Score.tempoHideNote = ##t
24   \tempo "No note" 8=160 c1
25   \tempo "Still not" c1
26   % No text and also no note => \null markup
27   \tempo 4=100 c1
28   \tempo "Allegro" 4=120 c1
29   \set Score.tempoHideNote = ##f
30   \tempo "With note" 8=80 c1\break
31
32   % Unsetting the tempoText using only note=count:
33   \tempo 8=80 c1
34   \tempo "Allegro" 8=80 c1
35   \tempo 8=80 c1
36   
37   % Unsetting the count using only text
38   \tempo "no note (text-only)" c1
39 }