]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-text-for-sustain-markings.ly
resolve merge
[lilypond.git] / Documentation / snippets / changing-the-text-for-sustain-markings.ly
diff --git a/Documentation/snippets/changing-the-text-for-sustain-markings.ly b/Documentation/snippets/changing-the-text-for-sustain-markings.ly
new file mode 100644 (file)
index 0000000..c24ffc2
--- /dev/null
@@ -0,0 +1,47 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "keyboards, tweaks-and-overrides"
+
+%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+  texidoces = "
+Se puede usar @code{Staff.pedalSustainStrings} para fijar el texto de
+las indicaciones de pisar pedal y levantar pedal.  Observe que las
+únicas cadenas válidas son las que están en la lista de glifos de
+pedal: los valores que aparecen en este fragmento de código son una
+relación exhaustiva.
+
+"
+  doctitlees = "Modificar el texto de las indicaciones de pedal"
+
+
+
+  texidoc = "
+@code{Staff.pedalSustainStrings} can be used to set the text used for
+pedal down and up.  Note that the only valid strings are those found in
+the list of pedal glyphs - the values used this snippet constitute an
+exhaustive list.
+
+"
+  doctitle = "Changing the text for sustain markings"
+} % begin verbatim
+
+sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
+
+\relative c' {
+  \sustainNotes
+  \set Staff.pedalSustainStrings = #'("P" "P-" "-")
+  \sustainNotes
+  \set Staff.pedalSustainStrings = #'("d" "de" "e")
+  \sustainNotes
+  \set Staff.pedalSustainStrings = #'("M" "M-" "-")
+  \sustainNotes
+  \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*")
+  \sustainNotes
+}