lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Textspanner too short


From: Helge Kruse
Subject: Textspanner too short
Date: Thu, 21 May 2009 15:12:19 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16

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 { }
        }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]