4 lsrtags = "rhythms, tweaks-and-overrides"
7 Unlike ordinary rests, there is no predefined command to change the
8 staff position of a multi-measure rest symbol of either form by
9 attaching it to a note. However, in polyphonic music multi-measure
10 rests in odd-numbered and even-numbered voices are vertically
11 separated. The positioning of multi-measure rests can be controlled as
15 doctitle = "Positioning multi-measure rests"
19 % Multi-measure rests by default are set under the fourth line
21 % They can be moved using an override
22 \override MultiMeasureRest.staff-position = #-2
24 \override MultiMeasureRest.staff-position = #0
26 \override MultiMeasureRest.staff-position = #2
28 \override MultiMeasureRest.staff-position = #3
30 \override MultiMeasureRest.staff-position = #6
32 \revert MultiMeasureRest.staff-position
35 % In two Voices, odd-numbered voices are under the top line
36 << { R1 } \\ { a1 } >>
37 % Even-numbered voices are under the bottom line
38 << { a1 } \\ { R1 } >>
39 % Multi-measure rests in both voices remain separate
40 << { R1 } \\ { R1 } >>
42 % Separating multi-measure rests in more than two voices
43 % requires an override
44 << { R1 } \\ { R1 } \\
45 \once \override MultiMeasureRest.staff-position = #0
49 % Using compressed bars in multiple voices requires another override
50 % in all voices to avoid multiple instances being printed
53 \revert MultiMeasureRest.staff-position
56 \revert MultiMeasureRest.staff-position