At 15:34 on 22 May 2025, James Harkins wrote: > I'd like to attach a performance direction to the right > edge of a particular bar. If I could \markup \right-align > and attach to the barline, it would be so easy, but > markups seem to apply only to notes or rests.
> Complicating matters is that there are multiple \score > blocks, and the barline happens to conclude the last bar > in the first \score. So there's no time point after this > barline. > Like this -- http://www.dewdrop-world.net/assets/img/connect-to.png -- but > without the massive vertical space between the staff and the text. > All I can think of is to have another voice with, e.g. in > 3/4, s2 s8. s16 and attach to the s16. It won't be truly > right justified but maybe it's close enough. > Any other ideas? In cases like this I often use a TextSpanner, setting the bound-details.right.text to your markup and making sure to-barline = ##t. You could also use \textMark, you may need to override break-visibility = #begin-of-line-invisible. -- Mark Knoop
