]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adjusting-grace-note-spacing.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[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.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.6"
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
21 graceNotes = {
22   \grace { c4 c8 c16 c32 }
23   c8
24 }
25
26 \relative c'' {
27   c8
28   \graceNotes
29   \override Score.GraceSpacing.spacing-increment = #2.0
30   \graceNotes
31   \revert Score.GraceSpacing.spacing-increment
32   \graceNotes
33 }