Hello,

I use a TextSpanner to indicate playing instructions, commonly used on the harp. I found that the TextSpanner sometime does not include the notes, when a line break occurs. I found no way to extend the spanner in to the D in measure 11.

Another problem with TextSpanners is that they include the whole measure, when the measure is at the end of line (measure 10) but only to the end of the note (measure 15). Can I set the spanner end individually? Currently I would prefer to include the whole measure.

Regards,
Helge
#(ly:set-option 'delete-intermediate-files #t)

\version "2.13.0"

voiceOne = \relative c'' {
	\clef treble
	\time 2/4
	\key f \major

	 \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
	 \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)

	\override TextSpanner #'dash-period = #1
	\override TextSpanner #'dash-fraction = #0.5
	\override TextSpanner #'(bound-details right text) =
		\markup { \draw-line #'(0 . -1) }

	r2 | r2 | r2 | r2 | r2 | r2 |  
	
	\override TextSpanner #'(bound-details left text) = "Pdlt. "
	d8 \startTextSpan e f e |
	f8 g a4 |
	f8 e d a |
	f4 e |
	d2 \stopTextSpan \clef bass |
	
	\override TextSpanner #'(bound-details left text) = "Bas de la corde "
	f,4.\startTextSpan c'8 |
	f,4. c'8 |
	f,4 a8 g |
% #30
	f4 g \stopTextSpan |
	r2 | r2 | r2 | r2 | r2 | r2 | 
}


 	\score {
		<<
		\new PianoStaff 
			<<
			\new Staff \voiceOne
			>>
		>>
	
		\layout { }
	}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to