]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/remove-empty-staves-auto-knee.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / remove-empty-staves-auto-knee.ly
1 \version "2.19.21"
2
3 \header {
4   texidoc = "
5 RemoveEmptyStaves should keep the pre-existing value of
6 @code{auto-knee-gap}.  In this case, the cross-staff beam
7 should be between the two staves.
8 "
9 }
10
11 staffMusic = \new StaffGroup {
12   <<
13     \new Staff = "rh" {
14       \relative {
15         c'1 \break
16         c1 \break
17         c8[ c c c
18         \change Staff = "lh"
19         g, g g g]
20         \change Staff = "rh"
21         c1
22       }
23     }
24     \new Staff = "lh" {
25       \relative {
26         \clef bass
27         c1
28         R1
29         R1
30         R1
31       }
32     }
33   >>
34 }
35
36 \score {
37   \staffMusic
38 }
39
40 \layout {
41   ragged-right = ##t
42   \context {
43     \Staff
44     \override Beam.auto-knee-gap = #4.5
45     \RemoveEmptyStaves
46   }
47 }
48