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:

\version "2.24.0"

\relative g' {
    \override Flag.stencil = #(straight-flag 0.5 0.8 0 1.0 0 1.0)
    \override Stem.length = 6.1
    r8. 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