summaryrefslogtreecommitdiff
path: root/Documentation/snippets/modifying-default-values-for-articulation-shorthand-notation.ly
blob: 22bd2980152e64716449b4d21913c62c24034996 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\version "2.18.0"

\header {
  lsrtags = "expressive-marks"

  texidoc = "
The shorthands are defined in @samp{ly/script-init.ly}, where the
variables @code{dashHat}, @code{dashPlus}, @code{dashDash},
@code{dashBang}, @code{dashLarger}, @code{dashDot}, and
@code{dashUnderscore} are assigned default values.  The default values
for the shorthands can be modified. For example, to make the @code{-+}
(@code{dashPlus}) shorthand create a trill instead of the default +
(@code{stopped}), assign the value of @code{trill} to the variable
@code{dashPlus}:

"
  doctitle = "Modifying default values for articulation shorthand notation"
} % begin verbatim


\relative c'' { c1-+ }

dashPlus = \trill

\relative c'' { c1-+ }