5 lsrtags = "rhythms, tweaks-and-overrides"
8 Unlike ordinary rests, there is no predefined command to change the
9 staff position of a multi-measure rest symbol of either form by
10 attaching it to a note. However, in polyphonic music multi-measure
11 rests in odd-numbered and even-numbered voices are vertically
12 separated. The positioning of multi-measure rests can be controlled as
16 doctitle = "Positioning multi-measure rests"
20 % Multi-measure rests by default are set under the fourth line
22 % They can be moved using an override
23 \override MultiMeasureRest.staff-position = #-2
25 \override MultiMeasureRest.staff-position = #0
27 \override MultiMeasureRest.staff-position = #2
29 \override MultiMeasureRest.staff-position = #3
31 \override MultiMeasureRest.staff-position = #6
33 \revert MultiMeasureRest.staff-position
36 % In two Voices, odd-numbered voices are under the top line
37 << { R1 } \\ { a1 } >>
38 % Even-numbered voices are under the bottom line
39 << { a1 } \\ { R1 } >>
40 % Multi-measure rests in both voices remain separate
41 << { R1 } \\ { R1 } >>
43 % Separating multi-measure rests in more than two voices
44 % requires an override
45 << { R1 } \\ { R1 } \\
46 \once \override MultiMeasureRest.staff-position = #0
50 % Using compressed bars in multiple voices requires another override
51 % in all voices to avoid multiple instances being printed
54 \revert MultiMeasureRest.direction
57 \revert MultiMeasureRest.direction