[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: instrument name font
From: |
Xavier Scheuer |
Subject: |
Re: instrument name font |
Date: |
Sat, 30 Jun 2012 09:20:35 +0200 |
On 30 June 2012 06:07, Nick Payne <address@hidden> wrote:
>
> This works for me:
>
> %========================
> \version "2.15.40"
>
> \relative c'' {
> \set Staff.instrumentName = "Guitar"
> d d d d
> }
>
> \relative c'' {
> \set Staff.instrumentName = \markup { \override #'(font-name . "Trajan
> Pro") "Guitar" }
> d d d d
> }
> %========================
>
A simple way to change the instrument name font for all the staves
is to use an override in the layout block.
\layout {
\context {
\Staff
\override InstrumentName #'font-name = #"My Font"
}
}
If you have PianoStaff or StaffGroup do the same but replacing
\Staff by the corresponding context.
Hope that helps.
Cheers,
Xavier
--
Xavier Scheuer <address@hidden>