[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Broken beam to the left not working?
From:       Knute Snortum <ksnortum () gmail ! com>
Date:       2022-03-30 23:10:10
Message-ID: CALmeJxSQHgESqanTp-TF_c__smzRqj7V=dZ-OAyLgXZqWByNLA () mail ! gmail ! com
[Download RAW message or body]

On Wed, Mar 30, 2022 at 8:41 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
>
> 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
> }

Thanks for this.  I appreciate your work on it.

--
Knute Snortum

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic