]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-concave.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / beam-concave.ly
index 38d7ef0aa421e3ea11b38b5b9ac2fa7f2d2622d8..c45dec6c362951a2bd3004c61972386c8d785d0e 100644 (file)
@@ -1,23 +1,23 @@
-
-\version "2.3.4"
+\version "2.19.21"
 \header{
 
-texidoc = "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."
+  it concave.
 
+  If a beam fails a test, the desired slope is printed next to it.
 
+" 
 }
 
 
-resetMeasure = \set Score.measurePosition = #(ly:make-moment 0 1)
+resetMeasure = \set Score.measurePosition = #(ly:make-moment 0/1)
 
-% examples from 
-rossFourBeams =\relative c'' {
+%% examples from Ross.
+rossFourBeams =\relative {
   \time 2/4
-  c8[ e b c]
+  c''8[ e b c]
   b[ c d b]
   c[ f b, c]
 
@@ -25,16 +25,15 @@ rossFourBeams =\relative c'' {
   a[ d, e g] a[ f f g]
   c,[ b f' e]
   b[ e g, e']
-  g[ d a' b]
-  c[ c, c c]
+  c'[ c, c c]
   c[ c c c']
   f,,[ b a g]
   f[g g e]
   a[ d, b' g]
-  }
-rossThreeBeams = \relative c'' {
+}
+rossThreeBeams = \relative {
   \time 6/8
-  e[ a, c] f[ d g]
+  e''[ a, c] f[ d g]
   f,[ b g] a[ b f]
   d'[ c b a b e]
   c[ b a c b a]
@@ -47,31 +46,19 @@ rossThreeBeams = \relative c'' {
 rossBeams = \relative c'' {
   \rossFourBeams
   \rossThreeBeams
-  }
+}
 
-nonHorizBeams = \relative c'' {
-   \time 3/4
-   f[ e d c g b]
-   b,16[ f' g a]
-   \stemUp b,8[  \stemDown d'8 bes8]  
+\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
-     \override Beam #'position-callbacks = #(check-slope-callbacks <>)
-  \resetMeasure
-     \nonHorizBeams
-     
-   }
-  \paper{
-    raggedright = ##t
-    #(define debug-beam-quanting #t)
-  }
+\new Voice {
+  \override Beam.positions = #(check-slope-callbacks =)
+  \rossBeams
+  
 }
-
-