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 }
TextSpanEvent (lilypond-internals), TextSpanner (lilypond-internals), and input/regression/text-spanner.ly.
|
This page is for LilyPond-2.0.3 (stable-branch). Report errors to <bug-lilypond@gnu.org>. |