LSR: Update.
[lilypond.git] / input / new / changing-text-and-spanner-styles-for-text-dynamics.ly
blob7d41aa87f3160dd4ca9fb909f6638f8eeba6f4cf
1 \version "2.11.61"
2 \header {
3 lsrtags = "rhythms,tweaks-and-overrides"
4 texidoc = "
5 The text used for crescendos and decrescendos can be changed by
6 modifying the context properties @code{crescendoText} and
7 @code{decrescendoText}. The style of the spanner line can be
8 changed by modifying the @code{'style} property of
9 @code{DynamicTextSpanner}. The default value is @code{'hairpin},
10 and other possible values include @code{'line}, @code{'dashed-line}
11 and @code{'dotted-line}:
13 doctitle = "Changing text and spanner styles for text dynamics"
16 \relative c'' {
17 \set crescendoText = \markup { \italic { cresc. poco } }
18 \set crescendoSpanner = #'text
19 \override DynamicTextSpanner #'style = #'dotted-line
20 a2\< a
21 a2 a
22 a2 a
23 a2 a\mf