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