lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross-staff chords with stems down


From: ornello
Subject: Re: cross-staff chords with stems down
Date: Sat, 15 Dec 2012 02:32:55 -0800 (PST)

ornello wrote
> Cross-staff chords seem to work with stems up only.

For those who are interested, here is the solution (thanks to Eluze and
Thomas Morley):

\layout {
  \context {
    \PianoStaff
    \consists #Span_stem_engraver
  }
}

{
  \new PianoStaff <<
    \new Staff {
      \stemDown
      \autoBeamOff
      \crossStaff { < b d'>4 r d'16\> e'8. g8} r\!
      \autoBeamOn
      e'8 f' g'4 e'2
    }
    \new Staff {
      \clef bass
      \voiceOne
      \stemDown
      <e g>4 e, g16 a8. c8 d
      g8 f g4 c2
    }
  >>
} 

If there are two or more voices within the staff originating the cross-staff
stem, it might be necessary to shift notes that should not be connected to
the cross-staff stem, e.g.

\layout {
  \context {
    \Score
    autoBeaming = ##f
  }
  \context {
    \PianoStaff
    \consists #Span_stem_engraver
  }
}

\new PianoStaff <<
  \new Staff <<
    \new Voice {
      \voiceOne \shiftOn
      g''4
    }
    \new Voice {
      < b d'>8 [ < b d'>8 ]
    }
  >>
  \new Staff {
    \clef bass
    \new Voice {
      \voiceOne
      \crossStaff { <e g>8 <e g>8 }
    }
  }
>> 

Maybe these examples could be added to the snippets or to the
documentation...

Dominik



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/cross-staff-chords-with-stems-down-tp137675p137731.html
Sent from the Dev mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]