1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
8 In time signature 2/2 or 4/4 the beam are @code{ _____
9 _ _ Default | | | | I want | | | |. } Use a \"macro\" with
10 #(override-auto-beam-setting '.....
16 % Automatic beams two per two in 4/4 or 2/2 time signature
22 % The good way adapted from David Bobrof
24 % macro for beamed two per two in 2/2 and 4/4 time signature
26 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
27 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
28 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
31 timeFractionstyle={ \override Staff.TimeSignature #'style = #'()}
32 textn = ^\markup{ without the macro }
33 texty = ^\markup{ with the macro }
37 \new Staff << \relative c'' {
40 g8\textn g g g g g g g g g g g4 g8 g g
46 \new Staff << \relative c'' {
50 g8\texty g g g g g g g g g g g4 g8 g g
54 \layout{ raggedright = ##t }