]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adjusting-grace-note-spacing.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / adjusting-grace-note-spacing.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, tweaks-and-overrides"
11
12   texidoc = "
13 The space given to grace notes can be adjusted using the
14 @code{spacing-increment} property of @code{Score.GraceSpacing}.
15
16 "
17   doctitle = "Adjusting grace note spacing"
18 } % begin verbatim
19
20 graceNotes = {
21   \grace { c4 c8 c16 c32 }
22   c8
23 }
24
25 \relative c'' {
26   c8
27   \graceNotes
28   \override Score.GraceSpacing.spacing-increment = #2.0
29   \graceNotes
30   \revert Score.GraceSpacing.spacing-increment
31   \graceNotes
32 }