lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MultiMeasureRestNumber centered between staves


From: Ryan McClure
Subject: Re: MultiMeasureRestNumber centered between staves
Date: Fri, 22 Nov 2013 21:59:41 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

I think that this may do the trick:

\version "2.17.29"


\score {

\new PianoStaff <<

\new Staff {

\compressFullBarRests

\override MultiMeasureRest #'expand-limit = #1

\once \override MultiMeasureRestNumber #'transparent = ##t

R1*9

}

\new Staff {

\compressFullBarRests

\override MultiMeasureRest #'expand-limit = #1

\once \override MultiMeasureRestNumber #'Y-offset = 3.5

R1*9

}

>>

}


Essentially, this trick removes the "9" from the top staff by hiding it. The bottom staff's "9" is moved up to the center of these two staves. When you use this, if it is not centered perfectly, change the Y-offset from 3.5 to whatever you need.


Let us know if this helps! :)



On 11/22/2013 09:44 PM, Daniel Rosen wrote:
I am typesetting an orchestral piece that includes a harp part with many full bar rests. I'd like the MultiMeasureRestNumbers to appear centered between the two staves, as in the attachment. How can I accomplish this?

DR


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]