[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Re: alignment of instrument names
From:       libero.mureddu3 () fastwebnet ! it
Date:       2005-06-28 12:08:20
Message-ID: 42B2BB910000D317 () ms005msg ! mail ! fw
[Download RAW message or body]

Thank you Mats,
it works perfectly!
Libero
>-- Original Message --
>Date: Tue, 28 Jun 2005 11:27:30 +0200
>From: Mats Bengtsson <mats.bengtsson@s3.kth.se>
>To:  libero.mureddu3@fastwebnet.it
>CC:  lilypond-user@gnu.org, Lilypond bug <bug-lilypond@gnu.org>
>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
>
>
>libero.mureddu3@fastwebnet.it 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: mats.bengtsson@s3.kth.se
>	WWW: http://www.s3.kth.se/~mabe
>=============================================





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic