]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hara-kiri-tabstaff.ly
Doc: Do not confuse status script
[lilypond.git] / input / regression / hara-kiri-tabstaff.ly
1 \version "2.13.10"
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 Any staff brackets and braces are removed, both in the single staff
14 and no staff case."
15
16 }
17
18 \layout {
19   ragged-right= ##t
20   \context {
21     \RemoveEmptyTabStaffContext
22   }
23 }
24
25
26 \context PianoStaff <<
27   \new TabStaff {
28     c4 c c c \break
29     s1 \break
30     c4 c c c \break
31     c c c c
32   }
33   \new TabStaff {
34     d4 d d d
35     s1
36     s1
37     s1
38   }
39   \new TabStaff {
40     e4 e e e
41     s1
42     e4 e e e
43     s1
44   }
45 >>
46
47
48