[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text-spanner text repeated at start of line
From: |
David Sumbler |
Subject: |
Re: Text-spanner text repeated at start of line |
Date: |
Tue, 27 Oct 2015 14:54:07 +0000 |
Thanks, both, for your help on this.
Regarding
\override TextSpanner.bound-details.left-broken.text = ##f
In section 3.1.122 of the internals reference, I see 'left.broken' as an
item in the 'bound-details' list but with no indication of what it does,
nor that 'left-broken.text' is possible and the values that could take.
How could I have found this out from the documentation?
As suggested, the thread linked to by Pierre seems to be a good bet. It
has taken me some time to read through it all and try out the various
attached files.
I am quite happy to install version 2.19.27, so that I can get the
result I want (with dotted lines). More likely I shall install
v2.19.30, which seems to be the latest. Has any of the material
developed in connection with the "Text centralized above a TextSpan"
thread actually been incorporated into v2.19.30, or is that yet to come?
David
On Mon, 2015-10-26 at 22:54 +0100, Thomas Morley wrote:
> 2015-10-26 21:31 GMT+01:00 Pierre Perol-Schneider
> <address@hidden>:
> > Hi David,
> >
> > See :
> > http://lilypond.1069038.n5.nabble.com/Text-centralized-above-a-TextSpan-td180601.html
> >
> > Cheers,
> > Pierre
> >
> >
> > 2015-10-26 21:19 GMT+01:00 David Sumbler <address@hidden>:
> >>
> >> I want to use a marking such as "accel.-----al----Vivace".
> >>
> >> However, the following example does not do what I want, because the text
> >> is repeated at the start of each new line of music. I just want the
> >> dotted line to continue without repetition of the text.
> >>
> >> \version "2.19.24"
> >>
> >> \relative {
> >> \override TextSpanner.bound-details.left.text = "accelerando"
> >> c''4\startTextSpan c c c | c c c c | c c c c \break |
> >> c4 c c c\stopTextSpan |
> >> \override TextSpanner.bound-details.left.text = "al"
> >> c\startTextSpan c c c\stopTextSpan |
> >> \tempo "Vivace" c c c c|
> >> }
> >>
> >> I tried using break-visibility, but as I expected this property does not
> >> have any with these objects.
> >>
> >> How can this be achieved?
> >>
> >> Also, it would be nice if the dotted line could be made to continue
> >> right up to the next piece of text, rather than leaving a gap.
> >>
> >> David
>
>
>
> Hi David,
>
> for your use-case the thread Pierre linked is likely best you can do.
>
> Though, for the record, you can exclude to repeat TextSpanner's text
> after line-break. Compare:
>
> \relative {
> \override TextSpanner.bound-details.left.text = "accelerando"
> c''1\startTextSpan \break c c\stopTextSpan
> }
>
> \relative {
> \override TextSpanner.bound-details.left.text = "accelerando"
> \override TextSpanner.bound-details.left-broken.text = ##f
> c''1\startTextSpan \break c c\stopTextSpan
> }
>
>
> HTH,
> Harm