]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hara-kiri-tabstaff.ly
96363273f978fb9f240c774314976043a5ef8c9a
[lilypond.git] / input / regression / hara-kiri-tabstaff.ly
1 \version "2.13.18"
2
3 \header {
4   texidoc =
5
6       " Hara-kiri staves are suppressed if they are empty.  This
7 example really contains three tab staves, but as it progresses, empty ones
8 are removed: this example has three staves, but some of them
9 disappear: note how the 2nd line only has the bar number 2. (That the
10 bar number is printed might be considered a bug, however, the scenario
11 of all staves disappearing does not happen in practice.)"
12
13 }
14
15 \layout {
16   ragged-right= ##t
17   \context {
18     \TabStaff
19     \RemoveEmptyStaves
20   }
21 }
22
23
24 \new GrandStaff <<
25   \new TabStaff {
26     c4 c c c \break
27     s1 \break
28     c4 c c c \break
29     c c c c
30   }
31   \new TabStaff {
32     d4 d d d
33     s1
34     s1
35     s1
36   }
37   \new TabStaff {
38     e4 e e e
39     s1
40     e4 e e e
41     s1
42   }
43 >>
44