[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken beam to the left not working?
From: |
Jean Abou Samra |
Subject: |
Re: Broken beam to the left not working? |
Date: |
Wed, 30 Mar 2022 17:41:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
Le 30/03/2022 à 17:28, Knute Snortum a écrit :
Thanks for this, Jean. Do you know if there's a way to get the beams
to extend a little more to the left or right?
I couldn't find better than
\relative c'' {
\override Beam.beam-segments =
#(grob-transformer 'beam-segments
(lambda (grob default)
(filter
(lambda (seg)
;; 0 to lengthen outermost segment.
(if (eqv? 0 (assoc-ref seg 'vertical-count))
(assoc-set! seg
'horizontal
(coord-translate (assoc-ref seg 'horizontal)
;; Lengthen by 2.
'(0 . 2.0)))
seg))
default)))
f16[ e
\set stemRightBeamCount = 1
f] s8
}
Best,
Jean