]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/redefining-grace-note-global-defaults.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / redefining-grace-note-global-defaults.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.0"
8
9 \header {
10   lsrtags = "rhythms"
11
12   texidoc = "
13 The global defaults for grace notes are stored in the identifiers
14 @code{startGraceMusic}, @code{stopGraceMusic},
15 @code{startAcciaccaturaMusic}, @code{stopAcciaccaturaMusic},
16 @code{startAppoggiaturaMusic} and @code{stopAppoggiaturaMusic}, which
17 are defined in the file @code{ly/grace-init.ly}.  By redefining them
18 other effects may be obtained.
19
20 "
21   doctitle = "Redefining grace note global defaults"
22 } % begin verbatim
23
24 startAcciaccaturaMusic = {
25   <>(
26   \override Flag.stroke-style = #"grace"
27   \slurDashed
28 }
29
30 stopAcciaccaturaMusic = {
31   \revert Flag.stroke-style
32   \slurSolid
33   <>)
34 }
35
36 \relative c'' {
37   \acciaccatura d8 c1
38 }