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