5 texidoc = "@cindex Auto Beaming Override
7 This shows how auto-beaming settings can be overridden.
9 The auto-beamer will only engrave beams that end when:
11 @item a rest is encountered
13 another beam (entered manually) is encountered
15 there's a 'gap' in the beam note's durations
18 The beam will be ended also when now % beamAutoEnd = 0.
24 %% TODO: check doc string. -hw
29 % one beam per measure
32 % from here on consider ending beam every 1/4 note
33 #(override-auto-beam-setting '(end * * * *) 1 4)
36 % manually override autobeam with weird beaming
42 \set autoBeaming = ##f
48 autoBeamSettings \override #'(end * * * *) = #(ly:make-moment 1 2)
51 \paper{raggedright = ##t}