lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Vertical position of cue instrument names


From: Joe Neeman
Subject: Re: [PATCH] Re: Vertical position of cue instrument names
Date: Sat, 17 May 2008 19:13:06 +1000

2008/5/5 Reinhold Kainhofer <address@hidden>:
Am Sonntag, 4. Mai 2008 schrieb Trevor Daniels:
> Hi Reinhold
>
> These fix most of the problems:
>
>     \override InstrumentSwitch #'outside-staff-priority = 100
>     \override InstrumentSwitch #'self-alignment-X = #LEFT
>
> but not the baseline alignment.

...and not the way too large padding between the staff and the instrument
name. But thanks for your hints, I could track down how bad the current
defaults for InstrumentSwitch are:

-) no outsize-staff-priority => placed at fixed position
-) staff-padding set to 2, which means that the instrument name was placed
half a staff away! I suppose 0.5 would make much more sense (or maybe
somthing up t o1, but nothing larger than that! I find a spaff-padding of 1
already too large.)
-) center-aligned on the note they apply to (=> unusable for longer names)


Attached is a patch, which changes the defaults for InstrumentSwitch to more
sensible values:
-) outside-staff-priority set to 500
-) staff-padding reduced to 0.5
-) left-aligned on the note (actually, in the hand-engraved scores that I
have, most fo the cue instrument names are neither center-aligned nor
left-aligned on the note, but rather left aligned at the start of the
measure...)

Okay to apply?

Please do, once you've incorporated Mats' suggestion to solve the spacing problem.

Joe


reply via email to

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