|
From: | Urs Liska |
Subject: | Re: Force TextScript to staff-padding / optional \textLengthOn |
Date: | Tue, 29 Jan 2019 12:52:35 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Hm, after sending this request for help I (hopefully) found a
solution myself. But I don't pretend to understand it ... Am 29.01.19 um 10:55 schrieb Urs Liska:
Well, as said I seem to have achieved my goal, but I would be happy to understand it better. As said tweaking 'staff-padding to a callback function makes the spacing behave like with \textLengthOn (i.e. extra-spacing-width and -height set). If on the other hand I tweak before-line-breaking to a callback, and within that callback set the staff-padding property of the grob to the calculated value there doesn't seem to be such a side effect. #(define (apply-staff-padding grob) (ly:grob-set-property! grob 'staff-padding (calc-staff-padding grob))) ... -\tweak before-line-breaking #apply-staff-padding -\markup #text Any clarification? Thanks
|
[Prev in Thread] | Current Thread | [Next in Thread] |