RE: Textspanner too short

2009-05-21 Thread Nick Payne
I asked about this problem a few weeks ago (TextSpanner disappearing if it
crosses a line break and terminates on the first note of a stave), and was
told that this problem would be fixed in 2.13.1, which apparently is a
couple of weeks away.

Nick

> -Original Message-
> From: lilypond-user-bounces+nick.payne=internode.on@gnu.org
> [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On
> Behalf Of Helge Kruse
> Sent: Thursday, 21 May 2009 11:12 PM
> To: lilypond-user@gnu.org
> Subject: Textspanner too short
> 
> 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.



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


Re: Textspanner too short

2009-05-21 Thread Wilbert Berendsen
Another solution would be using volta tricks...
best,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


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


Re: Textspanner too short

2009-05-21 Thread Wilbert Berendsen
Op donderdag 21 mei 2009, schreef Helge Kruse:
> 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,

when the text spanner ends on the first note after a linebreak it is 
supressed, don't know why but I found this:
http://www.mail-archive.com/lilypond-user@gnu.org/msg42025.html

ending the spanner after a hidden note fixes it. Setting the left-broken text 
suppresses the printing of "Pdlt." again at the beginning of the line.

\override TextSpanner #'(bound-details left text) = "Pdlt. "
\override TextSpanner #'(bound-details left-broken text) = 
\markup\null
d8 \startTextSpan e f e |
f8 g a4 |
f8 e d a |
f4 e |
d2*1/2 \hideNotes d4 \stopTextSpan  \unHideNotes \clef bass |


best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


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


Textspanner too short

2009-05-21 Thread Helge Kruse

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


Re: textspanner too short

2007-12-25 Thread TiagoM



TiagoM wrote:
> 
> Hi lilyponders
> 
> I'm having some trouble with the textspanner line. In the following
> example:
> 
> \version "2.10.33"
> \paper {
>   raggedright = ##f
> }
> \score{
> 
> \new Staff{
> 
> <<{e''8.[ c''16] b'8.[ c''16]
> \once \override TextSpanner #'edge-text = #'("III" . "")
> \once \override TextSpanner #'direction = #1
> \once \override TextSpanner #'style = #'line
> \once \override TextSpanner #'edge-height = #'(0 . 0.5)
> \once \override TextSpanner #'dash-fraction = #'()
> d''8.[\startTextSpan e''16]\stopTextSpan }\\{g2 4 }>>
> s4 s s s s s s s s s s
> }}
> 
> the spanner line is not printed, still I think there is some space
> left to print it. It seems to me that the text is printed far to right
> related to the note head it refers.
> 
> Is there a way to offset left the text so more space is left; or
> center the text to the notehead; or reduce the gap between the text
> and the line?
> 
> Thank you
> 
> Tiago
> 
> 
> ___________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

No-one?

{s}'s were inserted for simulating final score purpose.

Tiago
-- 
View this message in context: 
http://www.nabble.com/textspanner-too-short-tp14362025p14498379.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


textspanner too short

2007-12-16 Thread Tiago Morin
Hi lilyponders

I'm having some trouble with the textspanner line. In the following example:

\version "2.10.33"
\paper {
  raggedright = ##f
}
\score{

\new Staff{

<<{e''8.[ c''16] b'8.[ c''16]
\once \override TextSpanner #'edge-text = #'("III" . "")
\once \override TextSpanner #'direction = #1
\once \override TextSpanner #'style = #'line
\once \override TextSpanner #'edge-height = #'(0 . 0.5)
\once \override TextSpanner #'dash-fraction = #'()
d''8.[\startTextSpan e''16]\stopTextSpan }\\{g2 4 }>>
s4 s s s s s s s s s s
}}

the spanner line is not printed, still I think there is some space
left to print it. It seems to me that the text is printed far to right
related to the note head it refers.

Is there a way to offset left the text so more space is left; or
center the text to the notehead; or reduce the gap between the text
and the line?

Thank you

Tiago


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