Hi Davide,

> I want to align TextSpanner texts to baseline.

This works for me:

{
 \override TextSpanner.bound-details.left.text = \markup { \combine 
\transparent "Tj" \test "a" }
 b2\startTextSpan b2\stopTextSpan
 \override TextSpanner.bound-details.left.text = \markup { \combine 
\transparent "Tj" \test "p" }
 b2\startTextSpan b2\stopTextSpan
}

Of course, I prefer to bury the \combine inside any custom markup functions, so 
that I don’t have to remember to add it every time.

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to