]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-knee.ly
Doc-es: various updates.
[lilypond.git] / input / regression / spacing-knee.ly
index d4e72a45dff90fbf597d6f72f2db0512d04bd432..2ef25e5675fa55aae4b38a2ba9ddeb4fe168e326 100644 (file)
@@ -1,15 +1,24 @@
-\version "1.7.6"
+\version "2.17.6"
 \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. }
-     }
 
-%% new-chords-done %%