lilypond-user
[Top][All Lists]
Advanced

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

Re: MultiMeasureRest symbol spacing


From: David Nalesnik
Subject: Re: MultiMeasureRest symbol spacing
Date: Sat, 24 Dec 2016 11:45:21 -0600

Hi,

On Fri, Dec 23, 2016 at 11:01 AM, David Nalesnik
<address@hidden> wrote:

>
> The default is actually to allow the components of the church rest to
> expand to fill the available space within the measure.  The symbols
> making up the rest are assigned a padding value proportional to the
> visual size of the measure.
>
> I think what you're after is some means to limit this expansion.  I've
> attached a patch which creates a property ("no-stretch") which keeps
> internal padding at its minimum value -- 1 staff space.  Note also the
> test file.  I haven't tested it beyond what you see there.
>
> It might be nice to allow a maximum padding.  (I find 1.0 for padding
> a little close.)  That would be easily done.
>
> Sorry that this is a patch you need to apply.  Putting this in Scheme
> would require extensive recoding.
>

The following patch may be more sensible.

It creates a new property, "church-rest-inner-padding," which when set
controls the space between the symbols making up the rest.  This space
is fixed.

If the property is left unset, we get the current default behavior:
the rest is spread out to fill the available space.

If the "no spread" behavior" is desired as a default, we'd just need
to add an entry for church-rest-inner-padding to scm/define-grobs.scm.
To get the spreading back, you'd override to '().

HTH,
David

P. S.  This patch is to current master, not to the patch in my earlier email.

Attachment: 0001-Implement-church-rest-inner-padding.patch
Description: Text Data

Attachment: mm-no-stretch.ly
Description: Text Data


reply via email to

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