Next: , Previous: Text and line spanners, Up: Text


8.1.3 Text spanners

Some performance indications, e.g., rallentando or accelerando, are written as text and are extended over many measures with dotted lines. Such texts are created using text spanners; attach \startTextSpan and \stopTextSpan to the first and last notes of the spanner.

The string to be printed, as well as the style, is set through object properties

     
     c1
     \textSpannerDown
     \override TextSpanner #'bound-details #'left #'text =
       \markup { \upright "rall" } 
     c2\startTextSpan b c\stopTextSpan a
     \break
     \textSpannerUp
     \override TextSpanner #'bound-details #'left #'text =
       \markup { \italic "rit" } 
     c2\startTextSpan b c\stopTextSpan a

[image of music]

Predefined commands

\textSpannerUp, \textSpannerDown, \textSpannerNeutral.

Commonly tweaked properties

To print a solid line, use

\override TextSpanner #'dash-fraction = #'()

See also

Program reference: TextSpanner.


Next: , Previous: Text and line spanners, Up: Text

Cette page documente LilyPond-2.11.28 (branche de développement).

Rapporter toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs

Your suggestions for the documentation are welcome.