lilypond-user
[Top][All Lists]
Advanced

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

Re: [Spam] Re: Spanner right-hand text may disappear when padded


From: David Nalesnik
Subject: Re: [Spam] Re: Spanner right-hand text may disappear when padded
Date: Wed, 12 Oct 2016 14:49:06 -0500

On Wed, Oct 12, 2016 at 2:00 PM, Rutger Hofman <address@hidden> wrote:
> On 10/12/2016 03:53 PM, David Nalesnik wrote:

>> That being said, the following adjusted definition of spanners should do
>> it:
>>
>> spanners = {
>>     s2*7 |
>>     s4
>>         \override TextSpanner.bound-details.left.text = "(poco accel."
>>         \override TextSpanner.bound-details.right.text = "poco rit.)"
>>         % moves endpoint LEFT
>>          \override TextSpanner.bound-details.right.padding = 4
>>         % Need padding to keep at the same vertical position:
>>         \override TextSpanner.padding = #2
>>         <>\startTextSpan s4 |
>>     s2 |
>>     s4. <>\stopTextSpan s8 |
>>     s4 <>^\markup{a tempo} s4 |
>> }
>>
>> %%
>>
>> David
>>
>
> For me (2.19.39) this doesn't force the TextSpanner to vertically align with
> the markup, not even if I also set TextScript.padding = #2.

Try staff-padding instead (and set it for both TextSpanner and
TextScript to a value that is possible for both -- like 3)

Alternatively, the inner-texts enhancement could be used when you
conceive of the texts belonging together.

David



reply via email to

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