Multi-measure rest length control: Difference between revisions
Appearance
Import snippet from LSR |
m Make MM rests less wide to avoid line break in the PDF version of 'Snippets' |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Multi-measure rests have length according to their total duration which is under the control of <code> | Multi-measure rests have a length according to their total duration, which is under the control of the <code>space-increment</code> property of the <code>MultiMeasureRest</code> grob; its default value is 2. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
\omit Staff.TimeSignature | |||
\compressEmptyMeasures | \compressEmptyMeasures | ||
R1*2 R1*4 R1*64 R1*16 | |||
\override | R1*2 R1*4 R1*64 R1*16 \break | ||
\override MultiMeasureRest.space-increment = 4 | |||
R1*2 R1*4 R1*64 R1*16 | R1*2 R1*4 R1*64 R1*16 | ||
} | } | ||
\ | \layout { | ||
ragged-right = ##t | |||
} | |||
</lilypond> | </lilypond> | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 08:12, 8 December 2025
Multi-measure rests have a length according to their total duration, which is under the control of the space-increment property of the MultiMeasureRest grob; its default value is 2.
\version "2.24"
\relative c' {
\omit Staff.TimeSignature
\compressEmptyMeasures
R1*2 R1*4 R1*64 R1*16 \break
\override MultiMeasureRest.space-increment = 4
R1*2 R1*4 R1*64 R1*16
}
\layout {
ragged-right = ##t
}