1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
4 \layout { ragged-right = ##t }
6 lsrtags = "rhythms,tweaks-and-overrides"
8 Unlike ordinary rests, there is no predefined command
9 to change the vertical position on the staff of a multi-measure
10 rest symbol of either form by attaching it to a note. However,
11 in polyphonic music multi-measure rests in odd-numbered and
12 even-numbered voices are vertically separated. The positioning
13 of multi-measure rests can be controlled as follows:
15 doctitle = "Positioning multi-measure rests"
19 % Multi-measure rests by default are set under the second line
21 % They can be moved with an override
22 \override MultiMeasureRest #'staff-position = #-2
24 % A value of 0 is the default position;
25 % the following trick moves the rest to the center line
26 \override MultiMeasureRest #'staff-position = #-0.01
28 % Multi-measure rests in odd-numbered voices are under the top line
29 << { R1 } \\ { a1 } >>
30 % Multi-measure rests in even-numbered voices are under the bottom line
31 << { c1 } \\ { R1 } >>
32 % They remain separated even in empty measures
33 << { R1 } \\ { R1 } >>
34 % This brings them together even though there are two voices
37 \revert MultiMeasureRest #'staff-position
40 \revert MultiMeasureRest #'staff-position