lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glissando lines and accidentals


From: Werner LEMBERG
Subject: Re: glissando lines and accidentals
Date: Tue, 11 Aug 2020 12:43:05 +0200 (CEST)

>>   { <e' c''>2\glissando <d' bes'> }
>>
>> Due to the flat, the lower glissando line is far too short.
>>
>> beyond my capabilities right now.  Is there a solution to
>> circumvent this temporarily?
> 
> %%%%
> \version "2.20.0"
> 
> {
>   \override Glissando.before-line-breaking =
>   #(lambda (grob)
>     (let* ((nh (ly:spanner-bound grob RIGHT))
>            (acc (ly:grob-object nh 'accidental-grob)))
>       (ly:grob-set-nested-property!
>         grob
>         '(bound-details right end-on-accidental)
>         (ly:grob? acc))))
> 
>   <e' c''>2\glissando <d' bes'>
> }
> %%%%

Very nice, thanks!  The only thing now is to get the two lines
parallel, which looks like a lot of additional work...


   Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]