]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-text-and-spanner-styles-for-text-dynamics.ly
Docs: update snippets locally
[lilypond.git] / Documentation / snippets / changing-text-and-spanner-styles-for-text-dynamics.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.4"
5
6 \header {
7   lsrtags = "expressive-marks"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
10   texidoces = "
11 Se puede modificar el texto empleado para los crescendos y
12 decrescendos modificando las propiedades de contexto
13 @code{crescendoText} y @code{decrescendoText}.  El estilo de la
14 línea de extensión se puede cambiar modificando la propiedad
15 @code{'style} de @code{DynamicTextSpanner}.  El valor
16 predeterminado es @code{'hairpin} (regulador), y entre otros
17 valores posibles se encuentran @code{'line} (línea),
18 @code{'dashed-line} (línea discontinua) y @code{'dotted-line}
19 (línea de puntos):
20
21 "
22   doctitlees = "Cambiar el texto y los estilos de objeto de extensión para las indicaciones dinámicas textuales"
23
24 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
25 texidocde = "
26 Der Text, der für Crescendo und Decrescendo gestzt wird, kann geändert
27 werden, indem man die Eigenschaften @code{crescendoText} und
28 @code{decrescendoText} verändert.  Der Stil des Streckers kann auch
29 geändert werden, indem die @code{'style}-Eigenschaft des
30 @code{DynamicTextSpanner} beeinflusst wird.  Der Standardwert ist
31 @code{'hairpin}, ander Möglichkeiten sind @code{'line}, @code{'dashed-line}
32 und @code{'dotted-line}.
33 "
34   doctitlede = "Text und Strecker-Stile für Dynamik-Texte ändern"
35
36   texidoc = "
37 The text used for crescendos and decrescendos can be changed by
38 modifying the context properties @code{crescendoText} and
39 @code{decrescendoText}. The style of the spanner line can be changed by
40 modifying the @code{'style} property of @code{DynamicTextSpanner}.  The
41 default value is @code{'hairpin}, and other possible values include
42 @code{'line}, @code{'dashed-line} and @code{'dotted-line}.
43
44 "
45   doctitle = "Changing text and spanner styles for text dynamics"
46 } % begin verbatim
47
48 \relative c'' {
49   \set crescendoText = \markup { \italic { cresc. poco } }
50   \set crescendoSpanner = #'text
51   \override DynamicTextSpanner #'style = #'dotted-line
52   a2\< a
53   a2 a
54   a2 a
55   a2 a\mf
56 }