Hi Peter,
You could try this. Set the left-broken property.
Andrew
== snip
\paper {
ragged-last = ##t
}
global = {
\key d \major
%\numericTimeSignature
\time 2/2
}
\relative c' {
\global
\override TextSpanner.bound-details.left.text = "pizz. "
\override TextSpanner.bound-details.left-broken.text = ##f
\override TextSpanner.style = #'dotted-line
\override TextSpanner.dash-period = #0.5
\override TextSpanner.padding = #1
\override TextSpanner.bound-details.right.text = \markup {
\override #'(on . 0.3)
\override #'(off . 0.1)
\draw-dotted-line #'(0 . 1) }
\textSpannerDown
\stemUp d,8-.\startTextSpan-\tweak extra-offset #'(-3 . 3)\mp a'-. fis'-.
e-. fis-. fis-. a,4-. | d8-. a'-. fis'-. e-.
\stemDown fis-. fis-. a,-. d-. |\stemUp d,,8-. a'-. fis'-. e-. fis-. fis-.
a,4-. |\break
\stemDown d8-. a'-. fis'-. e-. fis4-.\stopTextSpan\stemUp a, }
== snip
On 26 March 2017 at 11:29, Pieter Terpstra
wrote:
> Dear Lilypond friends,
> Doing a Textspan gives me some difficulties.
>
> I would like to see the word pizz. only once in the bi=eginning and not
> repeated on the next line
> and also would like to have the \draw-dashed-line to appear on the last
> end. Is this doable?
> Thank you so much in advance!
>
> Apologies for my bad English!
>
> Example:
> \version "2.18.2"
>
> \paper {
> ragged-last = ##t
> }
>
> global = {
> \key d \major
> %\numericTimeSignature
> \time 2/2
> }
>
> \relative c' {
> \global
> \override TextSpanner.bound-details.left.text = "pizz. "
> \override TextSpanner.style = #'dotted-line
> \override TextSpanner.dash-period = #0.5
> \override TextSpanner.padding = #1
> \override TextSpanner.bound-details.right.text = \markup {
> \draw-dashed-line #'(0 . 1) }
> \textSpannerDown
> \stemUp d,8-.\startTextSpan-\tweak extra-offset #'(-3 . 3)\mp a'-.
> fis'-. e-. fis-. fis-. a,4-. | d8-. a'-. fis'-. e-.
> \stemDown fis-. fis-. a,-. d-. |\stemUp d,,8-. a'-. fis'-. e-. fis-. fis-.
> a,4-. |\break
> \stemDown d8-. a'-. fis'-. e-. fis4-.\stopTextSpan\stemUp a,
> }
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user