Next: , Previous: Fonts explained, Up: Fonts


Single entry fonts

Any font that is installed on the operating system and recognized by FontConfig may be used in a score, using the following syntax:

\override Staff.TimeSignature #'font-name = #"Charter"
\override Staff.TimeSignature #'font-size = #2
\time 3/4

a1_\markup {
  \override #'(font-name . "Vera Bold")
    { Vera Bold }
}

[image of music]

The following command displays a list of all available fonts on the operating system:

lilypond -dshow-available-fonts x

The last argument of the command can be anything, but has to be present.

See also

Notation Reference: Fonts explained, Entire document fonts.

Snippets: Text.

Installed files: lily/font-config-scheme.cc.

Autres langues : español, deutsch.