lilypond-user
[Top][All Lists]
Advanced

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

Re: Text spanner shorten-pair


From: Aaron Hill
Subject: Re: Text spanner shorten-pair
Date: Fri, 25 Jan 2019 04:13:51 -0800
User-agent: Roundcube Webmail/1.3.8

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


-- Aaron Hill



reply via email to

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