]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/modifying-default-values-for-articulation-shorthand-notation.ly
[doc] Handle leading dash in @code.
[lilypond.git] / Documentation / snippets / modifying-default-values-for-articulation-shorthand-notation.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "expressive-marks"
11
12 %% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
13   texidoces = "
14 Las abreviaturas se encuentran definidas dentro del archivo
15 @file{ly/script-init.ly}, donde las variables @code{dashHat},
16 @code{dashPlus}, @code{dashDash}, @code{dashBar},
17 @code{dashLarger}, @code{dashDot} y @code{dashUnderscore} reciben
18 valores predeterminados.  Se pueden modificar estos valores
19 predeterminados para las abreviaturas. Por ejemplo, para asociar
20 la abreviatura @w{@code{-+}} (@code{dashPlus}) con el símbolo del
21 semitrino en lugar del símbolo predeterminado +, asigne el valor
22 @code{trill} a la variable @code{dashPlus}:
23
24 "
25   doctitlees = "Modificar los valores predeterminados para la notación abreviada de las articulaciones"
26
27
28 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
29  texidocde = "
30 Die Abkürzungen sind in der Datei @file{ly/script-init.ly} definiert, wo
31 den Variablen @code{dashHat}, @code{dashPlus}, @code{dashDash},
32 @code{dashBar}, @code{dashLarger}, @code{dashDot} und
33 @code{dashUnderscore} Standardwerte zugewiesen werden.  Diese Standardwerte
34 können verändert werden.  Um zum Beispiel die Abkürzung
35 @w{@code{-+}} (@code{dashPlus}) mit dem Triller anstatt mit dem +-Symbol zu
36 assoziieren, muss der Wert @code{trill} der Variable
37 @code{dashPlus} zugewiesen werden:
38
39 "
40   doctitlede = "Die Standardwerte der Abkürzungen von Artikulationen verändern"
41
42 %% Translation of GIT committish: 217cd2b9de6e783f2a5c8a42be9c70a82195ad20
43   texidocfr = "
44 Les raccourcis sont répertoriés dans le fichier
45 @file{ly/script-init.ly}, dans lequel on retrouve les variables
46 @code{dashHat}, @code{dashPlus}, @code{dashDash}, @code{dashBar},
47 @code{dashLarger}, @code{dashDot}, et @code{dashUnderscore} ainsi que
48 leur valeur par défaut.  Ces valeurs peuvent être modifiées selon vos
49 besoins.  Il suffit par exemple, pour affecter au raccourci @w{@code{-+}}
50 (@code{dashPlus}) le symbole du trille en lieu et place du @code{+}
51 (caractère plus), d'assigner la valeur @code{trill} à la variable
52 @code{dashPlus} :
53
54 "
55   doctitlefr = "Modification de la signification des raccourcis pour les signes d'articulation"
56
57
58   texidoc = "
59 The shorthands are defined in @samp{ly/script-init.ly}, where the
60 variables @code{dashHat}, @code{dashPlus}, @code{dashDash},
61 @code{dashBar}, @code{dashLarger}, @code{dashDot}, and
62 @code{dashUnderscore} are assigned default values.  The default values
63 for the shorthands can be modified. For example, to associate the
64 @w{@code{-+}} (@code{dashPlus}) shorthand with the trill symbol instead of
65 the default + symbol, assign the value @code{trill} to the variable
66 @code{dashPlus}:
67
68 "
69   doctitle = "Modifying default values for articulation shorthand notation"
70 } % begin verbatim
71
72 \relative c'' { c1-+ }
73
74 dashPlus = "trill"
75
76 \relative c'' { c1-+ }
77