bug-lilypond
[Top][All Lists]
Advanced

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

Re: Faulty extra beam with manual beam and cross-staff stems


From: Jean Abou Samra
Subject: Re: Faulty extra beam with manual beam and cross-staff stems
Date: Tue, 01 Aug 2023 20:46:57 +0200
User-agent: Evolution 3.48.4 (3.48.4-1.fc38)

Le mardi 01 août 2023 à 18:34 +0000, Ole V. Villumsen via bug-lilypond a écrit :
> % 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.

You should add \autoBeamOff in the lower staff, and remove the manual beams 
there.

\version "2.25.7"


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

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



\crossStaff requires an explicit \autoBeamOff. I'm not saying that this is
the perfect user interface, but there is no bug here.

Jean



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


reply via email to

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