]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hara-kiri-staff.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / hara-kiri-staff.ly
1 \version "2.14.0"
2
3 \header { texidoc =
4
5           " Hara-kiri staves kill themselves if they are empty.  This
6 example really contains three staves, but as they progress, empty ones
7 are removed: this example has three staves, but some of them
8 disappear: note how the 2nd line only has the bar number 2. (That the
9 bar number is printed might be considered a bug, however, the scenario
10 of all staves disappearing does not happen in practice.)
11
12 Any staff brackets and braces are removed, both in the single staff
13 and no staff case.
14 "
15           
16 }
17
18 \layout {
19   ragged-right= ##t
20   \context {
21     \Staff
22     \RemoveEmptyStaves
23   }
24 }
25
26 \transpose c c''
27 \context GrandStaff <<
28   \new Staff {  c4 c c c \break s1 \break c4 c c c \break c c c c}
29   \new Staff {  d4 d d d        s1        s1              s1 }
30   \new Staff {  e4 e e e        s1        e4 e e e        s1 }
31 >>
32
33
34