1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.14
11 lsrtags = "rhythms, tweaks-and-overrides"
14 Unlike ordinary rests, there is no predefined command to change the
15 staff position of a multi-measure rest symbol of either form by
16 attaching it to a note. However, in polyphonic music multi-measure
17 rests in odd-numbered and even-numbered voices are vertically
18 separated. The positioning of multi-measure rests can be controlled as
22 doctitle = "Positioning multi-measure rests"
27 % Multi-measure rests by default are set under the fourth line
29 % They can be moved using an override
30 \override MultiMeasureRest #'staff-position = #-2
32 \override MultiMeasureRest #'staff-position = #0
34 \override MultiMeasureRest #'staff-position = #2
36 \override MultiMeasureRest #'staff-position = #3
38 \override MultiMeasureRest #'staff-position = #6
40 \revert MultiMeasureRest #'staff-position
43 % In two Voices, odd-numbered voices are under the top line
44 << { R1 } \\ { a1 } >>
45 % Even-numbered voices are under the bottom line
46 << { a1 } \\ { R1 } >>
47 % Multi-measure rests in both voices remain separate
48 << { R1 } \\ { R1 } >>
50 % Separating multi-measure rests in more than two voices
51 % requires an override
52 << { R1 } \\ { R1 } \\
53 \once \override MultiMeasureRest #'staff-position = #0
57 % Using compressed bars in multiple voices requires another override
58 % in all voices to avoid multiple instances being printed
61 \revert MultiMeasureRest #'staff-position
64 \revert MultiMeasureRest #'staff-position