Aaron Hill writes:
> On 2020-11-02 12:18 pm, Aaron Hill wrote:
>> #{ \once \override Glissando.after-line-breaking = #proc
>> <>\glissando #})
>
> You can even simplify that expression using \tweak:
>
> #{ <>-\tweak after-line-breaking #proc \glissando #}
>
> Not sure if \tweak is cheape
On 2020-11-02 12:18 pm, Aaron Hill wrote:
#{ \once \override Glissando.after-line-breaking = #proc
<>\glissando #})
You can even simplify that expression using \tweak:
#{ <>-\tweak after-line-breaking #proc \glissando #}
Not sure if \tweak is cheaper than \once \override.
-- Aaron
On 2020-11-02 12:18 pm, Aaron Hill wrote:
\glissTweak needs to be able to handle using
ly:grob-set-nested-property!:
glissTweak =
#(define-music-function
(parser location lst) (pair?)
(define (proc grob)
(let ((gliss-count (ly:grob-property grob 'glissando-index)))
(for-each
On 2020-11-02 11:48 am, Dimitris Marinakis wrote:
Is it possible to modify this tweak to include padding (left & right)
for
the individual gliss lines?
[...]
\glissTweak needs to be able to handle using
ly:grob-set-nested-property!:
glissTweak =
#(define-music-function
(parser locat
Is it possible to modify this tweak to include padding (left & right) for
the individual gliss lines?
#(define (radians->degree radians)
(/ (* radians 180) PI))
#(define ((gliss-plus-text padding text) grob)
(let* ((text-stencil (grob-interpret-markup grob text))
(spanner-stencil (ly