+\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
r
r
}
- \context Voice = z {
+ \new Voice {
e4
r
r
r
r
}
- >
-\paper{
-}
-\midi{
-\tempo 1 = 60;
-}
+ >>
+ \paper{ raggedright = ##t }
}
+