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 \property Voice.TextSpanner \set #'direction = #-1 \property Voice.TextSpanner \set #'edge-text = #'("rall " . "") c2\startTextSpan b c\stopTextSpan a }
input/regression/text-spanner.ly
.
This page is for LilyPond-2.0.1 (stable-branch).