]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/changing-text-and-spanner-styles-for-text-dynamics.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / lsr / changing-text-and-spanner-styles-for-text-dynamics.ly
index 9d88a957049c98805d6d77a1775f25cf60c5db4f..8a065615aca93003b33d9c1fcc92f78543c52dd2 100644 (file)
@@ -1,25 +1,25 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.46"
-
+\version "2.11.51"
 \header {
-  lsrtags = "expressive-marks"
-
+  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 context properties @code{crescendoSpanner} and
-@code{decrescendoSpanner}.  Available values for the spanner properties
-are @code{'hairpin}, @code{'line}, @code{'dashed-line}, and
-@code{'dotted-line}. If unset, a hairpin crescendo is used: 
-
+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"
 } % begin verbatim
+
 \relative c'' {
   \set crescendoText = \markup { \italic { cresc. poco } }
-  \set crescendoSpanner = #'dotted-line
+  \set crescendoSpanner = #'text
+  \override DynamicTextSpanner #'style = #'dotted-line
   a2\< a
   a2 a
   a2 a