]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hara-kiri-short.ly
8a9a9c004410ddc37b01461cb6af74253a89baa8
[lilypond.git] / input / regression / hara-kiri-short.ly
1 \version "1.7.19"
2 \header{
3 texidoc="
4 Hara kiri staves kill themselves if they are empty.  This example really
5 contains two staves, but the second contains only spaces, and is
6 therefore removed.  Also, any staff brackets and braces are removed.
7 "
8 }
9
10
11
12
13
14 zager =  \context Staff = zager \notes \relative c'' {
15         \clef treble
16         c1      c1
17 }
18
19 zeuger =  \context Staff = zeuger \notes \relative c'' {
20         \clef treble
21         c1      c1
22 }
23
24 zoger =  \context Staff = zoger \notes \relative c'' {
25         \clef treble
26         \skip 2* 1
27 }
28
29 zagers =  \context StaffGroup <
30         \zager
31         \zoger
32         \zeuger
33 >
34  
35 \score{
36         < \context StaffGroup = zagers <
37                         \zagers
38         > >
39         \paper{
40                 linewidth = 80.0\mm
41
42                 \translator { \RemoveEmptyStaffContext }
43 %uh?
44
45         }
46 }
47
48
49