]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-text-for-sustain-markings.ly
64035db9452b237c0e815a4734fcb127bbdc1dc1
[lilypond.git] / Documentation / snippets / changing-the-text-for-sustain-markings.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.39"
5
6 \header {
7   lsrtags = "keyboards, tweaks-and-overrides"
8
9 %% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94
10   texidoces = "
11 Se puede usar @code{Staff.pedalSustainStrings} para fijar el texto de
12 las indicaciones de pisar pedal y levantar pedal.  Observe que las
13 únicas cadenas válidas son las que están en la lista de glifos de
14 pedal: los valores que aparecen en este fragmento de código son una
15 relación exhaustiva.
16
17 "
18   doctitlees = "Modificar el texto de las indicaciones de pedal"
19
20
21
22   texidoc = "
23 @code{Staff.pedalSustainStrings} can be used to set the text used for
24 pedal down and up.  Note that the only valid strings are those found in
25 the list of pedal glyphs - the values used this snippet constitute an
26 exhaustive list.
27
28 "
29   doctitle = "Changing the text for sustain markings"
30 } % begin verbatim
31
32 sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
33
34 \relative c' {
35   \sustainNotes
36   \set Staff.pedalSustainStrings = #'("P" "P-" "-")
37   \sustainNotes
38   \set Staff.pedalSustainStrings = #'("d" "de" "e")
39   \sustainNotes
40   \set Staff.pedalSustainStrings = #'("M" "M-" "-")
41   \sustainNotes
42   \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*")
43   \sustainNotes
44 }