]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/modifying-default-values-for-articulation-shorthand-notation.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / Documentation / snippets / modifying-default-values-for-articulation-shorthand-notation.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.17.25"
8
9 \header {
10   lsrtags = "expressive-marks"
11
12   texidoc = "
13 The shorthands are defined in @samp{ly/script-init.ly}, where the
14 variables @code{dashHat}, @code{dashPlus}, @code{dashDash},
15 @code{dashBang}, @code{dashLarger}, @code{dashDot}, and
16 @code{dashUnderscore} are assigned default values.  The default values
17 for the shorthands can be modified. For example, to make the @code{-+}
18 (@code{dashPlus}) shorthand create a trill instead of the default +
19 (@code{stopped}), assign the value of @code{trill} to the variable
20 @code{dashPlus}:
21
22 "
23   doctitle = "Modifying default values for articulation shorthand notation"
24 } % begin verbatim
25
26
27 \relative c'' { c1-+ }
28
29 dashPlus = \trill
30
31 \relative c'' { c1-+ }