]> 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 cf1cdde6e80acd7439c41935750460278895558c..23f3bfa8036be352991d8084d8a11514e219bbd2 100644 (file)
@@ -1,8 +1,9 @@
-\version "1.7.18"
+
+\version "2.1.7"
 \header {
   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
@@ -22,22 +23,23 @@ your favourite algorithm isn't one of these, you can hook up your own.
 
 \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,4 +47,4 @@ your favourite algorithm isn't one of these, you can hook up your own.
 %% End:
 
 
-%% new-chords-done %%
+