]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-shortened-lengths.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / beam-shortened-lengths.ly
index 775c0feed2401f34f79aada29125283af9bf18e3..28b23fea18e481362cac7882256eb2d62ac9c32b 100644 (file)
@@ -1,17 +1,23 @@
 
-\version "2.7.13"
+\version "2.14.0"
 
 \header{
-    texidoc="Beams in unnatural direction, have shortened stems, but do not look too short."
-    }
-\layout{ raggedright = ##t }
+  texidoc="Beams in unnatural direction, have shortened stems, but do not look too short."
+}
+\layout{ ragged-right = ##t }
 
 
 \relative c'{
-  \override Beam  #'position-callbacks =
-  #`(,Beam::least_squares
-     ,Beam::check_concave
-     ,Beam::slope_damping)
+  \override Beam  #'positions =
+  #(ly:make-simple-closure
+    (ly:make-simple-closure
+     (list chain-grob-member-functions
+      `(,cons 0 0)
+      ly:beam::calc-least-squares-positions
+      ly:beam::slope-damping
+      ly:beam::shift-region-to-valid
+    )))
+  
   \stemUp
   f'4  f8[ f]  f16[ f]  f32[ f]  f64[ f]  f128[ f] 
 }