]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/positioning-grace-notes-with-floating-space.ly
LSR: Update.
[lilypond.git] / input / lsr / positioning-grace-notes-with-floating-space.ly
diff --git a/input/lsr/positioning-grace-notes-with-floating-space.ly b/input/lsr/positioning-grace-notes-with-floating-space.ly
new file mode 100644 (file)
index 0000000..c42479c
--- /dev/null
@@ -0,0 +1,31 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+  lsrtags = "rhythms"
+
+  texidoc = "
+Setting the property @code{'strict-grace-spacing} makes the musical
+columns for grace notes 'floating', i.e., decoupled from the non-grace
+notes: first the normal notes are spaced, then the (musical columns of
+the) graces are put left of the musical columns for the main notes.
+
+"
+  doctitle = "Positioning grace notes with floating space"
+} % begin verbatim
+
+\relative c'' {
+  <<
+    \override Score.SpacingSpanner #'strict-grace-spacing = ##t
+    \new Staff \new Voice {
+      \afterGrace c4 { c16[ c8 c16] }
+      c8[ \grace { b16[ d] } c8]
+      c4 r
+    }
+    \new Staff {
+      c16 c c c c c c c c4 r
+    }
+  >>
+}
+