Changing the text for sustain markings: Difference between revisions
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<code> | With the <code>pedalSustainStrings</code> context property it is possible 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 shown in this snippet constitute an exhaustive list. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
| Line 14: | Line 14: | ||
\set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*") | \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "*") | ||
\sustainNotes | \sustainNotes | ||
} | |||
\layout { | |||
ragged-right = ##f | |||
} | } | ||
</lilypond> | </lilypond> | ||
[[Category:Keyboards]] | [[Category:Keyboards]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Included in the official documentation]] | |||
[[Category:Snippet]] | |||