[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alignment of instrument names
From: |
Mats Bengtsson |
Subject: |
Re: alignment of instrument names |
Date: |
Tue, 28 Jun 2005 11:27:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
(To bug-lilypond: why isn't InstrumentName #'X-offset-callbacks
set by default, so you can just set self-alignment-X to get
center or right aligned instrument names? )
The only solution that has appeared in the mailing list archives, as
far as I know, is to use Text Markup commands, such as
\set Staff.instrument = \markup{ \right-align "Viola"}
for each instrument name.
However, I just did some trial and error and managed to set the
alignment for all staves using
\score{
...
\layout{
\context {
\Score
\override TimeSignature #'style = #'C
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset-callbacks =
#`(,Self_alignment_interface::aligned_on_self)
}
}
}
/Mats
address@hidden wrote:
Hi,
By default, in a score, lily left align instrument names. How is it possible
to right-align the names? Or to center-align them?
I would like to have, as staff group name, "Horns", and I, III and II, IV
right aligned as staff names.
Thanks in advance for any help.
Libero
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
- Re: alignment of instrument names,
Mats Bengtsson <=