[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Aligning instrument names
From: |
Trevor Daniels |
Subject: |
RE: Aligning instrument names |
Date: |
Wed, 25 Oct 2006 18:20:56 +0100 |
Many thanks, Thies
Your suggestion works perfectly for left-aligning instrument
names, and it is certainly simpler than my best effort!
With hspace 1 or 2 larger than the longest name and 1 larger
again for staves which are outside any bracket or brace the
left alignment (for the default font at least) is almost
perfect.
Trevor
> -----Original Message-----
> From: address@hidden
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> address@hidden Behalf Of
> Thies Albrecht
> Sent: 24 October 2006 22:34
> To: address@hidden
> Subject: Re: Aligning instrument names
>
>
> Hi Trevor!
>
> > This is somewhat arcane - anyone found a better way?
> >
> > \set Staff.instrument=\markup {
> > \override #'(baseline-skip . 0)
> > \left-align { \column { \transparent
> AAAAAAAAA Solo } }
> > }
> Here's what I do (I hope I'll remember correctly
> as I can't find a file containing it right now):
>
> \set Staff.instrument = \markup {
> \combine
> \hspace #5.0
> "My Instrument"
> }
>
> You can easily adjust the space by changing 5.0.
>
> Kind regards,
> Thies Albrecht
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer
> Onlinekosten zu sparen!
> Ideal für Modem und ISDN:
> http://www.gmx.net/de/go/smartsurfer
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>