]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-knee.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / spacing-knee.ly
index 04a726aeb430228381c5d819b02173198cbbaa34..2f17c31629cfd2b0cf89049a7f7316a7ee5efead 100644 (file)
@@ -1,14 +1,24 @@
-\version "1.5.68"
+\version "2.14.0"
 \header {
-texidoc = "For knees, the spacing correction is such that the
-stems are put at regular distances.
+
+  texidoc = "For knees, the spacing correction is such that the
+stems are put at regular distances. This effect takes into account the
+width of the note heads and the thickness of the stem.
 "
-    }
-\score { \notes
+}
+
+\layout { ragged-right = ##t}
+
 {
-[g''8 g g'' g''] 
+  g''8[ g g'' g''] 
+
+                               % check code independent of default settings.
+  \override NoteSpacing  #'knee-spacing-correction = #1.0 
+  g''8[ g g'' g''] 
+  \override Stem  #'thickness = #10 
+  g''8[ g g'' g''] 
+}
+
+
 
-    }
-\paper { linewidth = -1. }
-     }