]> git.donarmstrong.com Git - lilypond.git/blob - input/test/maximum-rest-count.ly
* scm/paper.scm (set-staff-size): new function: set default
[lilypond.git] / input / test / maximum-rest-count.ly
1 \version "2.1.7"
2 % possible rename to rest-foo
3 \header {
4     texidoc = "@cindex Rest Collision Count
5 Control the number of rests in a collision with maximum-rest-count."
6 }
7
8 \score{
9 \context Staff \notes\relative c''<<
10         \new Voice {
11                 a4 
12                 r 
13                 \property Staff. RestCollision \set #'maximum-rest-count = #1
14                 r 
15                 \property Staff. RestCollision \set #'maximum-rest-count = #2
16                 r 
17                 \property Staff. RestCollision \set #'maximum-rest-count = #3
18                 r 
19                 r8 r8
20                 c
21         }
22         \new Voice {
23                 c4
24                 r
25                 r 
26                 r
27                 r
28                 r
29                 r
30         }
31         \new Voice {
32                 e4
33                 r
34                 r 
35                 r
36                 r
37                 r
38                 r
39         }
40         >>
41         \paper{ raggedright = ##t }
42 }
43