]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
Whitespace
[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 cochineal
128         GuiName          "Crimson (Cochineal)"
129         Family           rm
130         OsfOption        "proportional,osf"
131         Package          cochineal
132         AltFonts         crimson
133 EndFont
134
135 AltFont crimson
136         GuiName          "Crimson"
137         Family           rm
138         Package          crimson
139 EndFont
140
141 Font cmr
142         GuiName          "Computer Modern Roman"
143         Family           rm
144         SwitchDefault    1
145         OsfFont          eco
146 EndFont
147
148 AltFont eco
149         Family           rm
150         Package          eco
151 EndFont
152
153 Font garamondx
154         GuiName          "URW Garamond"
155         Family           rm
156         OsfOption        osfI
157         Package          garamondx
158         Requires         garamondx-fonts
159         AltFonts         ugm
160 EndFont
161
162 AltFont ugm
163         GuiName          "URW Garamond"
164         Family           rm
165         SwitchDefault    1
166         Requires         ugm
167 EndFont
168
169 Font libertine
170         GuiName          "Libertine"
171         Family           rm
172         OsfOption        osf
173         Package          libertine-type1
174         AltFonts         libertine-2012,libertine-legacy
175         Requires         libertineMono-type1
176 EndFont
177
178 AltFont libertine-2012
179         GuiName          "Libertine"
180         Family           rm
181         OsfOption        lining
182         OsfDefault       1
183         Package          libertine-type1
184 EndFont
185
186 AltFont libertine-legacy
187         GuiName          "Libertine"
188         Family           rm
189         OsfOption        osf
190         Package          libertine
191 EndFont
192
193 Font lmodern
194         GuiName          "Latin Modern Roman"
195         Family           rm
196         Package          lmodern
197         NoMathFont       lmr
198 EndFont
199
200 AltFont lmr
201         GuiName          "Latin Modern Roman"
202         Family           rm
203         SwitchDefault    1
204         Requires         lmodern
205 EndFont
206
207 Font md-charter
208         GuiName          "Bitstream Charter (Mathdesign)"
209         Family           rm
210         OsfOption        expert
211         ScOption         expert
212         OsfScOption      expert
213         Package          mathdesign
214         PackageOption    charter
215         Requires         mdbch
216         Provides         amssymb,amsfonts
217         NoMathFont       mdbch
218 EndFont
219
220 AltFont mdbch
221         GuiName          "Bitstream Charter (Mathdesign)"
222         Family           rm
223         SwitchDefault    1
224         Requires         mdbch
225 EndFont
226
227 Font md-utopia
228         GuiName          "Utopia (Mathdesign)"
229         Family           rm
230         OsfOption        expert
231         ScOption         expert
232         OsfScOption      expert
233         Package          mathdesign
234         PackageOption    utopia
235         Requires         mdput
236         Provides         amssymb,amsfonts
237         NoMathFont       mdput
238 EndFont
239
240 AltFont mdput
241         GuiName          "Utopia (Mathdesign)"
242         Family           rm
243         SwitchDefault    1
244         Requires         mdput
245 EndFont
246
247 Font md-garamond
248         GuiName          "URW Garamond (Mathdesign)"
249         Family           rm
250         OsfOption        expert
251         ScOption         expert
252         OsfScOption      expert
253         Package          mathdesign
254         PackageOption    garamond
255         Requires         mdugm
256         Provides         amssymb,amsfonts
257         NoMathFont       mdugm
258 EndFont
259
260 AltFont mdugm
261         GuiName          "URW Garamond (Mathdesign)"
262         Family           rm
263         SwitchDefault    1
264         Requires         mdugm
265 EndFont
266
267 Font minionpro
268         GuiName          "Minion Pro"
269         Family           rm
270         OsfOption        lf
271         OsfDefault       1
272         Package          MinionPro
273         Provides         amssymb,amsfonts
274         NoMathFont       minionpro-nomath
275 EndFont
276
277 AltFont minionpro-nomath
278         GuiName          "Minion Pro"
279         Family           rm
280         OsfOption        lf
281         OsfDefault       1
282         Package          MinionPro
283         PackageOption    onlytext
284 EndFont
285
286 Font newcent
287         GuiName          "New Century Schoolbook"
288         Family           rm
289         Package          newcent
290 EndFont
291
292 Font palatino
293         GuiName          "Palatino"
294         Family           rm
295         OsfOption        osf
296         ScOption         sc
297         OsfScOption      osf
298         Package          mathpazo
299         AltFonts         mathpple,palatino-sty
300         NoMathFont       ppl
301         Requires         psnfss
302 EndFont
303
304 AltFont mathpple
305         GuiName          "Palatino"
306         Family           rm
307         Package          mathpple
308         NoMathFont       ppl
309 EndFont
310
311 AltFont palatino-sty
312         GuiName          "Palatino"
313         Family           rm
314         Package          palatino
315 EndFont
316
317 AltFont ppl
318         GuiName          "Palatino"
319         Family           rm
320         OsfFont          pplj
321         SwitchDefault    1
322 EndFont
323
324 AltFont pplj
325         GuiName          "Palatino"
326         Family           rm
327         SwitchDefault    1
328 EndFont
329
330 Font times
331         GuiName          "Times Roman"
332         Family           rm
333         Package          mathptmx
334         AltFonts         mathptm,times-sty
335         NoMathFont       ptm
336         Requires         psnfss
337 EndFont
338
339 AltFont mathptm
340         GuiName          "Times Roman"
341         Family           rm
342         Package          mathptm
343         NoMathFont       ptm
344 EndFont
345
346 AltFont times-sty
347         GuiName          "Times Roman"
348         Family           rm
349         Package          times
350 EndFont
351
352 AltFont ptm
353         GuiName          "Times Roman"
354         Family           rm
355         SwitchDefault    1
356 EndFont
357
358 Font tgbonum
359         GuiName          "TeX Gyre Bonum"
360         Family           rm
361         Package          tgbonum
362 EndFont
363
364 Font tgchorus
365         GuiName          "TeX Gyre Chorus"
366         Family           rm
367         Package          tgchorus
368 EndFont
369
370 Font tgpagella
371         GuiName          "TeX Gyre Pagella"
372         Family           rm
373         Package          tgpagella
374 EndFont
375
376 Font tgschola
377         GuiName          "TeX Gyre Schola"
378         Family           rm
379         Package          tgschola
380 EndFont
381
382 Font tgtermes
383         GuiName          "TeX Gyre Termes"
384         Family           rm
385         Package          tgtermes
386 EndFont
387
388 # fourier supersedes utopia.sty, but does
389 # not work with OT1 encoding.
390 Font utopia
391         GuiName          "Utopia (Fourier)"
392         Family           rm
393         OsfOption        oldstyle
394         ScOption         expert
395         Package          fourier
396         AltFonts         utopia-sty
397         OT1Font          utopia-sty
398         NoMathFont       futs
399 EndFont
400
401 AltFont utopia-sty
402         GuiName          "Utopia (Fourier)"
403         Family           rm
404         Package          utopia
405 EndFont
406
407 AltFont futs
408         GuiName          "Utopia (Fourier)"
409         Family           rm
410         SwitchDefault    1
411         OsfFont          futj
412 EndFont
413
414 AltFont futj
415         GuiName          "Utopia (Fourier)"
416         Family           rm
417         SwitchDefault    1
418 EndFont
419
420
421 #
422 # SANS SERIF FONTS
423 #
424
425 Font avant
426         GuiName          "Avant Garde"
427         Family           sf
428         Package          avant
429 EndFont
430
431 Font berasans
432         GuiName          "Bera Sans"
433         Family           sf
434         ScaleOption      scaled=$$val
435         Package          berasans
436         Requires         bera
437 EndFont
438
439 Font biolinum
440         GuiName          "Biolinum"
441         Family           sf
442         OsfOption        osf
443         ScaleOption      scaled=$$val
444         Package          biolinum-type1
445         Requires         libertineMono-type1
446         AltFonts         biolinum-2012
447 EndFont
448
449 AltFont biolinum-2012
450         GuiName          "Biolinum"
451         Family           sf
452         OsfOption        lining
453         OsfDefault       1
454         Package          biolinum-type1
455 EndFont
456
457 Font cmbr
458         GuiName          "CM Bright"
459         Family           sf
460         SwitchDefault    1
461         Requires         cmbright
462 EndFont
463
464 Font cmss
465         GuiName          "Computer Modern Sans"
466         Family           sf
467         SwitchDefault    1
468 EndFont
469
470 Font helvet
471         GuiName          "Helvetica"
472         Family           sf
473         ScaleOption      scaled=$$val
474         Package          helvet
475         Requires         psnfss
476 EndFont
477
478 Font iwona
479         GuiName         "Iwona"
480         Family          sf
481         Requires        iwona
482         SwitchDefault   1
483 EndFont
484
485 Font iwonal
486         GuiName         "Iwona (Light)"
487         Family          sf
488         Requires        iwona
489         SwitchDefault   1
490 EndFont
491
492 Font iwonac
493         GuiName         "Iwona (Condensed)"
494         Family          sf
495         Requires        iwona
496         SwitchDefault   1
497 EndFont
498
499 Font iwonalc
500         GuiName         "Iwona (Light Condensed)"
501         Family          sf
502         Requires        iwona
503         SwitchDefault   1
504 EndFont
505
506 Font kurier
507         GuiName         "Kurier"
508         Family          sf
509         Requires        kurier
510         SwitchDefault   1
511 EndFont
512
513 Font kurierl
514         GuiName         "Kurier (Light)"
515         Family          sf
516         Requires        kurier
517         SwitchDefault   1
518 EndFont
519
520 Font kurierc
521         GuiName         "Kurier (Condensed)"
522         Family          sf
523         Requires        kurier
524         SwitchDefault   1
525 EndFont
526
527 Font kurierlc
528         GuiName         "Kurier (Light Condensed)"
529         Family          sf
530         Requires        kurier
531         SwitchDefault   1
532 EndFont
533
534 Font lmss
535         GuiName          "Latin Modern Sans"
536         Family           sf
537         SwitchDefault    1
538         Requires         lmodern
539 EndFont
540
541 Font tgadventor
542         GuiName          "TeX Gyre Adventor"
543         Family           sf
544         Package          tgadventor
545 EndFont
546
547 Font tgheros
548         GuiName          "TeX Gyre Heros"
549         Family           sf
550         Package          tgheros
551 EndFont
552
553 Font uop
554         GuiName          "URW Classico (Optima)"
555         Family           sf
556         SwitchDefault    1
557         Requires         urwclassico
558 EndFont
559
560
561 #
562 # MONOSPACED FONTS
563 #
564
565 Font beramono
566         GuiName          "Bera Mono"
567         Family           tt
568         ScaleOption      scaled=$$val
569         Package          beramono
570         Requires         bera
571 EndFont
572
573 Font cmtl
574         GuiName          "CM Typewriter Light"
575         Family           tt
576         SwitchDefault    1
577         Requires         cmbright
578 EndFont
579
580 Font cmtt
581         GuiName          "Computer Modern Typewriter"
582         Family           tt
583         SwitchDefault    1
584 EndFont
585
586 Font courier
587         GuiName          "Courier"
588         Family           tt
589         Package          courier
590         Requires         psnfss
591 EndFont
592
593 Font libertine-mono
594         GuiName          "Libertine Mono"
595         Family           tt
596         ScaleOption      scaled=$$val
597         Package          libertineMono-type1
598 EndFont
599
600 Font lmtt
601         GuiName          "Latin Modern Typewriter"
602         Family           tt
603         SwitchDefault    1
604         Requires         lmodern
605 EndFont
606
607 Font luximono
608         GuiName          "LuxiMono"
609         Family           tt
610         ScaleOption      scaled=$$val
611         Package          luximono
612 EndFont
613
614 Font tgcursor
615         GuiName          "TeX Gyre Cursor"
616         Family           tt
617         Package          tgcursor
618 EndFont
619
620 Font txtt
621         GuiName          "TX Typewriter"
622         Family           tt
623         SwitchDefault    1
624         Requires         txfonts
625 EndFont
626
627
628 #
629 # MATH FONTS
630 #
631
632 Font cochineal-ntxm
633         GuiName          "Crimson (New TX)"
634         Family           math
635         Package          newtxmath
636         PackageOption    cochineal
637         Provides         amssymb,amsfonts
638 EndFont
639
640 Font eulervm
641         GuiName          "Euler VM"
642         Family           math
643         Package          eulervm
644 EndFont
645
646 Font garamondx-ntxm
647         GuiName          "URW Garamond (New TX)"
648         Family           math
649         Package          newtxmath
650         PackageOption    garamondx
651         Provides         amssymb,amsfonts
652 EndFont
653
654 Font iwona-math
655         GuiName         "Iwona (Math)"
656         Family          math
657         Requires        iwona
658         Preamble
659         % store roman font
660         \let\origrmdefault\rmdefault
661         \usepackage[math]{iwona}
662         % reset stored roman font
663         \renewcommand{\rmdefault}{\origrmdefault}
664         EndPreamble
665 EndFont
666
667 Font kurier-math
668         GuiName         "Kurier (Math)"
669         Family          math
670         Requires        kurier
671         Preamble
672         % store roman font
673         \let\origrmdefault\rmdefault
674         \usepackage[math]{kurier}
675         % reset stored roman font
676         \renewcommand{\rmdefault}{\origrmdefault}
677         EndPreamble
678 EndFont
679
680 Font libertine-ntxm
681         GuiName          "Libertine (New TX)"
682         Family           math
683         Package          newtxmath
684         PackageOption    libertine
685         Provides         amssymb,amsfonts
686 EndFont
687
688 Font minion-ntxm
689         GuiName          "Minion Pro (New TX)"
690         Family           math
691         Package          newtxmath
692         PackageOption    minion
693         Requires         minion2newtx
694         Provides         amssymb,amsfonts
695 EndFont
696
697 Font newtxmath
698         GuiName          "Times Roman (New TX)"
699         Family           math
700         Package          newtxmath
701         Provides         amssymb,amsfonts
702 EndFont