Thank you Phil!

This "hack" was probably  what did it! I tried something along the line (no
pun intended) of what you entered on stencil-align-dir-y but it never
worked.
Probably the space was the trick!

Thank you again!

Best regards,
Jörgen

2017-12-14 12:00 GMT+01:00 Phil Holmes <m...@philholmes.net>:

> ----- 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."
>
>
> --
> Phil Holmes
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to