]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-control.ly
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / test / beam-control.ly
index 82d73ebdf7b91015eaa7962c314c5a47d144f82f..f9b7b6d1c7b71f2f584d13c3763c8fb4d3694197 100644 (file)
@@ -1,22 +1,21 @@
-\version "1.7.18"
+
+\version "2.10.0"
 \header{
-    texidoc="@cindex Beam Control
-Controlling beam positions."
-}
+    texidoc="@cindex Beam Position Control
+
+Beam positions may be controlled manually, by overriding the @code{positions} setting of the @code{Beam} grob.
+
+" }
 \score { 
-    \context Voice \notes\relative c {
+    \context Voice \relative c {
        %% from upper staffline (position 4) to centre (position 0)
-       \property Voice.Beam \override #'positions = #'(2 . 0)
-        c'8-[ c] 
+       \override Beam  #'positions = #'(2 . 0)
+        c'8[ c] 
        
        %% from center to one above centre (position 2)
-       \property Voice.Beam \override #'positions = #'(0 . 1)
-        c-[ c]
-       
-       %% normal beam-algorithm
-       \property Voice.Beam \revert #'positions
-       \property Voice.Beam \revert #'positions
-        c-[ e]  e-[ c]
+       \override Beam  #'positions = #'(0 . 1)
+        c[ c]
   }
+\layout{ragged-right = ##t}
 }
-%% new-chords-done %%
+