Le mercredi 22 mars 2023 à 17:24 -0700, Mark Stephen Mrotek a écrit :
> Jean,  
>    
> Attached is a MWE  
> Want stem to connect c and a, also c an g.  
> Thank you for your kind attention.  


This works for me:

```
\version "2.22.2"

ArightOne = \relative c'' {
  f4 (e8) s8
}

ArightTwo = \relative c'' {
  \crossStaff { a4 g16 }
}

AleftOne = \relative c' {
  s4.
}

AleftTwo = \relative c' {
  \crossStaff {
  c4~ c16} <bes d> <a c> <g bes>
}

\score {
  \new PianoStaff
  <<
    \new Staff = "right" << \ArightOne \\ \ArightTwo >>
    \new Staff = "left" { \clef bass << \AleftOne \\ \AleftTwo >> }
    >>
  \layout {
    indent = 0
    \context {
    \PianoStaff
    \consists #Span_stem_engraver
  }
  }
  }
```

My guess is that you put `\crossStaff` in the lower staff rather than in the 
upper staff. It must be put on the voice where the stems need to extend to 
another voice.

Best,

Jean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to