]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-concave.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / beam-concave.ly
index 5b9ee774bf8c94bbb091f351b6a85edfa8f04efa..5d15aa480e6c06f3110b45fc09973cd9671b03c2 100644 (file)
@@ -1,21 +1,20 @@
-
-\version "2.3.16"
+\version "2.11.51"
 \header{
 
-texidoc = "Fully concave beams should be horizontal. Informally spoken,
+  texidoc = "Fully concave beams should be horizontal. Informally spoken,
   concave refers to the shape of the notes that are opposite a
   beam. If an up-beam has high notes on its center stems, then we call
   it concave.
 
+  If a beam is fails a test, the desired slope is printed next to it.
 
-  If a beam is fails a test, the desired slope is printed
-next to it."
+" 
 }
 
 
 resetMeasure = \set Score.measurePosition = #(ly:make-moment 0 1)
 
-% examples from 
+%% examples from Ross.
 rossFourBeams =\relative c'' {
   \time 2/4
   c8[ e b c]
@@ -31,7 +30,7 @@ rossFourBeams =\relative c'' {
   f,,[ b a g]
   f[g g e]
   a[ d, b' g]
-  }
+}
 rossThreeBeams = \relative c'' {
   \time 6/8
   e[ a, c] f[ d g]
@@ -47,22 +46,23 @@ rossThreeBeams = \relative c'' {
 rossBeams = \relative c'' {
   \rossFourBeams
   \rossThreeBeams
-  }
+}
+
+\layout{
+  ragged-right = ##t
+  #(define debug-beam-quanting #t)
+}
 
 
 
 
 #(define (<> x y) (not (= x  y)))
-\score{
-   \new Voice {
-     \override Beam #'position-callbacks = #(check-slope-callbacks =)
-     \rossBeams
-     
-   }
-  \paper{
-    raggedright = ##t
-    #(define debug-beam-quanting #t)
-  }
+\new Voice {
+  \override Beam #'positions = #(ly:make-simple-closure
+                                (ly:make-simple-closure
+                                 (append
+                                  (list chain-grob-member-functions `(,cons 0 0))
+                                  (check-slope-callbacks =))))
+  \rossBeams
+  
 }
-
-