lilypond-user
[Top][All Lists]
Advanced

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

Re: Cross-Staff stems not working


From: Knute Snortum
Subject: Re: Cross-Staff stems not working
Date: Sat, 25 Jun 2022 06:51:58 -0700

On Sat, Jun 25, 2022 at 5:59 AM Simon Bailey <binabik@gmail.com> wrote:
>
> Hi,
>
> consider this code:
>
> \version "2.23.9"
> \layout {
>   \context {
>     \PianoStaff
>     \consists "Span_stem_engraver"
>   }
> }
>
> {
>   \new PianoStaff <<
>     \new Staff {
>       <ais' fis''>4 r r2 |
>     }
>     \new Staff {
>       \clef bass
>       \crossStaff { <dis dis'>4 } r r2 |
>     }
>   >>
> }
>
> What am I missing to get the stem to span the staves? I get the
> attached output with two separate chords...

It worked for me when I used \crossStaff on the upper chord, not the lower:

\version "2.23.9"

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

\new PianoStaff <<
  \new Staff {
    \crossStaff { <ais' fis''>4 } r r2 |
  }
  \new Staff {
    \clef bass
    <dis dis'>4 r r2 |
  }
>>

--
Knute Snortum



reply via email to

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