]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/positioning-grace-notes-with-floating-space.ly
LSR: Update.
[lilypond.git] / input / lsr / positioning-grace-notes-with-floating-space.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.12.3"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoc = "
9 Setting the property @code{'strict-grace-spacing} makes the musical
10 columns for grace notes 'floating', i.e., decoupled from the non-grace
11 notes: first the normal notes are spaced, then the (musical columns of
12 the) graces are put left of the musical columns for the main notes.
13
14 "
15   doctitle = "Positioning grace notes with floating space"
16 } % begin verbatim
17
18 \relative c'' {
19   <<
20     \override Score.SpacingSpanner #'strict-grace-spacing = ##t
21     \new Staff \new Voice {
22       \afterGrace c4 { c16[ c8 c16] }
23       c8[ \grace { b16[ d] } c8]
24       c4 r
25     }
26     \new Staff {
27       c16 c c c c c c c c4 r
28     }
29   >>
30 }
31