]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/remove-empty-staves-with-rests.ly
1f0aff86027acf302cc6467f0ad663196493927d
[lilypond.git] / input / regression / remove-empty-staves-with-rests.ly
1 \version "2.14.0"
2 \header {
3
4   texidoc = "
5 Rests should not keep staves alive when
6 @code{\RemoveEmptyStaffContext} is active.  The
7 following example should have only one staff.
8 "
9
10 }
11
12 \score {
13  <<
14    \new Staff {
15      \partial 16 r16 | R1 | r1
16    }
17    \new Staff {
18      \partial 16 c'16 | c'1 | c'1
19    }
20  >>
21
22  \layout { \context { \RemoveEmptyStaffContext
23      \override VerticalAxisGroup #'remove-first = ##t } }
24 }