The new \crossStaff command distributes chord notes on two staves, e.g.

\version "2.16.0"

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

{
  \new PianoStaff <<
    \new Staff {
      *4
    }
    \new Staff {
      \clef bass
      \override Stem #'direction = #up
      \crossStaff { <e g>4 }
    }
  >>
}

However as all chord notes (musically) belong to the same voice I would like
to notate the entire chord within the same context. Is it somehow possible
to write a cross-staff chord within *one* staff context only (using \change
Staff)? I thought about something like the following (which however does not
perform a staff change):


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

{
  \new PianoStaff <<
    \new Staff = "upper" {
      <<
        { *4 }
        { \change Staff = "lower" \crossStaff { <e g>4 } }
      >>
    }
    \new Staff = "lower" {
      \clef bass
      s4
    }
  >>
}


Thanks for suggestions,
Dominik



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/crossStaff-question-tp133443.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to