]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/beam-cross-staff-auto-knee.ly
23bbb59ae1c8d45ee46c03e451d95874254a0e14
[lilypond.git] / input / regression / beam-cross-staff-auto-knee.ly
1
2 \version "2.1.22"
3
4 \header{
5
6     texidoc="Automatic cross-staff knees also work (here we see them
7 with explicit staff switches)."
8
9      }
10
11 \score {
12   \notes \context PianoStaff <<
13     \context Staff = "up" \notes\relative c''{
14       b8[ \change Staff="down" d,, ]
15       c[ \change Staff="up" c'' ]
16       b,[ \change Staff="down" d^"no knee" ]
17     }
18     \context Staff = "down" {
19       \clef bass 
20       s2.
21     }
22   >>
23   \paper{
24     raggedright = ##t
25   }
26 }