On Wed, May 22, 2024 at 10:43 AM Ole V. Villumsen <
ole.villum...@protonmail.ch> wrote:

> Just like in a piano staff we can have centred dynamics between the two
> staves, can Lilypond also centre the number of bars a multi-measure rest
> lasts?
>

This is how I would do it:

%%%
\version "2.24.3"

musicOne = {
  \clef bass
  \key f \major
  \time 3/8
  \partial 8
  \omit MultiMeasureRestNumber
  r8 | R4.*7 |
}

musicTwo = {
  \clef bass
  \key f \major
  \time 3/8
  \partial 8
  r8 | \offset MultiMeasureRestNumber.Y-offset 1 R4.*7 |
}

\new PianoStaff <<
  \new Staff \compressMMRests \musicOne
  \new Staff \compressMMRests \musicTwo
>>
%%%

The key points are omitting the multi measure rest number in the right hand
and moving the number up in the left.


--
Knute Snortum

Reply via email to