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"
159 Package libertine-type1
160 AltFonts libertine-legacy
163 AltFont libertine-legacy
171 GuiName "Latin Modern Roman"
178 GuiName "Latin Modern Roman"
185 GuiName "Bitstream Charter (Mathdesign)"
191 PackageOption charter
193 Provides amssymb,amsfonts
198 GuiName "Bitstream Charter (Mathdesign)"
205 GuiName "Utopia (Mathdesign)"
213 Provides amssymb,amsfonts
218 GuiName "Utopia (Mathdesign)"
225 GuiName "URW Garamond (Mathdesign)"
231 PackageOption garamond
233 Provides amssymb,amsfonts
238 GuiName "URW Garamond (Mathdesign)"
250 Provides amssymb,amsfonts
251 NoMathFont minionpro-nomath
254 AltFont minionpro-nomath
260 PackageOption onlytext
264 GuiName "New Century Schoolbook"
276 AltFonts mathpple,palatino-sty
308 GuiName "Times Roman"
311 AltFonts mathptm,times-sty
317 GuiName "Times Roman"
324 GuiName "Times Roman"
330 GuiName "Times Roman"
336 GuiName "TeX Gyre Bonum"
342 GuiName "TeX Gyre Chorus"
348 GuiName "TeX Gyre Pagella"
354 GuiName "TeX Gyre Schola"
360 GuiName "TeX Gyre Termes"
365 # fourier supersedes utopia.sty, but does
366 # not work with OT1 encoding.
368 GuiName "Utopia (Fourier)"
379 GuiName "Utopia (Fourier)"
385 GuiName "Utopia (Fourier)"
392 GuiName "Utopia (Fourier)"
403 GuiName "Avant Garde"
411 ScaleOption scaled=$$val
421 Package biolinum-type1
432 GuiName "Computer Modern Sans"
440 ScaleOption scaled=$$val
450 \renewcommand{\bfdefault}{b}
455 GuiName "Kurier (light)"
459 \renewcommand{\bfdefault}{b}
463 Font kurier-condensed
464 GuiName "Kurier (condensed)"
468 \renewcommand{\sfdefault}{kurier}
469 \edef\sfdefault{\sfdefault c}
470 \renewcommand{\bfdefault}{b}
474 Font kurier-light-condensed
475 GuiName "Kurier (light condensed)"
479 \renewcommand{\sfdefault}{kurierl}
480 \edef\sfdefault{\sfdefault c}
481 \renewcommand{\bfdefault}{b}
486 GuiName "Latin Modern Sans"
493 GuiName "TeX Gyre Adventor"
499 GuiName "TeX Gyre Heros"
505 GuiName "URW Classico (Optima)"
519 ScaleOption scaled=$$val
525 GuiName "CM Typewriter Light"
532 GuiName "Computer Modern Typewriter"
545 GuiName "Latin Modern Typewriter"
554 ScaleOption scaled=$$val
559 GuiName "TeX Gyre Cursor"
565 GuiName "TX Typewriter"
583 GuiName "URW Garamond (New TX)"
586 PackageOption garamondx
587 Provides amssymb,amsfonts
591 GuiName "Kurier (math)"
595 \let\Myrmdefault\rmdefault
596 \usepackage[math]{kurier}
597 \renewcommand{\rmdefault}{\Myrmdefault}
602 GuiName "Libertine (New TX)"
605 PackageOption libertine
606 Provides amssymb,amsfonts
610 GuiName "Minion Pro (New TX)"
614 Requires minion2newtx
615 Provides amssymb,amsfonts
619 GuiName "Times Roman (New TX)"
622 Provides amssymb,amsfonts