|
From: | Will Oram |
Subject: | Short Instrument Name Alignment |
Date: | Sun, 26 Nov 2006 01:19:50 -0600 |
There have been a gazillion suggestions over the years for a way to centre instrument names in an appealing manner. The best one I've used is a variant of http://lists.gnu.org/archive/html/lilypond-user/2006-06/msg00012.html . \layout { \context { \RemoveEmptyStaffContext } \context { \GrandStaff \consists "Instrument_name_engraver" } \context { \Score \override InstrumentName #'X-offset = #-14 } } %%% END plus, say... \set Staff.shortInstrumentName = \markup { "C." } The consequence of this is that while the full name looks great, the short name is way out to the left, often cut off by the edge. I've tried a few unsuccessful hacks, like pushShort = \once \override InstrumentName #'extra-offset = #'(X . X) % let X be anything \pushShort \set Staff.shortInstrumentName = \markup { "C." } %%% END Also, \set Staff.shortInstrumentName = \markup { \hcenter-in #'X "C." } % let X >> or << instrumentName's padding Both don't do anything/much. I'm out of ideas. Yours &c., the morning lets you live but not sleeping is too hard ---------------------------------------------------------- _ | WILL ORAM ASCII ribbon campaign ( ) | spamguy (at) foxchange . com - against HTML email X | wro1 (at) cwru . edu & vCards / \ | | AIM spamguy21 ---------------------------------------------------------- (ABOVE: Magnetic poetry #1) |
[Prev in Thread] | Current Thread | [Next in Thread] |