Previous: Staff switch lines, Up: Piano music


7.1.5 Cross staff stems

Chords that cross staves may be produced by increasing the length of the stem in the lower staff, so it reaches the stem in the upper staff, or vice versa.

     
     stemExtend = \once \override Stem #'length = #22
     noFlag = \once \override Stem #'flag-style = #'no-flag
     \new PianoStaff <<
       \new Staff {
         \stemDown \stemExtend
         f'4
         \stemExtend \noFlag
         f'8
       }
       \new Staff {
         \clef bass
         a4 a8
       }
     >>

[image of music]



Previous: Staff switch lines, Up: Piano music

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.