]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
Comments only
[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 #       FontEncoding       <font encoding>
11 #       SwitchDefault      <0|1>
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>
21 #       OsfDefault         <0|1>
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)>
26 #       Preamble
27 #         <some arbitrary LaTeX code to be issued in the preamble>
28 #       EndPreamble
29 # EndFont
30 #
31 #
32 # NOTES:
33 #
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
36 #   done.
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
49 #       Package          mathptmx
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
64 #   tags.
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
68 #   are selected.
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
71 #   to OsfOption.
72 # * ScaleOption supports the placeholder $$val for the scale value.
73 # * The Preamble code is output immediately after the respective font
74 #   loading command.
75 #
76 ##########################################################################
77
78
79 #
80 # ROMAN FONTS
81 #
82
83 Font ae
84         GuiName          "AE (Almost European)"
85         Family           rm
86         Package          "ae,aecompl"
87         OT1Font          none
88         Requires         ae
89 EndFont
90
91 Font beraserif
92         GuiName          "Bera Serif"
93         Family           rm
94         Package          beraserif
95         CompleteFont     bera
96         Requires         bera
97 EndFont
98
99 AltFont bera
100         GuiName          "Bera Serif"
101         Family           rm
102         Package          bera
103 EndFont
104
105 Font bookman
106         GuiName          "Bookman"
107         Family           rm
108         Package          bookman
109 EndFont
110
111 Font ccfonts
112         GuiName          "Concrete Roman"
113         Family           rm
114         Package          ccfonts
115 EndFont
116
117 Font chancery
118         GuiName          "Zapf Chancery"
119         Family           rm
120         Package          chancery
121 EndFont
122
123 Font charter
124         GuiName          "Bitstream Charter (PSNFSS)"
125         Family           rm
126         Package          charter
127 EndFont
128
129 Font cochineal
130         GuiName          "Crimson (Cochineal)"
131         Family           rm
132         OsfOption        "proportional,osf"
133         Package          cochineal
134         AltFonts         crimson
135 EndFont
136
137 AltFont crimson
138         GuiName          "Crimson"
139         Family           rm
140         Package          crimson
141 EndFont
142
143 Font cmr
144         GuiName          "Computer Modern Roman"
145         Family           rm
146         FontEncoding     OT1
147         SwitchDefault    1
148         OsfFont          eco
149 EndFont
150
151 Font DejaVuSerif
152         GuiName          "DejaVu Serif"
153         Family           rm
154         Package          DejaVuSerif
155 EndFont
156
157 Font DejaVuSerifCondensed
158         GuiName          "DejaVu Serif Condensed"
159         Family           rm
160         Package          DejaVuSerifCondensed
161 EndFont
162
163 AltFont eco
164         Family           rm
165         Package          eco
166 EndFont
167
168 Font garamondx
169         GuiName          "URW Garamond"
170         Family           rm
171         OsfOption        osfI
172         Package          garamondx
173         Requires         garamondx-fonts
174         AltFonts         ugm
175 EndFont
176
177 AltFont ugm
178         GuiName          "URW Garamond"
179         Family           rm
180         SwitchDefault    1
181         Requires         ugm
182 EndFont
183
184 Font libertine
185         GuiName          "Libertine"
186         Family           rm
187         OsfOption        osf
188         Package          libertineRoman
189         CompleteFont     libertine-full
190         AltFonts         libertine-type1,libertine-2012,libertine-legacy
191 EndFont
192
193 AltFont libertine-full
194         GuiName          "Libertine"
195         Family           rm
196         Package          libertine
197         Requires         libertineRoman
198 EndFont
199
200 AltFont libertine-type1
201         GuiName          "Libertine"
202         Family           rm
203         OsfOption        osf
204         Package          libertine-type1
205         Requires         libertineMono-type1
206 EndFont
207
208 AltFont libertine-2012
209         GuiName          "Libertine"
210         Family           rm
211         OsfOption        lining
212         OsfDefault       1
213         Package          libertine-type1
214 EndFont
215
216 AltFont libertine-legacy
217         GuiName          "Libertine"
218         Family           rm
219         OsfOption        osf
220         Package          libertine
221 EndFont
222
223 Font lmodern
224         GuiName          "Latin Modern Roman"
225         Family           rm
226         Package          lmodern
227         NoMathFont       lmr
228 EndFont
229
230 AltFont lmr
231         GuiName          "Latin Modern Roman"
232         Family           rm
233         SwitchDefault    1
234         Requires         lmodern
235 EndFont
236
237 Font md-charter
238         GuiName          "Bitstream Charter (Mathdesign)"
239         Family           rm
240         OsfOption        expert
241         ScOption         expert
242         OsfScOption      expert
243         Package          mathdesign
244         PackageOption    charter
245         Requires         mdbch
246         Provides         amssymb,amsfonts
247         NoMathFont       mdbch
248 EndFont
249
250 AltFont mdbch
251         GuiName          "Bitstream Charter (Mathdesign)"
252         Family           rm
253         SwitchDefault    1
254         Requires         mdbch
255 EndFont
256
257 Font md-utopia
258         GuiName          "Utopia (Mathdesign)"
259         Family           rm
260         OsfOption        expert
261         ScOption         expert
262         OsfScOption      expert
263         Package          mathdesign
264         PackageOption    utopia
265         Requires         mdput
266         Provides         amssymb,amsfonts
267         NoMathFont       mdput
268 EndFont
269
270 AltFont mdput
271         GuiName          "Utopia (Mathdesign)"
272         Family           rm
273         SwitchDefault    1
274         Requires         mdput
275 EndFont
276
277 Font md-garamond
278         GuiName          "URW Garamond (Mathdesign)"
279         Family           rm
280         OsfOption        expert
281         ScOption         expert
282         OsfScOption      expert
283         Package          mathdesign
284         PackageOption    garamond
285         Requires         mdugm
286         Provides         amssymb,amsfonts
287         NoMathFont       mdugm
288 EndFont
289
290 AltFont mdugm
291         GuiName          "URW Garamond (Mathdesign)"
292         Family           rm
293         SwitchDefault    1
294         Requires         mdugm
295 EndFont
296
297 Font minionpro
298         GuiName          "Minion Pro"
299         Family           rm
300         OsfOption        lf
301         OsfDefault       1
302         Package          MinionPro
303         Provides         amssymb,amsfonts
304         NoMathFont       minionpro-nomath
305 EndFont
306
307 AltFont minionpro-nomath
308         GuiName          "Minion Pro"
309         Family           rm
310         OsfOption        lf
311         OsfDefault       1
312         Package          MinionPro
313         PackageOption    onlytext
314 EndFont
315
316 Font newcent
317         GuiName          "New Century Schoolbook"
318         Family           rm
319         Package          newcent
320 EndFont
321
322 Font NotoSerif-TLF
323         GuiName          "Noto Serif"
324         Family           rm
325         SwitchDefault    1
326         Requires         noto
327         CompleteFont     noto
328 EndFont
329
330 AltFont noto
331         GuiName          "Noto Serif"
332         Family           rm
333         Package          noto
334 EndFont
335
336 Font palatino
337         GuiName          "Palatino"
338         Family           rm
339         OsfOption        osf
340         ScOption         sc
341         OsfScOption      osf
342         Package          mathpazo
343         AltFonts         mathpple,palatino-sty
344         NoMathFont       ppl
345         Requires         psnfss
346 EndFont
347
348 AltFont mathpple
349         GuiName          "Palatino"
350         Family           rm
351         Package          mathpple
352         NoMathFont       ppl
353 EndFont
354
355 AltFont palatino-sty
356         GuiName          "Palatino"
357         Family           rm
358         Package          palatino
359 EndFont
360
361 AltFont ppl
362         GuiName          "Palatino"
363         Family           rm
364         OsfFont          pplj
365         SwitchDefault    1
366 EndFont
367
368 AltFont pplj
369         GuiName          "Palatino"
370         Family           rm
371         SwitchDefault    1
372 EndFont
373
374 Font PTSerif-TLF
375         GuiName         "ParaType Serif"
376         Family          rm
377         Requires        paratype
378         Package         PTSerif
379         CompleteFont    paratype
380 EndFont
381
382 AltFont paratype
383         GuiName          "ParaType Serif"
384         Family           rm
385         Package          paratype
386 EndFont
387
388 Font times
389         GuiName          "Times Roman"
390         Family           rm
391         Package          mathptmx
392         AltFonts         mathptm,times-sty
393         NoMathFont       ptm
394         Requires         psnfss
395 EndFont
396
397 AltFont mathptm
398         GuiName          "Times Roman"
399         Family           rm
400         Package          mathptm
401         NoMathFont       ptm
402 EndFont
403
404 AltFont times-sty
405         GuiName          "Times Roman"
406         Family           rm
407         Package          times
408 EndFont
409
410 AltFont ptm
411         GuiName          "Times Roman"
412         Family           rm
413         SwitchDefault    1
414 EndFont
415
416 Font tgbonum
417         GuiName          "TeX Gyre Bonum"
418         Family           rm
419         Package          tgbonum
420 EndFont
421
422 Font tgchorus
423         GuiName          "TeX Gyre Chorus"
424         Family           rm
425         Package          tgchorus
426 EndFont
427
428 Font tgpagella
429         GuiName          "TeX Gyre Pagella"
430         Family           rm
431         Package          tgpagella
432 EndFont
433
434 Font tgschola
435         GuiName          "TeX Gyre Schola"
436         Family           rm
437         Package          tgschola
438 EndFont
439
440 Font tgtermes
441         GuiName          "TeX Gyre Termes"
442         Family           rm
443         Package          tgtermes
444 EndFont
445
446 # fourier supersedes utopia.sty, but does
447 # not work with OT1 encoding.
448 Font utopia
449         GuiName          "Utopia (Fourier)"
450         Family           rm
451         OsfOption        oldstyle
452         ScOption         expert
453         Package          fourier
454         AltFonts         utopia-sty
455         OT1Font          utopia-sty
456         NoMathFont       futs
457 EndFont
458
459 AltFont utopia-sty
460         GuiName          "Utopia (Fourier)"
461         Family           rm
462         Package          utopia
463 EndFont
464
465 AltFont futs
466         GuiName          "Utopia (Fourier)"
467         Family           rm
468         SwitchDefault    1
469         OsfFont          futj
470 EndFont
471
472 AltFont futj
473         GuiName          "Utopia (Fourier)"
474         Family           rm
475         SwitchDefault    1
476 EndFont
477
478 Font xcharter
479         GuiName         "Bitstream Charter (XCharter)"
480         Family          rm
481         Package         XCharter
482         OsfOption       osf
483 EndFont
484
485 #
486 # SANS SERIF FONTS
487 #
488
489 Font avant
490         GuiName          "Avant Garde"
491         Family           sf
492         Package          avant
493 EndFont
494
495 Font berasans
496         GuiName          "Bera Sans"
497         Family           sf
498         ScaleOption      scaled=$$val
499         Package          berasans
500         Requires         bera
501 EndFont
502
503 Font biolinum
504         GuiName          "Biolinum"
505         Family           sf
506         OsfOption        osf
507         ScaleOption      scaled=$$val
508         Package          biolinum
509         AltFonts         biolinum-type1,biolinum-2012
510 EndFont
511
512 AltFont biolinum-type1
513         GuiName          "Biolinum"
514         Family           sf
515         OsfOption        osf
516         ScaleOption      scaled=$$val
517         Package          biolinum-type1
518         Requires         libertineMono-type1
519 EndFont
520
521 AltFont biolinum-2012
522         GuiName          "Biolinum"
523         Family           sf
524         OsfOption        lining
525         OsfDefault       1
526         Package          biolinum-type1
527 EndFont
528
529 Font cmbr
530         GuiName          "CM Bright"
531         Family           sf
532         SwitchDefault    1
533         Requires         cmbright
534 EndFont
535
536 Font cmss
537         GuiName          "Computer Modern Sans"
538         Family           sf
539         FontEncoding     OT1
540         SwitchDefault    1
541 EndFont
542
543 Font DejaVuSans
544         GuiName          "DejaVu Sans"
545         Family           sf
546         Package          DejaVuSans
547         ScaleOption      scaled=$$val
548 EndFont
549
550 Font DejaVuSansCondensed
551         GuiName          "DejaVu Sans Condensed"
552         Family           sf
553         Package          DejaVuSansCondensed
554         ScaleOption      scaled=$$val
555 EndFont
556
557 Font helvet
558         GuiName          "Helvetica"
559         Family           sf
560         ScaleOption      scaled=$$val
561         Package          helvet
562         Requires         psnfss
563 EndFont
564
565 Font iwona
566         GuiName         "Iwona"
567         Family          sf
568         Requires        iwona
569         SwitchDefault   1
570 EndFont
571
572 Font iwonal
573         GuiName         "Iwona (Light)"
574         Family          sf
575         Requires        iwona
576         SwitchDefault   1
577 EndFont
578
579 Font iwonac
580         GuiName         "Iwona (Condensed)"
581         Family          sf
582         Requires        iwona
583         SwitchDefault   1
584 EndFont
585
586 Font iwonalc
587         GuiName         "Iwona (Light Condensed)"
588         Family          sf
589         Requires        iwona
590         SwitchDefault   1
591 EndFont
592
593 Font kurier
594         GuiName         "Kurier"
595         Family          sf
596         Requires        kurier
597         SwitchDefault   1
598 EndFont
599
600 Font kurierl
601         GuiName         "Kurier (Light)"
602         Family          sf
603         Requires        kurier
604         SwitchDefault   1
605 EndFont
606
607 Font kurierc
608         GuiName         "Kurier (Condensed)"
609         Family          sf
610         Requires        kurier
611         SwitchDefault   1
612 EndFont
613
614 Font kurierlc
615         GuiName         "Kurier (Light Condensed)"
616         Family          sf
617         Requires        kurier
618         SwitchDefault   1
619 EndFont
620
621 Font lmss
622         GuiName          "Latin Modern Sans"
623         Family           sf
624         SwitchDefault    1
625         Requires         lmodern
626 EndFont
627
628 Font NotoSans-TLF
629         GuiName          "Noto Sans"
630         Family           sf
631         SwitchDefault    1
632         Requires         noto
633 EndFont
634
635 Font PTSans-TLF
636         GuiName         "ParaType Sans"
637         Family          sf
638         ScaleOption     scaled=$$val
639         Requires        paratype
640         Package         PTSans
641 EndFont
642
643 Font tgadventor
644         GuiName          "TeX Gyre Adventor"
645         Family           sf
646         Package          tgadventor
647 EndFont
648
649 Font tgheros
650         GuiName          "TeX Gyre Heros"
651         Family           sf
652         Package          tgheros
653 EndFont
654
655 Font uop
656         GuiName          "URW Classico (Optima)"
657         Family           sf
658         SwitchDefault    1
659         Requires         urwclassico
660 EndFont
661
662 #
663 # MONOSPACED FONTS
664 #
665
666 Font beramono
667         GuiName          "Bera Mono"
668         Family           tt
669         ScaleOption      scaled=$$val
670         Package          beramono
671         Requires         bera
672 EndFont
673
674 Font cmtl
675         GuiName          "CM Typewriter Light"
676         Family           tt
677         SwitchDefault    1
678         Requires         cmbright
679 EndFont
680
681 Font cmtt
682         GuiName          "Computer Modern Typewriter"
683         Family           tt
684         FontEncoding     OT1
685         SwitchDefault    1
686 EndFont
687
688 Font courier
689         GuiName          "Courier"
690         Family           tt
691         Package          courier
692         Requires         psnfss
693 EndFont
694
695 Font DejaVuSansMono
696         GuiName          "DejaVu Sans Mono"
697         Family           tt
698         Package          DejaVuSansMono
699         ScaleOption      scaled=$$val
700 EndFont
701
702 Font libertine-mono
703         GuiName          "Libertine Mono"
704         Family           tt
705         ScaleOption      scaled=$$val
706         Package          libertineMono
707         AltFonts         libertine-mono-type1
708 EndFont
709
710 AltFont libertine-mono-type1
711         GuiName          "Libertine Mono"
712         Family           tt
713         ScaleOption      scaled=$$val
714         Package          libertineMono-type1
715 EndFont
716
717 Font lmtt
718         GuiName          "Latin Modern Typewriter"
719         Family           tt
720         SwitchDefault    1
721         Requires         lmodern
722 EndFont
723
724 Font luximono
725         GuiName          "LuxiMono"
726         Family           tt
727         ScaleOption      scaled=$$val
728         Package          luximono
729 EndFont
730
731 Font NotoMono-TLF
732         GuiName          "Noto Mono"
733         Family           tt
734         SwitchDefault    1
735         Requires         noto
736 EndFont
737
738 Font PTMono-TLF
739         GuiName         "ParaType Mono"
740         Family          tt
741         ScaleOption     scaled=$$val
742         Requires        paratype
743         Package         PTMono
744 EndFont
745
746 Font tgcursor
747         GuiName          "TeX Gyre Cursor"
748         Family           tt
749         Package          tgcursor
750 EndFont
751
752 Font txtt
753         GuiName          "TX Typewriter"
754         Family           tt
755         SwitchDefault    1
756         Requires         txfonts
757 EndFont
758
759
760 #
761 # MATH FONTS
762 #
763
764 Font cochineal-ntxm
765         GuiName          "Crimson (New TX)"
766         Family           math
767         Package          newtxmath
768         PackageOption    cochineal
769         Provides         amssymb,amsfonts
770 EndFont
771
772 Font eulervm
773         GuiName          "Euler VM"
774         Family           math
775         Package          eulervm
776 EndFont
777
778 Font garamondx-ntxm
779         GuiName          "URW Garamond (New TX)"
780         Family           math
781         Package          newtxmath
782         PackageOption    garamondx
783         Provides         amssymb,amsfonts
784 EndFont
785
786 Font iwona-math
787         GuiName         "Iwona (Math)"
788         Family          math
789         Requires        iwona
790         Preamble
791         % store roman font
792         \let\origrmdefault\rmdefault
793         \usepackage[math]{iwona}
794         % reset stored roman font
795         \renewcommand{\rmdefault}{\origrmdefault}
796         EndPreamble
797 EndFont
798
799 Font kurier-math
800         GuiName         "Kurier (Math)"
801         Family          math
802         Requires        kurier
803         Preamble
804         % store roman font
805         \let\origrmdefault\rmdefault
806         \usepackage[math]{kurier}
807         % reset stored roman font
808         \renewcommand{\rmdefault}{\origrmdefault}
809         EndPreamble
810 EndFont
811
812 Font libertine-ntxm
813         GuiName          "Libertine (New TX)"
814         Family           math
815         Package          newtxmath
816         PackageOption    libertine
817         Provides         amssymb,amsfonts
818 EndFont
819
820 Font minion-ntxm
821         GuiName          "Minion Pro (New TX)"
822         Family           math
823         Package          newtxmath
824         PackageOption    minion
825         Requires         minion2newtx
826         Provides         amssymb,amsfonts
827 EndFont
828
829 Font newtxmath
830         GuiName          "Times Roman (New TX)"
831         Family           math
832         Package          newtxmath
833         Provides         amssymb,amsfonts
834 EndFont