]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-auto-override.ly
(conv): add 2.2.0 rule.
[lilypond.git] / input / test / beam-auto-override.ly
index ca7811d969378556bc4403602dd7591fd23243a8..9b36551749eada43bb2d1da11967148ad2fae9c5 100644 (file)
@@ -1,21 +1,20 @@
 
-\version "2.1.23"
+\version "2.1.36"
 \header {
 
     texidoc = "@cindex Auto Beaming Override
 
-This shows how auto-beaming settings can be overridden.
-
-The auto-beamer will only engrave beams that end when:
+The auto-beamer, which can be overridden, will only engrave beams 
+that end before encountering of 
 @itemize @bullet
-@item  a rest is encountered
+@item  a rest,
 @item
- another beam (entered manually) is encountered
+ an other, manually entered beam, or
 @item
- there's a 'gap' in the beam note's durations
+ a bar line. 
 @end itemize
 
-The beam will be ended also when now % beamAutoEnd = 0.
+The @code{autoBeaming} can also be turned off.
 
 "
 
@@ -25,6 +24,7 @@ The beam will be ended also when now % beamAutoEnd = 0.
 
 \score{
     \notes \relative c''{
+        #(override-auto-beam-setting '(end * * * *)  1 2)
        \time 2/4
        % one beam per measure
        c8 c c c
@@ -42,13 +42,7 @@ The beam will be ended also when now % beamAutoEnd = 0.
        \set autoBeaming = ##f
        c8 c c c
     }
-    \paper{
-       \translator{
-           \VoiceContext
-           \override autoBeamSettings #'(end * * * *) = #(ly:make-moment 1 2)
-       }
-    }
-\paper{raggedright = ##t}
+    \paper{raggedright = ##t}
 }