On 12/05/13 23:45, Peter Toye wrote:
I need to have a sequence of text spanners (like Rall --- en --- tan --- do)The problem is that because of the varying height of objects on the stave, the following code places the different bits of text at different vertical positions.
Someone asked much the same question about cres - - cen - - do last month. My suggestion was along the lines of the following:
\version "2.17.15" << \new Staff \relative c'' { c, d e f g a b c b a g f } \new Dynamics { s1-\tweak bound-details.left.text "Rallen " -\tweak bound-details.right.padding #1 \startTextSpan s4 s2.\stopTextSpan-\tweak bound-details.left.text "tan " -\tweak bound-details.right.text " do" -\tweak bound-details.right.padding #2 \startTextSpan s2. s4\stopTextSpan } >>
<<attachment: spanner.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user