]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-dir-functions.ly
* lily/tab-note-heads-engraver.cc: listen to string number events
[lilypond.git] / input / test / beam-dir-functions.ly
index 2b54f5b13e406083f536f6a0d042c72b3e8fd6d0..23f3bfa8036be352991d8084d8a11514e219bbd2 100644 (file)
@@ -1,8 +1,9 @@
-\version "1.5.68"
+
+\version "2.1.7"
 \header {
-  texidoc = "
+  texidoc = "@cindex Beam Dir Functions
 
-There are several ways to calculate the direction of a beam.
+There are several ways to calculate the direction of a beam:
 @table @code
 @item majority
 number count of up or down notes
@@ -20,24 +21,25 @@ your favourite algorithm isn't one of these, you can hook up your own.
 "
 }
 
-\paper { linewidth = -1.}
+\paper { raggedright = ##t}
 \score {
-  \notes\relative c'' {
+  \notes\relative c'' {\time 3/4
     \property Voice.Beam \set #'dir-function = #beam-dir-majority
-    [c8 g]
+      c8[ g]
     \property Voice.Beam \set #'dir-function = #beam-dir-mean
-    [c g] 
+      c[ g] 
     \property Voice.Beam \set #'dir-function = #beam-dir-median
-    [c g]
+      c[ g]
     
     \time 3/8
     \property Voice.Beam \set #'dir-function = #beam-dir-majority
-    [c8 c g]
+      c8[ c g]
     \property Voice.Beam \set #'dir-function = #beam-dir-mean
-    [c c g] 
+      c[ c g] 
     \property Voice.Beam \set #'dir-function = #beam-dir-median
-    [c c g] 
+      c[ c g] 
   }
+\paper{raggedright = ##t}
 }
 
 %% Local variables:
@@ -45,3 +47,4 @@ your favourite algorithm isn't one of these, you can hook up your own.
 %% End:
 
 
+