Jump to content

Changing form of multi-measure rests: Difference between revisions

From LilyPond wiki
m New category
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
If there are ten or fewer measures of rests, a series of longa and breve rests (called in German “Kirchenpausen” - church rests) is printed within the staff; otherwise a simple line is shown. This default number of ten may be changed by overriding the <code>expand-limit</code> property.
If there are ten or fewer measures of rests, a series of longa and breve rests (called in German “Kirchenpausen” church rests) is printed within the staff; otherwise a long, thick horizontal line is shown. This default value of ten may be changed by overriding the <code>expand-limit</code> property.


<lilypond version="2.24">
<lilypond version="2.24">

Latest revision as of 05:13, 8 December 2025

If there are ten or fewer measures of rests, a series of longa and breve rests (called in German “Kirchenpausen” – church rests) is printed within the staff; otherwise a long, thick horizontal line is shown. This default value of ten may be changed by overriding the expand-limit property.

\version "2.24"

\relative c'' {
  \compressMMRests {
    R1*2 | R1*5 | R1*9
    \override MultiMeasureRest.expand-limit = 3
    R1*2 | R1*5 | R1*9
  }
}