2015-10-26 21:31 GMT+01:00 Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com>: > Hi David, > > See : > http://lilypond.1069038.n5.nabble.com/Text-centralized-above-a-TextSpan-td180601.html > > Cheers, > Pierre > > > 2015-10-26 21:19 GMT+01:00 David Sumbler <da...@aeolia.co.uk>: >> >> I want to use a marking such as "accel.-----al----Vivace". >> >> However, the following example does not do what I want, because the text >> is repeated at the start of each new line of music. I just want the >> dotted line to continue without repetition of the text. >> >> \version "2.19.24" >> >> \relative { >> \override TextSpanner.bound-details.left.text = "accelerando" >> c''4\startTextSpan c c c | c c c c | c c c c \break | >> c4 c c c\stopTextSpan | >> \override TextSpanner.bound-details.left.text = "al" >> c\startTextSpan c c c\stopTextSpan | >> \tempo "Vivace" c c c c| >> } >> >> I tried using break-visibility, but as I expected this property does not >> have any with these objects. >> >> How can this be achieved? >> >> Also, it would be nice if the dotted line could be made to continue >> right up to the next piece of text, rather than leaving a gap. >> >> David
Hi David, for your use-case the thread Pierre linked is likely best you can do. Though, for the record, you can exclude to repeat TextSpanner's text after line-break. Compare: \relative { \override TextSpanner.bound-details.left.text = "accelerando" c''1\startTextSpan \break c c\stopTextSpan } \relative { \override TextSpanner.bound-details.left.text = "accelerando" \override TextSpanner.bound-details.left-broken.text = ##f c''1\startTextSpan \break c c\stopTextSpan } HTH, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user