Re: instrument name font

2012-06-30 Thread Xavier Scheuer
On 30 June 2012 06:07, Nick Payne nick.pa...@internode.on.net 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 x.sche...@gmail.com

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: instrument name font

2012-06-29 Thread Nick Payne

On 30/06/12 12:22, Jeffrey Trevino wrote:
What's the best way to change the instrument name font? I tried a 
bunch of overrides, and even made a new font tree, but it's staying 
put with New Century Schoolbook, despite my best efforts. J


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
}
%

Nick
attachment: test.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user