|
From: | Lukas-Fabian Moser |
Subject: | Re: TextSpanner to end of bar / end of piece |
Date: | Mon, 24 May 2021 16:36:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Hi Harm,
{
\override TextSpanner.bound-details.right.text = "R"
\override TextSpanner.bound-details.left.text = "L"
\override TextSpanner.to-barline = ##t
<>\startTextSpan
s1
\break
<>\stopTextSpan
s1
<>\startTextSpan
s1
<>\stopTextSpan
}
Though, if the TextSpanner does not end at line-end you'll need different settings.Probably doable by some scheme-coding ...
Ah, yes. It seems that with to-barline, the right-broken.text is
used at the end of the line. Thanks!
So this seems to mean that right-broken.text should be changed by a hook that determines if we are at a line break. I'llt try to see if I can figure out how to do this.
Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |