]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
b840784861984289caafd06cab599c2ba4a5db01
[lyx.git] / lib / latexfonts
1 ##########################################################################
2 #
3 # LaTeX fonts natively supported by LyX.
4 #
5 # Syntax:
6 #
7 # Font <name>
8 #       GuiName            "<Gui Name>"
9 #       Family             <rm|sf|tt|math>
10 #       SwitchDefault      <0|1>
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>
20 #       OsfDefault         <0|1>
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)>
25 #       Preamble
26 #         <some arbitrary LaTeX code to be issued in the preamble>
27 #       EndPreamble
28 # EndFont
29 #
30 #
31 # NOTES:
32 #
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
35 #   done.
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
47 #       Package          mathptmx
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
62 #   tags.
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
66 #   are selected.
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
69 #   to OsfOption.
70 # * ScaleOption supports the placeholder $$val for the scale value.
71 # * The Preamble code is output immediately after the respective font
72 #   loading command.
73 #
74 ##########################################################################
75
76
77 #
78 # ROMAN FONTS
79 #
80
81 Font ae
82         GuiName          "AE (Almost European)"
83         Family           rm
84         Package          "ae,aecompl"
85         OT1Font          none
86         Requires         ae
87 EndFont
88
89 Font beraserif
90         GuiName          "Bera Serif"
91         Family           rm
92         Package          beraserif
93         CompleteFont     bera
94         Requires         bera
95 EndFont
96
97 AltFont bera
98         GuiName          "Bera Serif"
99         Family           rm
100         Package          bera
101 EndFont
102
103 Font bookman
104         GuiName          "Bookman"
105         Family           rm
106         Package          bookman
107 EndFont
108
109 Font ccfonts
110         GuiName          "Concrete Roman"
111         Family           rm
112         Package          ccfonts
113 EndFont
114
115 Font chancery
116         GuiName          "Zapf Chancery"
117         Family           rm
118         Package          chancery
119 EndFont
120
121 Font charter
122         GuiName          "Bitstream Charter (PSNFSS)"
123         Family           rm
124         Package          charter
125 EndFont
126
127 Font cmr
128         GuiName          "Computer Modern Roman"
129         Family           rm
130         SwitchDefault    1
131         OsfFont          eco
132 EndFont
133
134 AltFont eco
135         Family           rm
136         Package          eco
137 EndFont
138
139 Font garamondx
140         GuiName          "URW Garamond"
141         Family           rm
142         OsfOption        osfI
143         Package          garamondx
144         Requires         garamondx-fonts
145         AltFonts         ugm
146 EndFont
147
148 AltFont ugm
149         GuiName          "URW Garamond"
150         Family           rm
151         SwitchDefault    1
152 EndFont
153
154 Font libertine
155         GuiName          "Libertine"
156         Family           rm
157         OsfOption        lining
158         OsfDefault       1
159         Package          libertine-type1
160         AltFonts         libertine-legacy
161 EndFont
162
163 AltFont libertine-legacy
164         GuiName          "Libertine"
165         Family           rm
166         OsfOption        osf
167         Package          libertine
168 EndFont
169
170 Font lmodern
171         GuiName          "Latin Modern Roman"
172         Family           rm
173         Package          lmodern
174         NoMathFont       lmr
175 EndFont
176
177 AltFont lmr
178         GuiName          "Latin Modern Roman"
179         Family           rm
180         SwitchDefault    1
181         Requires         lmodern
182 EndFont
183
184 Font md-charter
185         GuiName          "Bitstream Charter (Mathdesign)"
186         Family           rm
187         OsfOption        expert
188         ScOption         expert
189         OsfScOption      expert
190         Package          mathdesign
191         PackageOption    charter
192         Requires         mdbch
193         Provides         amssymb,amsfonts
194         NoMathFont       mdbch
195 EndFont
196
197 AltFont mdbch
198         GuiName          "Bitstream Charter (Mathdesign)"
199         Family           rm
200         SwitchDefault    1
201         Requires         mdbch
202 EndFont
203
204 Font md-utopia
205         GuiName          "Utopia (Mathdesign)"
206         Family           rm
207         OsfOption        expert
208         ScOption         expert
209         OsfScOption      expert
210         Package          mathdesign
211         PackageOption    utopia
212         Requires         mdput
213         Provides         amssymb,amsfonts
214         NoMathFont       mdput
215 EndFont
216
217 AltFont mdput
218         GuiName          "Utopia (Mathdesign)"
219         Family           rm
220         SwitchDefault    1
221         Requires         mdput
222 EndFont
223
224 Font md-garamond
225         GuiName          "URW Garamond (Mathdesign)"
226         Family           rm
227         OsfOption        expert
228         ScOption         expert
229         OsfScOption      expert
230         Package          mathdesign
231         PackageOption    garamond
232         Requires         mdugm
233         Provides         amssymb,amsfonts
234         NoMathFont       mdugm
235 EndFont
236
237 AltFont mdugm
238         GuiName          "URW Garamond (Mathdesign)"
239         Family           rm
240         SwitchDefault    1
241         Requires         mdugm
242 EndFont
243
244 Font minionpro
245         GuiName          "Minion Pro"
246         Family           rm
247         OsfOption        lf
248         OsfDefault       1
249         Package          MinionPro
250         Provides         amssymb,amsfonts
251         NoMathFont       minionpro-nomath
252 EndFont
253
254 AltFont minionpro-nomath
255         GuiName          "Minion Pro"
256         Family           rm
257         OsfOption        lf
258         OsfDefault       1
259         Package          MinionPro
260         PackageOption    onlytext
261 EndFont
262
263 Font newcent
264         GuiName          "New Century Schoolbook"
265         Family           rm
266         Package          newcent
267 EndFont
268
269 Font palatino
270         GuiName          "Palatino"
271         Family           rm
272         OsfOption        osf
273         ScOption         sc
274         OsfScOption      osf
275         Package          mathpazo
276         AltFonts         mathpple,palatino-sty
277         NoMathFont       ppl
278         Requires         psnfss
279 EndFont
280
281 AltFont mathpple
282         GuiName          "Palatino"
283         Family           rm
284         Package          mathpple
285         NoMathFont       ppl
286 EndFont
287
288 AltFont palatino-sty
289         GuiName          "Palatino"
290         Family           rm
291         Package          palatino
292 EndFont
293
294 AltFont ppl
295         GuiName          "Palatino"
296         Family           rm
297         OsfFont          pplj
298         SwitchDefault    1
299 EndFont
300
301 AltFont pplj
302         GuiName          "Palatino"
303         Family           rm
304         SwitchDefault    1
305 EndFont
306
307 Font times
308         GuiName          "Times Roman"
309         Family           rm
310         Package          mathptmx
311         AltFonts         mathptm,times-sty
312         NoMathFont       ptm
313         Requires         psnfss
314 EndFont
315
316 AltFont mathptm
317         GuiName          "Times Roman"
318         Family           rm
319         Package          mathptm
320         NoMathFont       ptm
321 EndFont
322
323 AltFont times-sty
324         GuiName          "Times Roman"
325         Family           rm
326         Package          times
327 EndFont
328
329 AltFont ptm
330         GuiName          "Times Roman"
331         Family           rm
332         SwitchDefault    1
333 EndFont
334
335 Font tgbonum
336         GuiName          "TeX Gyre Bonum"
337         Family           rm
338         Package          tgbonum
339 EndFont
340
341 Font tgchorus
342         GuiName          "TeX Gyre Chorus"
343         Family           rm
344         Package          tgchorus
345 EndFont
346
347 Font tgpagella
348         GuiName          "TeX Gyre Pagella"
349         Family           rm
350         Package          tgpagella
351 EndFont
352
353 Font tgschola
354         GuiName          "TeX Gyre Schola"
355         Family           rm
356         Package          tgschola
357 EndFont
358
359 Font tgtermes
360         GuiName          "TeX Gyre Termes"
361         Family           rm
362         Package          tgtermes
363 EndFont
364
365 # fourier supersedes utopia.sty, but does
366 # not work with OT1 encoding.
367 Font utopia
368         GuiName          "Utopia (Fourier)"
369         Family           rm
370         OsfOption        oldstyle
371         ScOption         expert
372         Package          fourier
373         AltFonts         utopia-sty
374         OT1Font          utopia-sty
375         NoMathFont       futs
376 EndFont
377
378 AltFont utopia-sty
379         GuiName          "Utopia (Fourier)"
380         Family           rm
381         Package          utopia
382 EndFont
383
384 AltFont futs
385         GuiName          "Utopia (Fourier)"
386         Family           rm
387         SwitchDefault    1
388         OsfFont          futj
389 EndFont
390
391 AltFont futj
392         GuiName          "Utopia (Fourier)"
393         Family           rm
394         SwitchDefault    1
395 EndFont
396
397
398 #
399 # SANS SERIF FONTS
400 #
401
402 Font avant
403         GuiName          "Avant Garde"
404         Family           sf
405         Package          avant
406 EndFont
407
408 Font berasans
409         GuiName          "Bera Sans"
410         Family           sf
411         ScaleOption      scaled=$$val
412         Package          berasans
413         Requires         bera
414 EndFont
415
416 Font biolinum
417         GuiName          "Biolinum"
418         Family           sf
419         OsfOption        lining
420         OsfDefault       1
421         Package          biolinum-type1
422 EndFont
423
424 Font cmbr
425         GuiName          "CM Bright"
426         Family           sf
427         SwitchDefault    1
428         Requires         cmbright
429 EndFont
430
431 Font cmss
432         GuiName          "Computer Modern Sans"
433         Family           sf
434         SwitchDefault    1
435 EndFont
436
437 Font helvet
438         GuiName          "Helvetica"
439         Family           sf
440         ScaleOption      scaled=$$val
441         Package          helvet
442         Requires         psnfss
443 EndFont
444
445 Font lmss
446         GuiName          "Latin Modern Sans"
447         Family           sf
448         SwitchDefault    1
449         Requires         lmodern
450 EndFont
451
452 Font tgadventor
453         GuiName          "TeX Gyre Adventor"
454         Family           sf
455         Package          tgadventor
456 EndFont
457
458 Font tgheros
459         GuiName          "TeX Gyre Heros"
460         Family           sf
461         Package          tgheros
462 EndFont
463
464 Font uop
465         GuiName          "URW Classico (Optima)"
466         Family           sf
467         SwitchDefault    1
468         Requires         urwclassico
469 EndFont
470
471
472 #
473 # MONOSPACED FONTS
474 #
475
476 Font beramono
477         GuiName          "Bera Mono"
478         Family           tt
479         ScaleOption      scaled=$$val
480         Package          beramono
481         Requires         bera
482 EndFont
483
484 Font cmtl
485         GuiName          "CM Typewriter Light"
486         Family           tt
487         SwitchDefault    1
488         Requires         cmbright
489 EndFont
490
491 Font cmtt
492         GuiName          "Computer Modern Typewriter"
493         Family           tt
494         SwitchDefault    1
495 EndFont
496
497 Font courier
498         GuiName          "Courier"
499         Family           tt
500         Package          courier
501         Requires         psnfss
502 EndFont
503
504 Font lmtt
505         GuiName          "Latin Modern Typewriter"
506         Family           tt
507         SwitchDefault    1
508         Requires         lmodern
509 EndFont
510
511 Font luximono
512         GuiName          "LuxiMono"
513         Family           tt
514         ScaleOption      scaled=$$val
515         Package          luximono
516 EndFont
517
518 Font tgcursor
519         GuiName          "TeX Gyre Cursor"
520         Family           tt
521         Package          tgcursor
522 EndFont
523
524 Font txtt
525         GuiName          "TX Typewriter"
526         Family           tt
527         SwitchDefault    1
528         Requires         txfonts
529 EndFont
530
531
532 #
533 # MATH FONTS
534 #
535
536 Font eulervm
537         GuiName          "Euler VM"
538         Family           math
539         Package          eulervm
540 EndFont
541
542 Font garamondx-ntxm
543         GuiName          "URW Garamond (New TX)"
544         Family           math
545         Package          newtxmath
546         PackageOption    garamondx
547         Provides         amssymb,amsfonts
548 EndFont
549
550 Font libertine-ntxm
551         GuiName          "Libertine (New TX)"
552         Family           math
553         Package          newtxmath
554         PackageOption    libertine
555         Provides         amssymb,amsfonts
556 EndFont
557
558 Font minion-ntxm
559         GuiName          "Minion Pro (New TX)"
560         Family           math
561         Package          newtxmath
562         PackageOption    minion
563         Requires         minion2newtx
564         Provides         amssymb,amsfonts
565 EndFont
566
567 Font newtxmath
568         GuiName          "Times Roman (New TX)"
569         Family           math
570         Package          newtxmath
571         Provides         amssymb,amsfonts
572 EndFont