]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-control.ly
more conversion for dash-change.
[lilypond.git] / input / test / beam-control.ly
index 9d0544a273d9bd41a239982c88d6dd97065a6b55..67ec78d5d189c306f2f5a2e0384609286e2d1041 100644 (file)
@@ -1,26 +1,21 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+
+\version "2.7.32"
 \header{
     texidoc="@cindex Beam Position Control
 
-Beam positions may be controlled manually, by setting @code{positions} in the @code{Beam} grob.
+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}
 }