On 30 July 2010 19:34, Reinhold Kainhofer <reinh...@kainhofer.com> wrote:
> If a multi-measure rest is followed by a clef change, they will collide as the
> attached example shows.

Ah, good catch, Reinhold. :)

The default for 'spacing-pair isn't ideal for compressed rests: it
spaces the rest to the barline, which is usually what we want for
single rests (especially if there are multiple staves).

I suppose a callback might suffice in most cases:

\override MultiMeasureRest #'spacing-pair =
#(lambda (grob)
   (cons 'break-alignment
         (if (> (ly:grob-property grob 'measure-count) 1)
            'break-alignment
            'staff-bar)))

Cheers,
Neil

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to