]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-text-for-sustain-markings.ly
Doc-fr: updates texidocs
[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.16.0"
8
9 \header {
10   lsrtags = "keyboards, tweaks-and-overrides"
11
12   texidoc = "
13 @code{Staff.pedalSustainStrings} can be used to set the text used for
14 pedal down and up.  Note that the only valid strings are those found in
15 the list of pedal glyphs - the values used this snippet constitute an
16 exhaustive list.
17
18 "
19   doctitle = "Changing the text for sustain markings"
20 } % begin verbatim
21
22
23 sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
24
25 \relative c' {
26   \sustainNotes
27   \set Staff.pedalSustainStrings = #'("P" "P-" "-")
28   \sustainNotes
29   \set Staff.pedalSustainStrings = #'("d" "de" "e")
30   \sustainNotes
31   \set Staff.pedalSustainStrings = #'("M" "M-" "-")
32   \sustainNotes
33   \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*")
34   \sustainNotes
35 }