Le 29/03/2022 à 19:51, Knute Snortum a écrit :
I've come across an odd behavior, maybe a bug. I am trying to create
a broken/partial/fragmented beam to the left of the note group. I can
do it to the right just fine. Some code may help illustrate what I mean:
%%%
\version "2.23.7"
% This doesn't work: no beams are created
\relative c''' {
\hideNotes g8[ \unHideNotes f16 e f]
}
% This works: beams are created with a partial beam at the end
\relative c'' {
f16[ e f \hideNotes g8] \unHideNotes
}
%%%
The "\hideNotes" trick works when I want the partial beam to the
right, but not to the left. Bug? Is there a work-around?
I didn't investigate, but using \hideNotes is always hacky. There is a
much better way:
\version "2.22.2"
\relative c''' {
s8
\set stemLeftBeamCount = 1
f,16[ e f]
}
\relative c'' {
f16[ e
\set stemRightBeamCount = 1
f] s8
}
https://lilypond.org/doc/v2.22/Documentation/notation/beams#manual-beams
Best,
Jean