Le 16/01/2023 à 16:57, Kieren MacMillan a écrit :
Hi all,
In any case, please submit this to the LSR!
I was *just* going to look at this to see if it could be improved viz-a-viz
Jean’s suggestion that callbacks using after-line-breaking are often better
done with grob-transformer. [Yes, I
Hi all,
> In any case, please submit this to the LSR!
I was *just* going to look at this to see if it could be improved viz-a-viz
Jean’s suggestion that callbacks using after-line-breaking are often better
done with grob-transformer. [Yes, I know this is *before*-line-breaking…] If
so, that
> Le 16 janv. 2023 à 15:07, Mark Knoop a écrit :
>
>
> At 12:51 on 16 Jan 2023, Werner LEMBERG wrote:
>>> \new Staff {
>>> \override TextScript.before-line-breaking =
>>> #(lambda (grob)
>>> (ly:grob-set-property! grob 'text
>>>(markup #:replace
>>>
At 12:51 on 16 Jan 2023, Werner LEMBERG wrote:
>> \new Staff {
>> \override TextScript.before-line-breaking =
>> #(lambda (grob)
>> (ly:grob-set-property! grob 'text
>> (markup #:replace
>> `(("♭" . ,#{ \markup{ \tflat} #})
> I quite like this, but incorporating this into my previous code I
> found going down TWO steps to be optically more pleasing.
OK :-)
> \new Staff {
> \override TextScript.before-line-breaking =
> #(lambda (grob)
> (ly:grob-set-property! grob 'text
>