% Generated by lilypond-book % Options: [printfilename,texidoc,linewidth] \paper { linewidth = 160 \mm } \renameinput "beam-cross-staff.ly" \version "2.2.0" \header{ texidoc=" Beams can be typeset over fixed distance aligned staves, beam beautification does not really work, but knees do. Beams should be behave well, wherever the switching point is. " } \score{ \context PianoStaff << \context Staff=one \notes\relative c'{ \stemUp c8[ c \change Staff=two \stemUp c c] c[ c c c] \change Staff=one \stemDown c8[ c \change Staff=two \stemUp c c] r2 \stemDown c8[ c \change Staff=one \stemDown c c] r2 \change Staff=two \stemUp c8[ c \change Staff=one \stemDown c c] r2 } \context Staff=two \notes\relative c'{ \clef bass s1 s1 s1 s1 } >> }