David Nalesnik wrote Monday, September 21, 2015 5:13 PM > I'm attaching a rewrite of the code which allows an easy mix of > markups/strings and interprets hyphens as connectors. > Now there's no need for a TextSpanner.connectors property.
... and hardly any need for the text-spanner-line-count, as it's easy to split up the text by system (since manual breaks are needed anyway to control the placement) like this: music = \relative { % \override TextSpanner.text-spanner-line-count = #'(8 5) \addTextSpannerText \lyricmode { \markup \fontsize #1 \upright \smallCaps Abe: "Say" "this" "over" "measures" "one" "and" "two" } <>\startTextSpan a'4 a a a a4 a a a \stopTextSpan \break \addTextSpannerText \lyricmode { "and" "this" "over" "measure" "three" } <>\startTextSpan a4 a a a \stopTextSpan } A function to split text at white space rather than having to surround each word with quotes would make this quite useable, I think. Certainly better than the way I did it in the NR. One problem remains: the text overlaps if there is not enough room, for example with ragged-right. This would be a nuisance for the examples in the manuals, but in real scores ragged-right is not usually used. Trevor _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user