|
From: | Andrew Bernard |
Subject: | Re: Text spanner shorten-pair |
Date: | Sat, 26 Jan 2019 00:21:35 +1100 |
On 2019-01-25 3:36 am, Andrew Bernard wrote:
> Do TextSpanners support shorten-pair?
>
> The NR for 2.19.82 says:
>
> shorten-pair (pair of numbers)
> The lengths to shorten on both sides a hairpin or text-spanner such as
> a
> pedal bracket. Positive values shorten the hairpin or text-spanner,
> while
> negative values lengthen it.
It's not listed under any of the interfaces that TextSpanner supports.
Instead, it looks like Hairpin, HorizontalBracket, OttavaBracket,
PianoPedalBracket, TupletBracket, and VoltaBracket are the only things
referencing shorten-pair. And in NEWS.txt there is this comment:
The ends of hairpins may now be fine-tuned using the ‘shorten-pair’
grob property. This previously only affected text-spanners (e.g.
‘TupletBracket’ and ‘OttavaBracket’).
That all said, it looks like bound-details.left/right support padding:
\override TextSpanner.bound-details.left.padding = #-2
\override TextSpanner.bound-details.right.padding = #-3
[Prev in Thread] | Current Thread | [Next in Thread] |