On 12/14/2017 6:00 AM, Phil Holmes wrote:
----- Original Message ----- From: "Jhall" <jorgenhal...@gmail.com>
To: <lilypond-user@gnu.org>
Sent: Thursday, December 14, 2017 10:29 AM
Subject: Re: Gradual arrow with text at both ends
Thank you but I think that’s actually the code I used as a basis as
well. The
problem is there in your code as well, the arrow bumps into the text
and the
texts are not aligned.
I wonder if there is a command that could alter these things? The
workaround
to write the end text as text markup works because then you can move
that
easily.
I reckon the text mis-alignment is down to the descender on the p, and
can be corrected somewhat hackily. Simplest was to space the text
from the arrow is to add a space:
\override TextSpanner.bound-details.left.stencil-align-dir-y = #0
\override TextSpanner.bound-details.right.stencil-align-dir-y = #0.5
\override TextSpanner.bound-details.left.text = #"s.t."
\override TextSpanner.bound-details.right.text = #" s.p."
Thank you Phil, that centered my code perfectly - worked like a charm! :)
\override TextSpanner.bound-details.left.stencil-align-dir-y = #0
\override TextSpanner.bound-details.right.stencil-align-dir-y = #0.5
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user