On 30 June 2012 06:07, Nick Payne <[email protected]> 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 <[email protected]>

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to