On 22/05/2025 08:34, 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?
See BalloonGrobText in NR.
Note that it can only be used in a context, e.g. Staff, Voice, that has
had the Balloon_engraver added to it, not in a macro definition.