]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/maximum-rest-count.ly
*** empty log message ***
[lilypond.git] / input / test / maximum-rest-count.ly
index 6e1759a17032d46d8f18c39a94dad5229b0bb3ce..20efbdca6e0f00d92aadf414815fceb0e3f5a06e 100644 (file)
@@ -1,18 +1,25 @@
+\version "2.1.7"
+% possible rename to rest-foo
+\header {
+    texidoc = "@cindex Rest Collision Count
+Control the number of rests in a collision with maximum-rest-count."
+}
+
 \score{
-\context Staff \notes\relative c''<
-       \context Voice = x {
+\context Staff \notes\relative c''<<
+       \new Voice {
                a4 
                r 
-               \property Voice.maximumRestCount = #3
+               \property Staff. RestCollision \set #'maximum-rest-count = #1
                r 
-               \property Staff.maximumRestCount = #2
+               \property Staff. RestCollision \set #'maximum-rest-count = #2
                r 
-               \property Staff.maximumRestCount = #1
+               \property Staff. RestCollision \set #'maximum-rest-count = #3
                r 
                r8 r8
                c
        }
-       \context Voice = y {
+       \new Voice {
                c4
                r
                r 
@@ -21,7 +28,7 @@
                r
                r
        }
-       \context Voice = z {
+       \new Voice {
                e4
                r
                r 
                r
                r
        }
-       >
-\paper{
-}
-\midi{
-\tempo 1 = 60;
-}
+       >>
+       \paper{ raggedright = ##t }
 }
+