]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-text-for-sustain-markings.ly
Docs: run convert-ly for 2.14.0.
[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.0"
8
9 \header {
10   lsrtags = "keyboards, tweaks-and-overrides"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
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   texidoc = "
26 @code{Staff.pedalSustainStrings} can be used to set the text used for
27 pedal down and up.  Note that the only valid strings are those found in
28 the list of pedal glyphs - the values used this snippet constitute an
29 exhaustive list.
30
31 "
32   doctitle = "Changing the text for sustain markings"
33 } % begin verbatim
34
35 sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
36
37 \relative c' {
38   \sustainNotes
39   \set Staff.pedalSustainStrings = #'("P" "P-" "-")
40   \sustainNotes
41   \set Staff.pedalSustainStrings = #'("d" "de" "e")
42   \sustainNotes
43   \set Staff.pedalSustainStrings = #'("M" "M-" "-")
44   \sustainNotes
45   \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*")
46   \sustainNotes
47 }