(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
[EMAIL PROTECTED] 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
lilypond-user@gnu.org
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond