Re: Shorten TextSpanner dashed line

2018-12-30 Thread Andrew Bernard
Hi Davide,

You could play with this:

  \override TextSpanner.bound-details.right.padding = 1

Have a look at the internals reference.

Andrew

On Mon, 31 Dec 2018 at 09:47, Davide Liessi  wrote:

> Is it possible to automatically shorten the dashed line in
> TextSpanners so that the line of the first TextSpanner ends before the
> left text of the second TextSpanner (and thus the two TextSpanners can
> align vertically)?
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Shorten TextSpanner dashed line

2018-12-30 Thread Davide Liessi
Hi all.
Is it possible to automatically shorten the dashed line in
TextSpanners so that the line of the first TextSpanner ends before the
left text of the second TextSpanner (and thus the two TextSpanners can
align vertically)?

\version "2.19.82"
{
  \override TextSpanner.bound-details.left.text = "test"
  b1\startTextSpan
  b1\stopTextSpan\startTextSpan
  b1\stopTextSpan
}

In alternative, is it possible to shorten the TextSpanners' X-extent
by the appropriate amount?

Best wishes.
Davide

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user