On Wed, Oct 12, 2016 at 2:00 PM, Rutger Hofman <[email protected]> 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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user