1 ##########################################################################
3 # LaTeX fonts natively supported by LyX.
9 # Family <rm|sf|tt|math>
11 # Package <LaTeX package to be loaded>
12 # Requires <LaTeX package to test for>
13 # AltFonts <alternative fonts (comma-separated)>
14 # OT1Font <alternative font specifically for OT1 encoding>
15 # CompleteFont <alternative package for the complete family>
16 # NoMathFont <alternative font that does not change math>
17 # PackageOptions <general options to be passed to the package>
18 # OsfOption <option for oldstyle figure support>
19 # OsfFont <extra font for oldstyle figures>
21 # ScOption <option for true smallcaps support>
22 # OsfScOption <option for combined osf and true smallcaps support>
23 # ScaleOption <option for font scaling>
24 # Provides <features provided by the font packages (comma-separated)>
26 # <some arbitrary LaTeX code to be issued in the preamble>
33 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
34 # is added for the LyX distribution, the according changes need to be
36 # * "SwitchDefault 1" makes the font to be loaded by switching the default
37 # family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
38 # Package <package> loads it via \usepackage{package}. Only one of these
39 # options is used per font (SwitchDefault takes precendende). Note that
40 # SwitchDefault uses the font name.
41 # * In addition to normal fonts, you can also define alternative fonts
42 # using the AltFont...EndFont tags. These alternative fonts will not
43 # be added to the GUI, but LyX will fall back on them under specific
44 # circumstances (e.g. if the main font is not available; see below).
45 # * If AltFonts are defined, LyX will try to load them in the defined
46 # order if the main package is not available. So
48 # AltFonts mathptm,times
49 # will try to load mathptm if mathptmx is not available and then times
50 # if mathptm is not available either.
51 # AltFonts need to be defined separately using AltFont ... EndFont tags.
52 # * If Requires is set, LyX will check for this. If not, it will check
53 # for Package and AltFonts.
54 # * OT1Font will load the defined font if the font encoding is OT1. This is
55 # necessary since some newer font packages do not support this encoding.
56 # The value "none" tells LyX not to load any font in OT1 encoding.
57 # OT1Fonts need to be defined separately using AltFont ... EndFont tags.
58 # * The CompleteFont is loaded if the current font is selected as rm and
59 # both sf and tt are set to "default" (this allows for instance to load
60 # "bera" as opposed to "beraserif").
61 # CompleteFonts need to be defined separately using AltFont ... EndFont
63 # * OsfFont is a font that is loaded additionally in and that provides
64 # Old Style Figures for a given font (e.g. eco).
65 # * OsfScOption overrides any OsfOption and ScOption if both features
67 # * Set OsfDefault to true for fonts which have Old Style Figures by
68 # default and provide an option for lining figures. Pass this option
70 # * ScaleOption supports the placeholder $$val for the scale value.
71 # * The Preamble code is output immediately after the respective font
74 ##########################################################################
82 GuiName "AE (Almost European)"
110 GuiName "Concrete Roman"
116 GuiName "Zapf Chancery"
122 GuiName "Bitstream Charter (PSNFSS)"
128 GuiName "Computer Modern Roman"
140 GuiName "URW Garamond"
144 Requires garamondx-fonts
149 GuiName "URW Garamond"
158 Package libertine-type1
159 AltFonts libertine-2012,libertine-legacy
160 Requires libertineMono-type1
163 AltFont libertine-2012
168 Package libertine-type1
171 AltFont libertine-legacy
179 GuiName "Latin Modern Roman"
186 GuiName "Latin Modern Roman"
193 GuiName "Bitstream Charter (Mathdesign)"
199 PackageOption charter
201 Provides amssymb,amsfonts
206 GuiName "Bitstream Charter (Mathdesign)"
213 GuiName "Utopia (Mathdesign)"
221 Provides amssymb,amsfonts
226 GuiName "Utopia (Mathdesign)"
233 GuiName "URW Garamond (Mathdesign)"
239 PackageOption garamond
241 Provides amssymb,amsfonts
246 GuiName "URW Garamond (Mathdesign)"
258 Provides amssymb,amsfonts
259 NoMathFont minionpro-nomath
262 AltFont minionpro-nomath
268 PackageOption onlytext
272 GuiName "New Century Schoolbook"
284 AltFonts mathpple,palatino-sty
316 GuiName "Times Roman"
319 AltFonts mathptm,times-sty
325 GuiName "Times Roman"
332 GuiName "Times Roman"
338 GuiName "Times Roman"
344 GuiName "TeX Gyre Bonum"
350 GuiName "TeX Gyre Chorus"
356 GuiName "TeX Gyre Pagella"
362 GuiName "TeX Gyre Schola"
368 GuiName "TeX Gyre Termes"
373 # fourier supersedes utopia.sty, but does
374 # not work with OT1 encoding.
376 GuiName "Utopia (Fourier)"
387 GuiName "Utopia (Fourier)"
393 GuiName "Utopia (Fourier)"
400 GuiName "Utopia (Fourier)"
411 GuiName "Avant Garde"
419 ScaleOption scaled=$$val
428 ScaleOption scaled=$$val
429 Package biolinum-type1
430 Requires libertineMono-type1
431 AltFonts biolinum-2012
434 AltFont biolinum-2012
439 Package biolinum-type1
450 GuiName "Computer Modern Sans"
458 ScaleOption scaled=$$val
471 GuiName "Kurier (Light)"
478 GuiName "Kurier (Condensed)"
485 GuiName "Kurier (Light Condensed)"
492 GuiName "Latin Modern Sans"
499 GuiName "TeX Gyre Adventor"
505 GuiName "TeX Gyre Heros"
511 GuiName "URW Classico (Optima)"
525 ScaleOption scaled=$$val
531 GuiName "CM Typewriter Light"
538 GuiName "Computer Modern Typewriter"
551 GuiName "Libertine Mono"
553 ScaleOption scaled=$$val
554 Package libertineMono-type1
558 GuiName "Latin Modern Typewriter"
567 ScaleOption scaled=$$val
572 GuiName "TeX Gyre Cursor"
578 GuiName "TX Typewriter"
596 GuiName "URW Garamond (New TX)"
599 PackageOption garamondx
600 Provides amssymb,amsfonts
604 GuiName "Kurier (Math)"
609 \let\origrmdefault\rmdefault
610 \usepackage[math]{kurier}
611 % reset stored roman font
612 \renewcommand{\rmdefault}{\origrmdefault}
617 GuiName "Libertine (New TX)"
620 PackageOption libertine
621 Provides amssymb,amsfonts
625 GuiName "Minion Pro (New TX)"
629 Requires minion2newtx
630 Provides amssymb,amsfonts
634 GuiName "Times Roman (New TX)"
637 Provides amssymb,amsfonts