Next: , Previous: Instrument transpositions, Up: Orchestral music



5.15.8 Multi measure rests

Multi-measure rests are entered using `R'. It is specifically meant for full bar rests and for entering parts: the rest can expand to fill a score with rests, or it can be printed as a single multi-measure rest. This expansion is controlled by the property Score.skipBars. If this is set to true, empty measures will not be expanded, and the appropriate number is added automatically

     \time 4/4 r1 | R1 | R1*2
     \set Score.skipBars = ##t R1*17 R1*4

[image of music]

The 1 in R1 is similar to the duration notation used for notes. Hence, for time signatures other than 4/4, you must enter other durations. This can be done with augmentation dots or fractions

     \set Score.skipBars = ##t
     \time 3/4
     R2. | R2.*2
     \time 13/8
     R1*13/8
     R1*13/8*12 |
     \time 10/8 R4*5*4 |

[image of music]

An R spanning a single measure is printed as either a whole rest or a breve, centered in the measure regardless of the time signature.

If there are only a few measures of rest, LilyPond prints “church rests” (a series of rectangles) in the staff. To replace that with a simple rest, use MultiMeasureRest.expand-limit.

     \set Score.skipBars = ##t
     R1*2 | R1*5 | R1*9
     \override MultiMeasureRest #'expand-limit = 1
     R1*2 | R1*5 | R1*9

[image of music]

Texts can be added to multi-measure rests by using the note-markup syntax (see Text markup). A variable (\fermataMarkup) is provided for adding fermatas

     \set Score.skipBars = ##t
     \time 3/4
     R2.*10^\markup { \italic "ad lib." }
     R2.^\fermataMarkup

[image of music]

If you want to have text on the left end of a multi-measure rest, attach the text to a zero-length skip note, i.e.,

s1*0^"Allegro"
R1*4

See also

Program reference: MultiMeasureRestEvent (lilypond-internals) , MultiMeasureTextEvent (lilypond-internals) , MultiMeasureRestMusicGroup (lilypond-internals) , and MultiMeasureRest (lilypond-internals) .

The layout object MultiMeasureRestNumber (lilypond-internals) is for the default number, and MultiMeasureRestText (lilypond-internals) for user specified texts.

Bugs

It is not possible to use fingerings (e.g., R1-4) to put numbers over multi-measure rests. And the pitch of multi-measure rests (or staff-centered rests) can not be influenced.

There is no way to automatically condense multiple rests into a single multi-measure rest. Multi-measure rests do not take part in rest collisions.

Be careful when entering multi-measure rests followed by whole notes. The following will enter two notes lasting four measures each

R1*4 cis cis

When skipBars is set, the result will look OK, but the bar numbering will be off.

Read comments on this page, or add one.

This page is for LilyPond-2.5.11 (development-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.