[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alignment of instrument names
From: |
libero . mureddu3 |
Subject: |
Re: alignment of instrument names |
Date: |
Tue, 28 Jun 2005 14:08:20 +0200 |
Thank you Mats,
it works perfectly!
Libero
>-- Original Message --
>Date: Tue, 28 Jun 2005 11:27:30 +0200
>From: Mats Bengtsson <address@hidden>
>To: address@hidden
>CC: address@hidden, Lilypond bug <address@hidden>
>Subject: Re: alignment of instrument names
>
>
>(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
>=============================================