If you read the section about Text Scripts in the (on-line) reference manual, you will find a link at the bottom of the page to "TextScript", which gives a list of all properties that can be set on this graphical object (grob, for short).
Among others, there is a property called font-family that you can set to sans to get sans serif fonts.
If you want to set this property for the full score, do
\score{
...
\paper{
...
\translator{
\ScoreContext
TextScript \override #'font-family = #'sans
}
}
}Similarly for instrument names, the section in the reference
manual has a link to
http://lilypond.org/doc/v2.0/Documentation/user/out-www/lilypond-internals/InstrumentName.html
so you could use a very similar solution.
See also http://mail.gnu.org/archive/html/lilypond-user/2003-10/msg00195.html
/Mats
[EMAIL PROTECTED] wrote:
hi all,
i would like to have my text-scripts come out in \sffamily always... i know how to change this around in the titledefs.tex, but i'd also like my text-markup to automagically be printed in \sffamily font (an added bonus would also be for staff instrument names to be printed in \sffamily as well).
where would i find the font definitions for markups (and staff texts)?
thx for any help. regards, simon
------------------------------------------------- This mail sent through Brainity: http://brainity.com
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
