Hi Clément, On Mon, Oct 15, 2012 at 4:44 PM, Clément <themu...@gmail.com> wrote: > Hello, > > After many investigations, I didn't find any automatic way to center > vertically > a > Multi-measure-rest number between two staves.
This is probably pretty hackish, but you could do something like the following, where I add the Multi_measure_rest_engraver to a Dynamics context: \version "2.17.3" \new PianoStaff << \new Staff { R1*10 R1*5 R1*8 } \new Dynamics \with { \consists Multi_measure_rest_engraver \override MultiMeasureRest #'expand-limit = #1 \override MultiMeasureRest #'transparent = ##t \override MultiMeasureRestNumber #'Y-offset = #ly:self-alignment-interface::y-aligned-on-self \override MultiMeasureRestNumber #'self-alignment-Y = #CENTER } { \compressFullBarRests R1*10 R1*5 R1*8 } \new Staff { R1*10 R1*5 R1*8 } >> \layout { \context { \Voice \override MultiMeasureRestNumber #'stencil = #point-stencil \override MultiMeasureRest #'expand-limit = #1 } } Hope this helps! David _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user