#### 3.7.5 Text spanners

Some performance indications, e.g. rallentando or accelerando, are written as texts, and extended over many measures with dotted lines. You can create such texts using text spanners: attach `\startTextSpan` and `\stopTextSpan` to the start and ending note of the spanner.

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

>          \relative c' {
>            c1
>            \override TextSpanner #'direction = #-1
>            \override TextSpanner #'edge-text = #'("rall " . "")
>            c2\startTextSpan b c\stopTextSpan a
>          }

##### See also

Internals TextSpanEvent, TextSpanner.

Examples: input/regression/text-spanner.ly.

Read comments on this page, or add one. This page is for LilyPond-2.2.2 (stable-branch).