[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing font of text-scripts globally
From: |
Mats Bengtsson |
Subject: |
Re: changing font of text-scripts globally |
Date: |
Wed, 03 Dec 2003 11:15:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
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
address@hidden 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
address@hidden
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================