|
|
GNU LilyPondWelcome to the home of the GNU Music Typesetter |
||||||||||
|
Node:Text spanners, Previous:Tempo, Up:Expressive marks Text spannersSome textual indications, e.g. rallentando or accelerando, often extend
over many measures. This is indicated by following the text with a
dotted line. You can create such texts using text spanners. The syntax
is as follows:
\spanrequest \start "text" \spanrequest \stop "text"LilyPond will respond by creating a TextSpanner grob (typically in Voice context). The string to be printed, as well as the style is set through grob properties. An application--or rather, a hack--is to fake octavation indications.
\relative c' { a''' b c a
\property Voice.TextSpanner \set #'type = #'dotted-line
\property Voice.TextSpanner \set #'edge-height = #'(0 . 1.5)
\property Voice.TextSpanner \set #'edge-text = #'("8va " . "")
\property Staff.centralCPosition = #-13
a\spanrequest \start "text" b c a \spanrequest \stop "text" }
|
||||||||||
|
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to lilypond@packages.debian.org Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
|||||||||||
This page was built from LilyPond-1.4.12 (stable-branch) by