![]() |
GNU LilyPond-- -- |
||||||||||
|
Font selectionThe most common thing to change about the appearance of fonts is
their size. The font size of a Voice
,
Staff
or Thread
context, can be easily
changed by setting the This command will not change the size of variable symbols, such as beams or slurs. You can use this command to get smaller symbol for cue notes, but that involves some more subtleties. An elaborate example of those is in input/test/cue-notes.ly .
The font used for printing a object can be selected by setting
\property Staff.TimeSignature \set #'font-name = #"cmr17"You may use any font which is available to TeX, such as foreign fonts or fonts that do not belong to the Computer Modern font family. Font selection for the standard fonts, TeX's Computer Modern fonts, can also be adjusted with a more fine-grained mechanism. By setting the object properties described below, you can select a different font. All three mechanisms work for every object that supports font-interface .
For any of these properties, the value \property Lyrics.LyricText \override #'font-series = #'bold \property Lyrics.LyricText \override #'font-family = #'typewriter \property Lyrics.LyricText \override #'font-shape = #'* There are also pre-cooked font selection qualifiers. These are
selected through the object property The size of the font may be scaled with the object property
BUGS Relative size is not linked to any real size. There is no style sheet provided for other fonts besides the TeX family, and the style sheet can not be modified easily. |
||||||||||
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to (address unknown) Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
This page was built from LilyPond-1.7.14 (development-branch) by