]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hara-kiri-rhythmicstaff.ly
Fix 2241: Proper copyright/header/tagline handling with multiple bookparts
[lilypond.git] / input / regression / hara-kiri-rhythmicstaff.ly
1 \version "2.14.0"
2 \header {
3   texidoc =
4
5       " Hara-kiri staves are suppressed if they are empty.  This
6 example really contains three rhythmic staves, but as it progresses, 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     \RhythmicStaff
22     \RemoveEmptyStaves
23   }
24 }
25
26 \context StaffGroup <<
27   \new RhythmicStaff {
28     c4 c c c \break
29     s1 \break
30     c4 c c c \break
31     c c c c
32   }
33   \new RhythmicStaff {
34     c4 c c c
35     s1
36     s1
37     s1
38   }
39   \new RhythmicStaff {
40     c4 c c c
41     s1
42     c4 c c c
43     s1
44   }
45 >>