lilypond-user
[Top][All Lists]
Advanced

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

Re: Change staff and cross staff


From: Knute Snortum
Subject: Re: Change staff and cross staff
Date: Sat, 7 Nov 2020 11:02:10 -0800

Here's a better MWE with my try using voices in the left hand:

%%% Start
\version "2.20.0"
\language "english"

staffUp   = \change Staff = "upper"
staffDown = \change Staff = "lower"

rh = \relative c' {
  s8. \crossStaff e16
}

lh = \relative c' {
  \clef bass
  << { <gs b>8[ r16 b] } \\ { e,,4 } >>
}

\score {
  \new PianoStaff <<
    \new Staff = "upper" { \rh }
    \new Staff = "lower" { \lh }
  >>
  \layout {
    \context {
      \PianoStaff
      \consists #Span_stem_engraver
    }
  }
}
%%% End

--
Knute Snortum

On Sat, Nov 7, 2020 at 10:48 AM Knute Snortum <ksnortum@gmail.com> wrote:
>
> I have a tricky measure in the Chopin Mazurka I'm working on.  The
> notes need to be on the lower staff (from the right hand) and the last
> chord is cross staff.  I'd like to be able to do something like
> this...
>
> %%% Start
> \version "2.20.0"
>
> staffUp   = \change Staff = "upper"
> staffDown = \change Staff = "lower"
>
> \relative c, {
>   \staffDown <gs b>8[ r16 <b \staffUp \crossStaff e>
> }
> %%% End
>
> ..but of course that doesn't work.  I tried something with two voices
> in the left hand, but ran into problems.  I've attached a screenshot
> of the measure.
>
> --
> Knute Snortum



reply via email to

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