]> 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 25231bd06f1298426e0211e6ff967a88163b740c..18969e301356d74cabfd90b0a368ac3f8f66665d 100644 (file)
@@ -1,26 +1,21 @@
 
-\version "1.9.2"
+\version "2.4.0"
 \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)
+       \override Beam  #'positions = #'(2 . 0)
         c'8[ c] 
        
        %% from center to one above centre (position 2)
-       \property Voice.Beam \override #'positions = #'(0 . 1)
+       \override Beam  #'positions = #'(0 . 1)
         c[ c]
-       
-       %% normal beam-algorithm
-       \property Voice.Beam \revert #'positions
-       \property Voice.Beam \revert #'positions
-        c[ e]  e[ c]
   }
-\paper{raggedright = ##t}
+\layout{raggedright = ##t}
 }