]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-tweaks.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / multi-measure-rest-tweaks.ly
index 5a70e23f50a3fb611dad51d1e66fddc8e6dfe613..af157a37c7f320ddcb20a4d3a7cf8db16ee38072 100644 (file)
@@ -2,13 +2,24 @@
   texidoc = "Multi-measure rests standard values can be tweaked."
 }
 
-\version "2.15.2"
+\version "2.17.6"
+
+\markup "Use non-standard multi-measure rests:"
 \new Staff {
-  \override MultiMeasureRest #'usable-duration-logs = #'(2 1)
-  \time 1/4 R4-"Use non-standard multi-measure rests."
+  \override MultiMeasureRest.usable-duration-logs = #(iota 2 1)
+  \time 1/4 R4
   \time 2/4 R2
 }
+\markup "Round up to the longer rest:"
+\new Staff {
+  \override MultiMeasureRest.round-up-to-longer-rest = ##t
+  \time 3/2 R1.
+  \time 7/2 R\breve..
+}
+\markup "Round up to the longer rest only in specified time signatures:"
 \new Staff {
-  \override MultiMeasureRest #'round-to-longer-rest = ##t
-  \time 3/2 R1.-"Round to the longer rest." \time 7/2 R\breve..
+  \override MultiMeasureRest.round-up-exceptions = #'((3 . 2))
+  \time 3/2 R1.
+  \time 7/2 R\breve..
+  \time 3/2 R1.
 }