Modifying default values for articulation shorthand notation: Difference between revisions

Import snippet from LSR
 
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
Line 1: Line 1:
The shorthands are defined in <code>ly/script-init.ly</code>, where the variables <code>dashHat</code>, <code>dashPlus</code>, <code>dashDash</code>, <code>dashBang</code>, <code>dashLarger</code>, <code>dashDot</code>, and <code>dashUnderscore</code> are assigned default values. The default values for the shorthands can be modified. For example, to associate the <code>-+</code> (<code>dashPlus</code>) shorthand with the ''trill'' symbol instead of the default ''+'' symbol, assign the value <code>\trill</code> to the variable <code>dashPlus</code>:
The shorthands are defined in <code>ly/script-init.ly</code>, where the variables <code>dashHat</code>, <code>dashPlus</code>, <code>dashDash</code>, <code>dashBang</code>, <code>dashLarger</code>, <code>dashDot</code>, and <code>dashUnderscore</code> are assigned default values. The default values for the shorthands can be modified. For example, to associate the <code>-+</code> (<code>dashPlus</code>) shorthand with the ''trill'' symbol instead of the default ''+'' symbol, assign the value <code>\trill</code> to the variable <code>dashPlus</code>:


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
\paper { tagline = ##f }
\paper { tagline = ##f }