4 texidoc = "@cindex Beam Dir Functions
6 There are several ways to calculate the direction of a beam:
9 number count of up or down notes
11 mean center distance of all notes
13 mean centre distance weighted per note
16 You can spot the differences of these settings from these simple
19 These beam direction functions are defined in @file{scm/beam.scm}. If
20 your favourite algorithm isn't one of these, you can hook up your own.
24 \paper { raggedright = ##t}
26 \notes\relative c'' {\time 3/4
27 \override Beam #'dir-function = #beam-dir-majority
29 \override Beam #'dir-function = #beam-dir-mean
31 \override Beam #'dir-function = #beam-dir-median
35 \override Beam #'dir-function = #beam-dir-majority
37 \override Beam #'dir-function = #beam-dir-mean
39 \override Beam #'dir-function = #beam-dir-median
42 \paper{raggedright = ##t}
46 %% LilyPond-indent-level:2