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

Reply via email to