Le 20/12/2022 à 10:53, Jean Abou Samra a écrit :
Le 20/12/2022 à 06:23, William Rehwinkel a écrit :
Dear list,

In the following tiny example, I override some variables to do with how beamed notes are rendered, and also configure to use the flat-flag stencil. I was wondering if it was possible to modify how the unbeamed flag stencil was rendered so that it would look identical to the lines rendered for beams? My apologies, wasn't able to find anything for this when looking at the flag reference.


In the source code, flat-flag is defined as (straight-flag 0.55 1.0 0 1.0 0 1.0) here: https://gitlab.com/lilypond/lilypond/-/blob/master/scm/flag-styles.scm#L125

You can modify those parameters as well as Stem.length to your liking:


OK, here is another solution using an actual beam:

\version "2.24.0"
\relative g' {
    \override Flag.stencil = #flat-flag
    r8. \set stemLeftBeamCount = 0 g16[] g g g g
    \override Beam.beam-thickness = #0.6 \override Beam.length-fraction = #1.0
    r8. g16 g g g g
}


Best,
Jean

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to