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 "Crimson (Cochineal)"
130 OsfOption "proportional,osf"
142 GuiName "Computer Modern Roman"
154 GuiName "URW Garamond"
158 Requires garamondx-fonts
163 GuiName "URW Garamond"
173 Package libertineRoman
174 CompleteFont libertine-full
175 AltFonts libertine-type1,libertine-2012,libertine-legacy
178 AltFont libertine-full
182 Requires libertineRoman
185 AltFont libertine-type1
189 Package libertine-type1
190 Requires libertineMono-type1
193 AltFont libertine-2012
198 Package libertine-type1
201 AltFont libertine-legacy
209 GuiName "Latin Modern Roman"
216 GuiName "Latin Modern Roman"
223 GuiName "Bitstream Charter (Mathdesign)"
229 PackageOption charter
231 Provides amssymb,amsfonts
236 GuiName "Bitstream Charter (Mathdesign)"
243 GuiName "Utopia (Mathdesign)"
251 Provides amssymb,amsfonts
256 GuiName "Utopia (Mathdesign)"
263 GuiName "URW Garamond (Mathdesign)"
269 PackageOption garamond
271 Provides amssymb,amsfonts
276 GuiName "URW Garamond (Mathdesign)"
288 Provides amssymb,amsfonts
289 NoMathFont minionpro-nomath
292 AltFont minionpro-nomath
298 PackageOption onlytext
302 GuiName "New Century Schoolbook"
328 AltFonts mathpple,palatino-sty
360 GuiName "ParaType Serif"
364 CompleteFont paratype
368 GuiName "ParaType Serif"
374 GuiName "Times Roman"
377 AltFonts mathptm,times-sty
383 GuiName "Times Roman"
390 GuiName "Times Roman"
396 GuiName "Times Roman"
402 GuiName "TeX Gyre Bonum"
408 GuiName "TeX Gyre Chorus"
414 GuiName "TeX Gyre Pagella"
420 GuiName "TeX Gyre Schola"
426 GuiName "TeX Gyre Termes"
431 # fourier supersedes utopia.sty, but does
432 # not work with OT1 encoding.
434 GuiName "Utopia (Fourier)"
445 GuiName "Utopia (Fourier)"
451 GuiName "Utopia (Fourier)"
458 GuiName "Utopia (Fourier)"
469 GuiName "Avant Garde"
477 ScaleOption scaled=$$val
486 ScaleOption scaled=$$val
488 AltFonts biolinum-type1,biolinum-2012
491 AltFont biolinum-type1
495 ScaleOption scaled=$$val
496 Package biolinum-type1
497 Requires libertineMono-type1
500 AltFont biolinum-2012
505 Package biolinum-type1
516 GuiName "Computer Modern Sans"
524 ScaleOption scaled=$$val
537 GuiName "Iwona (Light)"
544 GuiName "Iwona (Condensed)"
551 GuiName "Iwona (Light Condensed)"
565 GuiName "Kurier (Light)"
572 GuiName "Kurier (Condensed)"
579 GuiName "Kurier (Light Condensed)"
586 GuiName "Latin Modern Sans"
600 GuiName "ParaType Sans"
602 ScaleOption scaled=$$val
608 GuiName "TeX Gyre Adventor"
614 GuiName "TeX Gyre Heros"
620 GuiName "URW Classico (Optima)"
634 ScaleOption scaled=$$val
640 GuiName "CM Typewriter Light"
647 GuiName "Computer Modern Typewriter"
660 GuiName "Libertine Mono"
662 ScaleOption scaled=$$val
663 Package libertineMono
664 AltFonts libertine-mono-type1
667 AltFont libertine-mono-type1
668 GuiName "Libertine Mono"
670 ScaleOption scaled=$$val
671 Package libertineMono-type1
675 GuiName "Latin Modern Typewriter"
684 ScaleOption scaled=$$val
696 GuiName "ParaType Mono"
698 ScaleOption scaled=$$val
704 GuiName "TeX Gyre Cursor"
710 GuiName "TX Typewriter"
722 GuiName "Crimson (New TX)"
725 PackageOption cochineal
726 Provides amssymb,amsfonts
736 GuiName "URW Garamond (New TX)"
739 PackageOption garamondx
740 Provides amssymb,amsfonts
744 GuiName "Iwona (Math)"
749 \let\origrmdefault\rmdefault
750 \usepackage[math]{iwona}
751 % reset stored roman font
752 \renewcommand{\rmdefault}{\origrmdefault}
757 GuiName "Kurier (Math)"
762 \let\origrmdefault\rmdefault
763 \usepackage[math]{kurier}
764 % reset stored roman font
765 \renewcommand{\rmdefault}{\origrmdefault}
770 GuiName "Libertine (New TX)"
773 PackageOption libertine
774 Provides amssymb,amsfonts
778 GuiName "Minion Pro (New TX)"
782 Requires minion2newtx
783 Provides amssymb,amsfonts
787 GuiName "Times Roman (New TX)"
790 Provides amssymb,amsfonts