[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gradual arrow with text at both ends
From: |
Phil Holmes |
Subject: |
Re: Gradual arrow with text at both ends |
Date: |
Thu, 14 Dec 2017 11:00:20 -0000 |
----- Original Message -----
From: "Jhall" <address@hidden>
To: <address@hidden>
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."
--
Phil Holmes