]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-control.ly
Merge with git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond.git
[lilypond.git] / input / test / beam-control.ly
index 13e73881474b5a287baed23619d806aace9dc9b8..f9b7b6d1c7b71f2f584d13c3763c8fb4d3694197 100644 (file)
@@ -1,24 +1,21 @@
-\version "1.7.18"
-% similiar to beam-position, but keep this one.
+
+\version "2.10.0"
 \header{
     texidoc="@cindex Beam Position Control
-Controlling beam positions.
+
+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]
   }
-\paper{raggedright = ##t}
+\layout{ragged-right = ##t}
 }
-%% new-chords-done %%
+