Hi Niels,

Am 17.09.21 um 12:04 schrieb Niels:
See the following example:

\version "2.20.0"
\score {
  \new PianoStaff
  <<
    \new Staff {\clef G c''8 r}
    \new Staff {\clef F r8 c}
  >>
}

Is it possible to have a beam between the c'' and the c when they are different voices and different staves? Of course the problem can be solved using changing staff, but then the rest in the upper staff is not shown:

\score {
  \new PianoStaff
  <<
    \new Staff = "up" {\clef G c''8[ \change Staff = "low" c8]}
    \new Staff = "low" {\clef F r8 s8}
  >>
}

As far as I know, notes can only be beamed if they are in the same voice. (Not speaking of things like moving Beam_engraver to another context etc.)

I think the standard solution would be multiple voices in the upper staff:

\version "2.20.0"

\score {
  \new PianoStaff
  <<
    \new Staff = "up" {
      c''8[
      <<
        \change Staff = "low" c8]
        \new Voice { \oneVoice r8 }
      >>
    }
    \new Staff = "low"
    {
      \clef F r8 s8
    }
  >>
}

Lukas


Reply via email to