]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-grace.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / spacing-grace.ly
index 3b4b32bfa7b4f381662d647124cf211346e3f69d..2c76e8b36aed8e37d1448113120527125c173144 100644 (file)
@@ -1,9 +1,27 @@
-\header {
-  texidoc = "Grace note spacing. Should be tuned? "
+\header
+{
+  texidoc = "Grace note runs have their own spacing variables in
+  @code{Score.GraceSpacing}. So differing grace note lengths inside a
+  run are spaced accordingly. "
 }
-       
-\score {
- \notes \context Voice \relative c'' { \grace { [c16 d] } c4 }
-  \paper { linewidth =-1. }
 
-}
+\version "2.12.0"
+
+\paper {  ragged-right = ##t }
+
+\relative c''
+{
+  c4
+  \grace { c16  }
+  c
+  \grace { c16  }
+  d
+  \grace { c16[ d e f] }
+  c
+  \grace { c8[ c16 d c8]  }
+  c
+  \override Score.GraceSpacing #'spacing-increment = #2.0
+
+  \grace { c4 c16 d16  }
+  c
+}