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.
7 In time signature 2/2 or 4/4 the beam are @code{ _____
8 _ _ Default | | | | I want | | | |. } Use a \"macro\" with
9 #(override-auto-beam-setting '.....
15 % Automatic beams two per two in 4/4 or 2/2 time signature
21 % The good way adapted from David Bobrof
23 % macro for beamed two per two in 2/2 and 4/4 time signature
25 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
26 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
27 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
30 timeFractionstyle={ \override Staff.TimeSignature #'style = #'()}
31 textn = ^\markup{ without the macro }
32 texty = ^\markup{ with the macro }
36 \new Staff << \relative c'' {
39 g8\textn g g g g g g g g g g g4 g8 g g
45 \new Staff << \relative c'' {
49 g8\texty g g g g g g g g g g g4 g8 g g
53 \layout{ raggedright = ##t }