lilypond-user
[Top][All Lists]
Advanced

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

Re: Text spanner shorten-pair


From: Andrew Bernard
Subject: Re: Text spanner shorten-pair
Date: Sat, 26 Jan 2019 00:21:35 +1100

Hi Aaron,

I know. This then implies the NR is in error. Do we report a bug? [For the reason that being thrown off the scent I spent hours looking all in the interfaces to no avail.]

The padding works. Seems inconsistent to me. Why do we leave TextSpanners out of the group?

Andrew


On Fri, 25 Jan 2019 at 23:32, Aaron Hill <address@hidden> wrote:
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


reply via email to

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