2 \layout { ragged-right= ##t }
4 doctitle = "Positioning multi-measure rests"
5 lsrtags = "rhythms,tweaks-and-overrides"
7 Unlike ordinary rests, there is no predefined command
8 to change the vertical position on the staff of a multi-measure
9 rest symbol of either form by attaching it to a note. However,
10 in polyphonic music multi-measure rests in odd-numbered and
11 even-numbered voices are vertically separated. The positioning
12 of multi-measure rests can be controlled as follows:
16 % Multi-measure rests by default are set under the 2nd line
18 % They can be moved with an override
19 \override MultiMeasureRest #'staff-position = #-2
21 % A value of 0 is the default position;
22 % the following trick moves the rest to the center line
23 \override MultiMeasureRest #'staff-position = #-0.01
25 % Multimeasure rests in odd-numbered voices are under the top line
27 % Multi-measure rests in even-numbered voices are under the bottom line
29 % They remain separated even in empty bars
31 % This brings them together even though there are two voices
34 \revert MultiMeasureRest #'staff-position
37 \revert MultiMeasureRest #'staff-position