]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/changing-form-of-multi-measure-rests.ly
Issue 5148/2: three-sided-box snippet: use #:properties keyword
[lilypond.git] / Documentation / snippets / new / changing-form-of-multi-measure-rests.ly
1
2 \version "2.19.20"
3
4 \header {
5   lsrtags = "rhythms, tweaks-and-overrides"
6
7   texidoc = "
8 If there are ten or fewer measures of rests, a series of longa and
9 breve rests (called in German @qq{Kirchenpausen} - church rests) is
10 printed within the staff; otherwise a simple line is shown. This
11 default number of ten may be changed by overriding the
12 @code{expand-limit} property.
13
14 "
15   doctitle = "Changing form of multi-measure rests"
16 }
17
18 \relative c'' {
19   \compressMMRests {
20     R1*2 | R1*5 | R1*9
21     \override MultiMeasureRest.expand-limit = #3
22     R1*2 | R1*5 | R1*9
23   }
24 }