]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/changing-text-and-spanner-styles-for-text-dynamics.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / changing-text-and-spanner-styles-for-text-dynamics.ly
index e7b91b3ee2809073ea1af8a526774b6ac08749bf..7d41aa87f3160dd4ca9fb909f6638f8eeba6f4cf 100644 (file)
@@ -1,26 +1,24 @@
-\version "2.11.47"
-\layout { ragged-right = ##t }
+\version "2.11.61"
 \header {
   lsrtags = "rhythms,tweaks-and-overrides"
   texidoc = "
-The text used for crescendos and decrescendos can be
-changed by modifying the context properties @code{crescendoText}
-and @code{decrescendoText}.  The style of the spanner line can
-be changed by modifying the @code{'style} property of
-@code{DynamicTextSpanner}.  The default value is
-@code{'hairpin}, and other possible values include
-@code{'line}, @code{'dashed-line}, and
-@code{'dotted-line}:
+The text used for crescendos and decrescendos can be changed by
+modifying the context properties @code{crescendoText} and
+@code{decrescendoText}.  The style of the spanner line can be
+changed by modifying the @code{'style} property of
+@code{DynamicTextSpanner}.  The default value is @code{'hairpin},
+and other possible values include @code{'line}, @code{'dashed-line}
+and @code{'dotted-line}:
 "
   doctitle = "Changing text and spanner styles for text dynamics"
 }
 
 \relative c'' {
- \set crescendoText = \markup { \italic { cresc. poco } }
- \set crescendoSpanner = #'text
- \override DynamicTextSpanner #'style = #'dotted-line
- a2\< a
- a2 a
- a2 a
- a2 a\mf
 \set crescendoText = \markup { \italic { cresc. poco } }
 \set crescendoSpanner = #'text
 \override DynamicTextSpanner #'style = #'dotted-line
 a2\< a
 a2 a
 a2 a
 a2 a\mf
 }