Faulty extra beam with manual beam and cross-staff stems

"Ole V. Villumsen via bug-lilypond" <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <ToNkLNQ1JM0P2hc00zlf8-o8AOryCLzOdObmKFzDpTYCpnXNo-rIFtP6xAaDbj--LGBwgOZIEdS7P0NWTdRaRARGSzvwTUYeUGYPitmu9Gs=@protonmail.ch>
% Manual beams and cross-staff stems don’t seem to work together.
% Expected result: Shared stems across staves; beams above notes in upper staff only.

% I have tried all possible combinations of specifying beams and \crossStaff in the
% upper staff, the lower one and both. I always get unwanted beams in the lower staff.

% Might be related to https://gitlab.com/lilypond/lilypond/-/issues/3390

\version "2.24.1"

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

\new PianoStaff <<
  \new Staff \relative {
    r8 \crossStaff { e'[ e] } r
    r \crossStaff { e e } r |
    r \crossStaff { e[ e] } r
    r e[ e] r |
    r e e r
    r e[ e] r |
    r \crossStaff { e[ e] } r
    r \crossStaff { e e } r |
    r \crossStaff { e[ e] } r
    r2 |
  }
  \new Staff \relative {
    \clef bass
    \stemUp
    r8 g g r
    r g[ g] r |
    r g[ g] r
    r \crossStaff { g g } r |
    r \crossStaff { g[ g] } r
    r \crossStaff { g[ g] } r |
    r \crossStaff { g g } r
    r \crossStaff { g[ g] } r |
    r \crossStaff { g[ g] } r
    r2 |
  }
>>

--
Ole V. Villumsen
Jelshøjvænget 13
DK - 8270  Højbjerg
+45 - 86 27 29 26
Text +45 - 30 22 29 26

Sent with Proton Mail secure email.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.