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