]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/metronome-marking-break-align.ly
6d21f0203d377aadad7d99cf38970a6c27ad6ec4
[lilypond.git] / input / regression / metronome-marking-break-align.ly
1 \version "2.14.0"
2
3 \header {
4   texidoc = "@code{\\tempo} marks are aligned with the time signature
5 or first musical element unless the first element is a multi-measure
6 rest: in this case, the tempo mark is aligned with the bar line.
7
8 By overriding @code{break-align-symbols} the default alignment can be
9 changed, as shown by the final metronome mark in this snippet, aligned
10 with a key signature.
11 "  
12 }
13
14 \layout {
15   line-width = 50\mm
16 }
17
18 \relative c' {
19   \tempo "T-first"
20   c1
21   \mark \default
22   \tempo "T-note"
23   c1 \break
24   \tempo "T-break"
25   c1
26   \tempo "T-rest"
27   R1 \break
28   \time 8/8
29   \tempo "T-time"
30   R1
31   \override Score.MetronomeMark #'break-align-symbols = #'(key-signature)
32   \key as \major
33   \tempo "T-key"
34   R1
35 }