]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-text-for-sustain-markings.ly
ac7a9b8c85ec929f3923b90c4b6675e203fe2e02
[lilypond.git] / Documentation / snippets / changing-the-text-for-sustain-markings.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.2"
8
9 \header {
10   lsrtags = "tweaks-and-overrides, keyboards"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Se puede usar @code{Staff.pedalSustainStrings} para fijar el texto de
15 las indicaciones de pisar pedal y levantar pedal.  Observe que las
16 únicas cadenas válidas son las que están en la lista de glifos de
17 pedal: los valores que aparecen en este fragmento de código son una
18 relación exhaustiva.
19
20 "
21   doctitlees = "Modificar el texto de las indicaciones de pedal"
22
23
24
25 %% Translation of GIT committish: f5cfaf8ef4ac347702f554af0944ef0d8396e73a
26   texidocfr = "
27 @code{Staff.pedalSustainStrings} permet de définir le texte affiché pour
28 les instructions de pédale.  Les seuls caractères autorisés sont les
29 glyphes particuliers de pédale, comme vous pouvez le constater ici.
30
31 "
32   doctitlefr = "Modification du texte des indications de pédale"
33
34   texidoc = "
35 @code{Staff.pedalSustainStrings} can be used to set the text used for
36 pedal down and up.  Note that the only valid strings are those found in
37 the list of pedal glyphs - the values used this snippet constitute an
38 exhaustive list.
39
40 "
41   doctitle = "Changing the text for sustain markings"
42 } % begin verbatim
43
44
45 sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
46
47 \relative c' {
48   \sustainNotes
49   \set Staff.pedalSustainStrings = #'("P" "P-" "-")
50   \sustainNotes
51   \set Staff.pedalSustainStrings = #'("d" "de" "e")
52   \sustainNotes
53   \set Staff.pedalSustainStrings = #'("M" "M-" "-")
54   \sustainNotes
55   \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*")
56   \sustainNotes
57 }