]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
307b10e5e90bcdc982e35b1e390165b7134d41b4
[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          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
464 #
465 # SANS SERIF FONTS
466 #
467
468 Font avant
469         GuiName          "Avant Garde"
470         Family           sf
471         Package          avant
472 EndFont
473
474 Font berasans
475         GuiName          "Bera Sans"
476         Family           sf
477         ScaleOption      scaled=$$val
478         Package          berasans
479         Requires         bera
480 EndFont
481
482 Font biolinum
483         GuiName          "Biolinum"
484         Family           sf
485         OsfOption        osf
486         ScaleOption      scaled=$$val
487         Package          biolinum
488         AltFonts         biolinum-type1,biolinum-2012
489 EndFont
490
491 AltFont biolinum-type1
492         GuiName          "Biolinum"
493         Family           sf
494         OsfOption        osf
495         ScaleOption      scaled=$$val
496         Package          biolinum-type1
497         Requires         libertineMono-type1
498 EndFont
499
500 AltFont biolinum-2012
501         GuiName          "Biolinum"
502         Family           sf
503         OsfOption        lining
504         OsfDefault       1
505         Package          biolinum-type1
506 EndFont
507
508 Font cmbr
509         GuiName          "CM Bright"
510         Family           sf
511         SwitchDefault    1
512         Requires         cmbright
513 EndFont
514
515 Font cmss
516         GuiName          "Computer Modern Sans"
517         Family           sf
518         SwitchDefault    1
519 EndFont
520
521 Font helvet
522         GuiName          "Helvetica"
523         Family           sf
524         ScaleOption      scaled=$$val
525         Package          helvet
526         Requires         psnfss
527 EndFont
528
529 Font iwona
530         GuiName         "Iwona"
531         Family          sf
532         Requires        iwona
533         SwitchDefault   1
534 EndFont
535
536 Font iwonal
537         GuiName         "Iwona (Light)"
538         Family          sf
539         Requires        iwona
540         SwitchDefault   1
541 EndFont
542
543 Font iwonac
544         GuiName         "Iwona (Condensed)"
545         Family          sf
546         Requires        iwona
547         SwitchDefault   1
548 EndFont
549
550 Font iwonalc
551         GuiName         "Iwona (Light Condensed)"
552         Family          sf
553         Requires        iwona
554         SwitchDefault   1
555 EndFont
556
557 Font kurier
558         GuiName         "Kurier"
559         Family          sf
560         Requires        kurier
561         SwitchDefault   1
562 EndFont
563
564 Font kurierl
565         GuiName         "Kurier (Light)"
566         Family          sf
567         Requires        kurier
568         SwitchDefault   1
569 EndFont
570
571 Font kurierc
572         GuiName         "Kurier (Condensed)"
573         Family          sf
574         Requires        kurier
575         SwitchDefault   1
576 EndFont
577
578 Font kurierlc
579         GuiName         "Kurier (Light Condensed)"
580         Family          sf
581         Requires        kurier
582         SwitchDefault   1
583 EndFont
584
585 Font lmss
586         GuiName          "Latin Modern Sans"
587         Family           sf
588         SwitchDefault    1
589         Requires         lmodern
590 EndFont
591
592 Font NotoSans-TLF
593         GuiName          "Noto Sans"
594         Family           sf
595         SwitchDefault    1
596         Requires         noto
597 EndFont
598
599 Font PTSans-TLF
600         GuiName         "ParaType Sans"
601         Family          sf
602         ScaleOption     scaled=$$val
603         Requires        paratype
604         Package         PTSans
605 EndFont
606
607 Font tgadventor
608         GuiName          "TeX Gyre Adventor"
609         Family           sf
610         Package          tgadventor
611 EndFont
612
613 Font tgheros
614         GuiName          "TeX Gyre Heros"
615         Family           sf
616         Package          tgheros
617 EndFont
618
619 Font uop
620         GuiName          "URW Classico (Optima)"
621         Family           sf
622         SwitchDefault    1
623         Requires         urwclassico
624 EndFont
625
626
627 #
628 # MONOSPACED FONTS
629 #
630
631 Font beramono
632         GuiName          "Bera Mono"
633         Family           tt
634         ScaleOption      scaled=$$val
635         Package          beramono
636         Requires         bera
637 EndFont
638
639 Font cmtl
640         GuiName          "CM Typewriter Light"
641         Family           tt
642         SwitchDefault    1
643         Requires         cmbright
644 EndFont
645
646 Font cmtt
647         GuiName          "Computer Modern Typewriter"
648         Family           tt
649         SwitchDefault    1
650 EndFont
651
652 Font courier
653         GuiName          "Courier"
654         Family           tt
655         Package          courier
656         Requires         psnfss
657 EndFont
658
659 Font libertine-mono
660         GuiName          "Libertine Mono"
661         Family           tt
662         ScaleOption      scaled=$$val
663         Package          libertineMono
664         AltFonts         libertine-mono-type1
665 EndFont
666
667 AltFont libertine-mono-type1
668         GuiName          "Libertine Mono"
669         Family           tt
670         ScaleOption      scaled=$$val
671         Package          libertineMono-type1
672 EndFont
673
674 Font lmtt
675         GuiName          "Latin Modern Typewriter"
676         Family           tt
677         SwitchDefault    1
678         Requires         lmodern
679 EndFont
680
681 Font luximono
682         GuiName          "LuxiMono"
683         Family           tt
684         ScaleOption      scaled=$$val
685         Package          luximono
686 EndFont
687
688 Font NotoMono-TLF
689         GuiName          "Noto Mono"
690         Family           tt
691         SwitchDefault    1
692         Requires         noto
693 EndFont
694
695 Font PTMono-TLF
696         GuiName         "ParaType Mono"
697         Family          tt
698         ScaleOption     scaled=$$val
699         Requires        paratype
700         Package         PTMono
701 EndFont
702
703 Font tgcursor
704         GuiName          "TeX Gyre Cursor"
705         Family           tt
706         Package          tgcursor
707 EndFont
708
709 Font txtt
710         GuiName          "TX Typewriter"
711         Family           tt
712         SwitchDefault    1
713         Requires         txfonts
714 EndFont
715
716
717 #
718 # MATH FONTS
719 #
720
721 Font cochineal-ntxm
722         GuiName          "Crimson (New TX)"
723         Family           math
724         Package          newtxmath
725         PackageOption    cochineal
726         Provides         amssymb,amsfonts
727 EndFont
728
729 Font eulervm
730         GuiName          "Euler VM"
731         Family           math
732         Package          eulervm
733 EndFont
734
735 Font garamondx-ntxm
736         GuiName          "URW Garamond (New TX)"
737         Family           math
738         Package          newtxmath
739         PackageOption    garamondx
740         Provides         amssymb,amsfonts
741 EndFont
742
743 Font iwona-math
744         GuiName         "Iwona (Math)"
745         Family          math
746         Requires        iwona
747         Preamble
748         % store roman font
749         \let\origrmdefault\rmdefault
750         \usepackage[math]{iwona}
751         % reset stored roman font
752         \renewcommand{\rmdefault}{\origrmdefault}
753         EndPreamble
754 EndFont
755
756 Font kurier-math
757         GuiName         "Kurier (Math)"
758         Family          math
759         Requires        kurier
760         Preamble
761         % store roman font
762         \let\origrmdefault\rmdefault
763         \usepackage[math]{kurier}
764         % reset stored roman font
765         \renewcommand{\rmdefault}{\origrmdefault}
766         EndPreamble
767 EndFont
768
769 Font libertine-ntxm
770         GuiName          "Libertine (New TX)"
771         Family           math
772         Package          newtxmath
773         PackageOption    libertine
774         Provides         amssymb,amsfonts
775 EndFont
776
777 Font minion-ntxm
778         GuiName          "Minion Pro (New TX)"
779         Family           math
780         Package          newtxmath
781         PackageOption    minion
782         Requires         minion2newtx
783         Provides         amssymb,amsfonts
784 EndFont
785
786 Font newtxmath
787         GuiName          "Times Roman (New TX)"
788         Family           math
789         Package          newtxmath
790         Provides         amssymb,amsfonts
791 EndFont