]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/redefining-grace-note-global-defaults.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / redefining-grace-note-global-defaults.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.15
8 \version "2.15.15"
9
10 \header {
11   lsrtags = "rhythms"
12
13   texidoc = "
14 The global defaults for grace notes are stored in the identifiers
15 @code{startGraceMusic}, @code{stopGraceMusic},
16 @code{startAcciaccaturaMusic}, @code{stopAcciaccaturaMusic},
17 @code{startAppoggiaturaMusic} and @code{stopAppoggiaturaMusic}, which
18 are defined in the file @code{ly/grace-init.ly}.  By redefining them
19 other effects may be obtained.
20
21 "
22   doctitle = "Redefining grace note global defaults"
23 } % begin verbatim
24
25
26 startAcciaccaturaMusic = {
27   <>(
28   \override Flag #'stroke-style = #"grace"
29   \slurDashed
30 }
31
32 stopAcciaccaturaMusic = {
33   \revert Flag #'stroke-style
34   \slurSolid
35   <>)
36 }
37
38 \relative c'' {
39   \acciaccatura d8 c1
40 }