lilypond-user
[Top][All Lists]
Advanced

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

Question on cross-staff


From: Paolo Prete
Subject: Question on cross-staff
Date: Fri, 28 Feb 2020 17:25:58 +0100

Hello.

Please look at the snippet below. A cross-staff behavior would be obtained with the "\change Staff" command. But given that this method is very buggy (not in this case, but in many other situations), I wonder if it can bypassed by adding "fake" stems on the rests on the upper staff (and then hide the rests), so that the stems on the lower staff can connect to them with the "\crossStaff" command.

Any idea of how to make this?

Thank you!
Best
P

%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.84"

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

{
  \new PianoStaff <<
    \new Staff {
      c'8^[ r r c']    
    }
    \new Staff {
      \voiceOne
      \autoBeamOff
      \crossStaff { \autoBeamOff s8 c' c' s }
    }
  >>
}

reply via email to

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