lilypond-user
[Top][All Lists]
Advanced

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

Re: MultiMeasureRest symbol spacing


From: Jan-Peter Voigt
Subject: Re: MultiMeasureRest symbol spacing
Date: Tue, 27 Dec 2016 10:59:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Hi David,

many thanks for this patch! It does exactly what I need!

So now it could be uploaded to Rietvield - or do we need an issue number?

All the best
Jan-Peter


Am 24.12.2016 um 18:45 schrieb David Nalesnik:
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.





reply via email to

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