Hi Vaughan,

>> I have a text spanner with a dashed line indicating an accelerando. How do I 
>> get the dashed line to begin and end just a bit further away from its text?
> I thought of putting a couple of spaces after the left text and before the 
> right text. It only took me five days, haha!

A bit more precise control is given by something like this:

%% Example start
\version "2.25.29"

\relative c'' {
  \time 4/4
  \override TextSpanner.bound-details.left.text = \markup { \small \bold 
\upright "accel." \hspace #0.5 }
  \override TextSpanner.bound-details.right.text = \markup \small \bold 
\upright \concat { \hspace #1 "a tempo " \note { 4 } #UP " = 104" }
  \override TextSpanner.bound-details.right.padding = #1.5

  c4 c c c |
  c4 \startTextSpan c c c |
  c4 c c c |
  c4 c c c |
  c4 \stopTextSpan c c c |
  c4 c c c |
}
%% Example ends

Hope that helps!
Kieren.

__________________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to