LEFT | RIGHT |
(no file at all) | |
1 \version "2.16.0" | 1 \version "2.17.6" |
2 | 2 |
3 \header { | 3 \header { |
4 lsrtags = "rhythms, tweaks-and-overrides" | 4 lsrtags = "rhythms, tweaks-and-overrides" |
5 | 5 |
6 texidoc = " | 6 texidoc = " |
7 Unlike ordinary rests, there is no predefined command to change the | 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 | 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 | 9 attaching it to a note. However, in polyphonic music multi-measure |
10 rests in odd-numbered and even-numbered voices are vertically | 10 rests in odd-numbered and even-numbered voices are vertically |
11 separated. The positioning of multi-measure rests can be controlled as | 11 separated. The positioning of multi-measure rests can be controlled as |
12 follows: | 12 follows: |
13 | 13 |
14 " | 14 " |
15 doctitle = "Positioning multi-measure rests" | 15 doctitle = "Positioning multi-measure rests" |
16 } | 16 } |
17 | 17 |
18 \relative c'' { | 18 \relative c'' { |
19 % Multi-measure rests by default are set under the fourth line | 19 % Multi-measure rests by default are set under the fourth line |
20 R1 | 20 R1 |
21 % They can be moved using an override | 21 % They can be moved using an override |
22 \override MultiMeasureRest #'staff-position = #-2 | 22 \override MultiMeasureRest.staff-position = #-2 |
23 R1 | 23 R1 |
24 \override MultiMeasureRest #'staff-position = #0 | 24 \override MultiMeasureRest.staff-position = #0 |
25 R1 | 25 R1 |
26 \override MultiMeasureRest #'staff-position = #2 | 26 \override MultiMeasureRest.staff-position = #2 |
27 R1 | 27 R1 |
28 \override MultiMeasureRest #'staff-position = #3 | 28 \override MultiMeasureRest.staff-position = #3 |
29 R1 | 29 R1 |
30 \override MultiMeasureRest #'staff-position = #6 | 30 \override MultiMeasureRest.staff-position = #6 |
31 R1 | 31 R1 |
32 \revert MultiMeasureRest #'staff-position | 32 \revert MultiMeasureRest.staff-position |
33 \break | 33 \break |
34 | 34 |
35 % In two Voices, odd-numbered voices are under the top line | 35 % In two Voices, odd-numbered voices are under the top line |
36 << { R1 } \\ { a1 } >> | 36 << { R1 } \\ { a1 } >> |
37 % Even-numbered voices are under the bottom line | 37 % Even-numbered voices are under the bottom line |
38 << { a1 } \\ { R1 } >> | 38 << { a1 } \\ { R1 } >> |
39 % Multi-measure rests in both voices remain separate | 39 % Multi-measure rests in both voices remain separate |
40 << { R1 } \\ { R1 } >> | 40 << { R1 } \\ { R1 } >> |
41 | 41 |
42 % Separating multi-measure rests in more than two voices | 42 % Separating multi-measure rests in more than two voices |
43 % requires an override | 43 % requires an override |
44 << { R1 } \\ { R1 } \\ | 44 << { R1 } \\ { R1 } \\ |
45 \once \override MultiMeasureRest #'staff-position = #0 | 45 \once \override MultiMeasureRest.staff-position = #0 |
46 { R1 } | 46 { R1 } |
47 >> | 47 >> |
48 | 48 |
49 % Using compressed bars in multiple voices requires another override | 49 % Using compressed bars in multiple voices requires another override |
50 % in all voices to avoid multiple instances being printed | 50 % in all voices to avoid multiple instances being printed |
51 \compressFullBarRests | 51 \compressFullBarRests |
52 << | 52 << |
53 \revert MultiMeasureRest #'staff-position | 53 \revert MultiMeasureRest.staff-position |
54 { R1*3 } | 54 { R1*3 } |
55 \\ | 55 \\ |
56 \revert MultiMeasureRest #'staff-position | 56 \revert MultiMeasureRest.staff-position |
57 { R1*3 } | 57 { R1*3 } |
58 >> | 58 >> |
59 } | 59 } |
LEFT | RIGHT |