2013/2/28 Xavier Scheuer <x.sche...@gmail.com>: > On 27 February 2013 18:13, <lilyp...@googlecode.com> wrote: >> >> Comment #1 on issue 3208 by philehol...@googlemail.com: Wrong >> MultiMeasureRest glyph >> http://code.google.com/p/lilypond/issues/detail?id=3208 >> >> OK - let's just be clear about what the bug is. Lilypond does the right >> thing (TM) for single Whole Measure Rests - breve rests and longa rests are >> correct. It does the wrong thing for multimeasure rests, where what it uses >> for 2 breve bar rests (staff system 2 above) it uses the symbol for a 4 bar >> church rest. That's wrong, agreed, and needs fixing. > > This reminds me of a question/issue I never asked here. > > I sometimes wanted different horizontal space settings for "single Whole > Measure Rest" and "real" multimeasure rests a.k.a "compressed MMR" > (with a number above).
Hi Xavier, do you think of sth like this: \version "2.17.12" boundPadding = \override MultiMeasureRest #'before-line-breaking = #(lambda (grob) (let* ((measure-count (ly:grob-property grob 'measure-count)) (b-p (if (> measure-count 1) 20 ;; bound-padding for single MMR 15))) ;; bound-padding for compressed MMR (ly:grob-set-property! grob 'bound-padding b-p))) { \boundPadding R1 \repeat unfold 20 { c'' } } { \boundPadding \compressFullBarRests R1*5 \repeat unfold 20 { c'' } } Cheers, Harm _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond