[EMAIL PROTECTED] writes:
> 
> MB> Others can provide more details, I've never done this
> MB> myself.
> 
> Here's how I do it (output in `preview.png') -- of course it must be
> place in context:

Complete snippet (and slightly shorter: )

        \header {
            texidoc = "Cross staff stems

        Unfortunately, there is no support for putting chords across staves.
        You can get this result by increasing the length of the stem in the
        lower stave so it reaches the stem in the upper stave, or vice versa.

        @cindex  Cross staff stems
        @cindex Stems, cross staff

        "
        }

        stemExtend = \once \property Voice.Stem \override #'length  = #22

        %% following reqs 1.7.1 or better.
        noFlag = \once \property Voice.Stem \override #'flag-style = #'no-flag


        \score { \notes 
            \context  PianoStaff
                < \context Staff = up   {
                    \stemDown
                    \stemExtend
                    f'4
                    \stemExtend
                    \noFlag
                    f'8 }
                  \context Staff = down {
                      \clef bass
                      a4 a8 }
                  >

            \paper { linewidth = -1.0 }
        }


I've added this to 1.7.1 CVS

-- 
Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.cs.uu.nl/~hanwen 


_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to