Modifying default values for articulation shorthand notation: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 13: | Line 13: | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Revision as of 23:26, 21 November 2025
The shorthands are defined in ly/script-init.ly, where the variables dashHat, dashPlus, dashDash, dashBang, dashLarger, dashDot, and dashUnderscore are assigned default values. The default values for the shorthands can be modified. For example, to associate the -+ (dashPlus) shorthand with the trill symbol instead of the default + symbol, assign the value \trill to the variable dashPlus:
\version "2.24"
\paper { tagline = ##f }
\relative c'' { c1-+ }
dashPlus = \trill
\relative c'' { c1-+ }