]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-knee.ly
More collision tests.
[lilypond.git] / input / regression / spacing-knee.ly
index 04a726aeb430228381c5d819b02173198cbbaa34..13f4a1399e2e1c02a2809e8a1f4c80af02320d70 100644 (file)
@@ -1,14 +1,22 @@
-\version "1.5.68"
+\version "2.3.4"
 \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
+\score { 
 {
-[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. }
+\paper { raggedright = ##t}
      }
 
+