lilypond-user
[Top][All Lists]
Advanced

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

Re: Instrument names and smallest possible bounding box


From: David Nalesnik
Subject: Re: Instrument names and smallest possible bounding box
Date: Sun, 17 Jan 2016 09:13:20 -0600

Hi,

On Sun, Jan 17, 2016 at 8:53 AM, Kieren MacMillan <address@hidden> wrote:
Hi all,

On Jan 17, 2016, at 6:24 AM, Malte Meyn <address@hidden> wrote:

> LilyPond tries to center-align the instrument names. Long names which
> don’t fit into the margin defined by indent (default 1.5cm (?)) are
> right-aligned (“Woodwind” in your example). This “mixing” behaviour
> looks odd, I agree. You can make the indent bigger so all names are
> center-aligned or change the alignment of instrument names globally

You can also use David N’s great custom-align function — see snippet, below.

Hope this helps!
Kieren.

p.s. David N: Is this code ready to present as a patch? I think it’s not only a very useful function, it should be Lilypond’s default setting.

Unfortunately, this code doesn't work with the example here: https://sourceforge.net/p/testlilyissues/issues/4728/  and I haven't yet pinpointed the reason.

The code also is badly in need of some caching to avoid repetition of expensive calculations.  Not sure of the best way to do this.

So no patch yet...

David

reply via email to

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