]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/beam-multiple-cross-staff.ly
.ly version update.
[lilypond.git] / input / regression / beam-multiple-cross-staff.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.8"
3 \header {
4
5     texidoc = "Kneed beams (often happens with cross-staff beams)
6 should look good when there are multiple beams: all the beams should
7 go on continuously at the staff change. Stems in both staffs reach up
8 to the last beam.
9 "
10 }
11
12 \score { \notes
13          \context PianoStaff \relative c' <<
14              \context Staff = SA {
15                  \stemDown
16                   c8[ c16 \translator Staff = SB \stemUp c16 ]
17                  \stemBoth
18                   f[ g \translator Staff = SA a c] 
19                                }
20              \context Staff = SB \relative c' {
21 \clef bass
22                   b8[ b16 \stemUp b,,16 ]
23
24                  g'4\rest
25                   b,8[ b16 \stemDown b''16 b ]
26              }       
27              
28              >>
29     \paper { raggedright= ##t }
30
31 }