1 ##########################################################################
3 # LaTeX fonts natively supported by LyX.
9 # Family <rm|sf|tt|math>
10 # FontEncoding <font encoding>
12 # Package <LaTeX package to be loaded>
13 # Requires <LaTeX package to test for>
14 # AltFonts <alternative fonts (comma-separated)>
15 # OT1Font <alternative font specifically for OT1 encoding>
16 # CompleteFont <alternative package for the complete family>
17 # NoMathFont <alternative font that does not change math>
18 # PackageOptions <general options to be passed to the package>
19 # OsfOption <option for oldstyle figure support>
20 # OsfFont <extra font for oldstyle figures>
22 # ScOption <option for true smallcaps support>
23 # OsfScOption <option for combined osf and true smallcaps support>
24 # ScaleOption <option for font scaling>
25 # Provides <features provided by the font packages (comma-separated)>
27 # <some arbitrary LaTeX code to be issued in the preamble>
34 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
35 # is added for the LyX distribution, the according changes need to be
37 # * If FontEncoding is not specified, T1 is assumed.
38 # * "SwitchDefault 1" makes the font to be loaded by switching the default
39 # family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
40 # Package <package> loads it via \usepackage{package}. Only one of these
41 # options is used per font (SwitchDefault takes precendende). Note that
42 # SwitchDefault uses the font name.
43 # * In addition to normal fonts, you can also define alternative fonts
44 # using the AltFont...EndFont tags. These alternative fonts will not
45 # be added to the GUI, but LyX will fall back on them under specific
46 # circumstances (e.g. if the main font is not available; see below).
47 # * If AltFonts are defined, LyX will try to load them in the defined
48 # order if the main package is not available. So
50 # AltFonts mathptm,times
51 # will try to load mathptm if mathptmx is not available and then times
52 # if mathptm is not available either.
53 # AltFonts need to be defined separately using AltFont ... EndFont tags.
54 # * If Requires is set, LyX will check for this. If not, it will check
55 # for Package and AltFonts.
56 # * OT1Font will load the defined font if the font encoding is OT1. This is
57 # necessary since some newer font packages do not support this encoding.
58 # The value "none" tells LyX not to load any font in OT1 encoding.
59 # OT1Fonts need to be defined separately using AltFont ... EndFont tags.
60 # * The CompleteFont is loaded if the current font is selected as rm and
61 # both sf and tt are set to "default" (this allows for instance to load
62 # "bera" as opposed to "beraserif").
63 # CompleteFonts need to be defined separately using AltFont ... EndFont
65 # * OsfFont is a font that is loaded additionally in and that provides
66 # Old Style Figures for a given font (e.g. eco).
67 # * OsfScOption overrides any OsfOption and ScOption if both features
69 # * Set OsfDefault to true for fonts which have Old Style Figures by
70 # default and provide an option for lining figures. Pass this option
72 # * ScaleOption supports the placeholder $$val for the scale value.
73 # * The Preamble code is output immediately after the respective font
76 ##########################################################################
84 GuiName "AE (Almost European)"
112 GuiName "Concrete Roman"
118 GuiName "Zapf Chancery"
124 GuiName "Bitstream Charter (PSNFSS)"
130 GuiName "Crimson (Cochineal)"
132 OsfOption "proportional,osf"
144 GuiName "Computer Modern Roman"
157 GuiName "URW Garamond"
161 Requires garamondx-fonts
166 GuiName "URW Garamond"
176 Package libertineRoman
177 CompleteFont libertine-full
178 AltFonts libertine-type1,libertine-2012,libertine-legacy
181 AltFont libertine-full
185 Requires libertineRoman
188 AltFont libertine-type1
192 Package libertine-type1
193 Requires libertineMono-type1
196 AltFont libertine-2012
201 Package libertine-type1
204 AltFont libertine-legacy
212 GuiName "Latin Modern Roman"
219 GuiName "Latin Modern Roman"
226 GuiName "Bitstream Charter (Mathdesign)"
232 PackageOption charter
234 Provides amssymb,amsfonts
239 GuiName "Bitstream Charter (Mathdesign)"
246 GuiName "Utopia (Mathdesign)"
254 Provides amssymb,amsfonts
259 GuiName "Utopia (Mathdesign)"
266 GuiName "URW Garamond (Mathdesign)"
272 PackageOption garamond
274 Provides amssymb,amsfonts
279 GuiName "URW Garamond (Mathdesign)"
291 Provides amssymb,amsfonts
292 NoMathFont minionpro-nomath
295 AltFont minionpro-nomath
301 PackageOption onlytext
305 GuiName "New Century Schoolbook"
331 AltFonts mathpple,palatino-sty
363 GuiName "ParaType Serif"
367 CompleteFont paratype
371 GuiName "ParaType Serif"
377 GuiName "Times Roman"
380 AltFonts mathptm,times-sty
386 GuiName "Times Roman"
393 GuiName "Times Roman"
399 GuiName "Times Roman"
405 GuiName "TeX Gyre Bonum"
411 GuiName "TeX Gyre Chorus"
417 GuiName "TeX Gyre Pagella"
423 GuiName "TeX Gyre Schola"
429 GuiName "TeX Gyre Termes"
434 # fourier supersedes utopia.sty, but does
435 # not work with OT1 encoding.
437 GuiName "Utopia (Fourier)"
448 GuiName "Utopia (Fourier)"
454 GuiName "Utopia (Fourier)"
461 GuiName "Utopia (Fourier)"
467 GuiName "Bitstream Charter (XCharter)"
478 GuiName "Avant Garde"
486 ScaleOption scaled=$$val
495 ScaleOption scaled=$$val
497 AltFonts biolinum-type1,biolinum-2012
500 AltFont biolinum-type1
504 ScaleOption scaled=$$val
505 Package biolinum-type1
506 Requires libertineMono-type1
509 AltFont biolinum-2012
514 Package biolinum-type1
525 GuiName "Computer Modern Sans"
534 ScaleOption scaled=$$val
547 GuiName "Iwona (Light)"
554 GuiName "Iwona (Condensed)"
561 GuiName "Iwona (Light Condensed)"
575 GuiName "Kurier (Light)"
582 GuiName "Kurier (Condensed)"
589 GuiName "Kurier (Light Condensed)"
596 GuiName "Latin Modern Sans"
610 GuiName "ParaType Sans"
612 ScaleOption scaled=$$val
618 GuiName "TeX Gyre Adventor"
624 GuiName "TeX Gyre Heros"
630 GuiName "URW Classico (Optima)"
644 ScaleOption scaled=$$val
650 GuiName "CM Typewriter Light"
657 GuiName "Computer Modern Typewriter"
671 GuiName "Libertine Mono"
673 ScaleOption scaled=$$val
674 Package libertineMono
675 AltFonts libertine-mono-type1
678 AltFont libertine-mono-type1
679 GuiName "Libertine Mono"
681 ScaleOption scaled=$$val
682 Package libertineMono-type1
686 GuiName "Latin Modern Typewriter"
695 ScaleOption scaled=$$val
707 GuiName "ParaType Mono"
709 ScaleOption scaled=$$val
715 GuiName "TeX Gyre Cursor"
721 GuiName "TX Typewriter"
733 GuiName "Crimson (New TX)"
736 PackageOption cochineal
737 Provides amssymb,amsfonts
747 GuiName "URW Garamond (New TX)"
750 PackageOption garamondx
751 Provides amssymb,amsfonts
755 GuiName "Iwona (Math)"
760 \let\origrmdefault\rmdefault
761 \usepackage[math]{iwona}
762 % reset stored roman font
763 \renewcommand{\rmdefault}{\origrmdefault}
768 GuiName "Kurier (Math)"
773 \let\origrmdefault\rmdefault
774 \usepackage[math]{kurier}
775 % reset stored roman font
776 \renewcommand{\rmdefault}{\origrmdefault}
781 GuiName "Libertine (New TX)"
784 PackageOption libertine
785 Provides amssymb,amsfonts
789 GuiName "Minion Pro (New TX)"
793 Requires minion2newtx
794 Provides amssymb,amsfonts
798 GuiName "Times Roman (New TX)"
801 Provides amssymb,amsfonts