]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/metronome-marking-break-align.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / metronome-marking-break-align.ly
index 4205904806db4c928eaaebd9757fffcf37ac9fa5..e8275d2176e96c9a81f1d15902a78704013bf47d 100644 (file)
@@ -1,21 +1,42 @@
-\header {
+\version "2.19.21"
 
-  
-  texidoc = "@code{\\tempo} are aligned with Tempo, Key or first musical
-element.
+\header {
+  texidoc = "@code{\\tempo} marks are aligned with the time signature
+or the position of the first note.
 
+By overriding @code{break-align-symbols} the default alignment can be
+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.
 "
-  
 }
-\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
+  \tempo "T-first"
+  c'1
+  \mark \default
+  \tempo "T-note"
+  c1 \break
+  \tempo "T-break"
+  c1
+  \tempo "T-phantom"
+  R1 \break
+  \time 8/8
+  \tempo "T-time"
+  R1
+  \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
 }