> Yes, I would love to have command like this! That would be really nice.
Hi,
I tried this, but unfortunately it does not work:
\version "2.18.2"
startText = #(define-music-function (parser location text notes)(markup?
ly:music?)
#{
\override TextSpanner.bound-details.left.text = #text
#notes
\startTextSpan
#})
stopText = \stopTextSpan
\relative {
\startText "rit"
b1 c
e,\stopText
}
I don’t know why. The \startTextSpan in the music-function causes this error:
syntax error, unexpected EVENT_IDENTIFIER
This works, however it is only half way to the solution:
startText = #(define-music-function (parser location text)(markup?)
#{ \override TextSpanner.bound-details.left.text = #text #})
\relative {
\startText "rit"
b1 \startTextSpan c
e,\stopTextSpan
}
Cheers,
Joram
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user