]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-control.ly
* Documentation/user/lilypond-book.itely (An example of a
[lilypond.git] / input / test / beam-control.ly
index 47d5a5afeaf50e294a1b6ffd3ad47f2e39dc9bae..18969e301356d74cabfd90b0a368ac3f8f66665d 100644 (file)
@@ -1,22 +1,21 @@
-\version "1.7.18"
+
+\version "2.4.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{raggedright = ##t}
 }
-%% new-chords-done %%
+