]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
ANNOUNCE updates.
[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 times
360         GuiName          "Times Roman"
361         Family           rm
362         Package          mathptmx
363         AltFonts         mathptm,times-sty
364         NoMathFont       ptm
365         Requires         psnfss
366 EndFont
367
368 AltFont mathptm
369         GuiName          "Times Roman"
370         Family           rm
371         Package          mathptm
372         NoMathFont       ptm
373 EndFont
374
375 AltFont times-sty
376         GuiName          "Times Roman"
377         Family           rm
378         Package          times
379 EndFont
380
381 AltFont ptm
382         GuiName          "Times Roman"
383         Family           rm
384         SwitchDefault    1
385 EndFont
386
387 Font tgbonum
388         GuiName          "TeX Gyre Bonum"
389         Family           rm
390         Package          tgbonum
391 EndFont
392
393 Font tgchorus
394         GuiName          "TeX Gyre Chorus"
395         Family           rm
396         Package          tgchorus
397 EndFont
398
399 Font tgpagella
400         GuiName          "TeX Gyre Pagella"
401         Family           rm
402         Package          tgpagella
403 EndFont
404
405 Font tgschola
406         GuiName          "TeX Gyre Schola"
407         Family           rm
408         Package          tgschola
409 EndFont
410
411 Font tgtermes
412         GuiName          "TeX Gyre Termes"
413         Family           rm
414         Package          tgtermes
415 EndFont
416
417 # fourier supersedes utopia.sty, but does
418 # not work with OT1 encoding.
419 Font utopia
420         GuiName          "Utopia (Fourier)"
421         Family           rm
422         OsfOption        oldstyle
423         ScOption         expert
424         Package          fourier
425         AltFonts         utopia-sty
426         OT1Font          utopia-sty
427         NoMathFont       futs
428 EndFont
429
430 AltFont utopia-sty
431         GuiName          "Utopia (Fourier)"
432         Family           rm
433         Package          utopia
434 EndFont
435
436 AltFont futs
437         GuiName          "Utopia (Fourier)"
438         Family           rm
439         SwitchDefault    1
440         OsfFont          futj
441 EndFont
442
443 AltFont futj
444         GuiName          "Utopia (Fourier)"
445         Family           rm
446         SwitchDefault    1
447 EndFont
448
449
450 #
451 # SANS SERIF FONTS
452 #
453
454 Font avant
455         GuiName          "Avant Garde"
456         Family           sf
457         Package          avant
458 EndFont
459
460 Font berasans
461         GuiName          "Bera Sans"
462         Family           sf
463         ScaleOption      scaled=$$val
464         Package          berasans
465         Requires         bera
466 EndFont
467
468 Font biolinum
469         GuiName          "Biolinum"
470         Family           sf
471         OsfOption        osf
472         ScaleOption      scaled=$$val
473         Package          biolinum
474         AltFonts         biolinum-type1,biolinum-2012
475 EndFont
476
477 AltFont biolinum-type1
478         GuiName          "Biolinum"
479         Family           sf
480         OsfOption        osf
481         ScaleOption      scaled=$$val
482         Package          biolinum-type1
483         Requires         libertineMono-type1
484 EndFont
485
486 AltFont biolinum-2012
487         GuiName          "Biolinum"
488         Family           sf
489         OsfOption        lining
490         OsfDefault       1
491         Package          biolinum-type1
492 EndFont
493
494 Font cmbr
495         GuiName          "CM Bright"
496         Family           sf
497         SwitchDefault    1
498         Requires         cmbright
499 EndFont
500
501 Font cmss
502         GuiName          "Computer Modern Sans"
503         Family           sf
504         SwitchDefault    1
505 EndFont
506
507 Font helvet
508         GuiName          "Helvetica"
509         Family           sf
510         ScaleOption      scaled=$$val
511         Package          helvet
512         Requires         psnfss
513 EndFont
514
515 Font iwona
516         GuiName         "Iwona"
517         Family          sf
518         Requires        iwona
519         SwitchDefault   1
520 EndFont
521
522 Font iwonal
523         GuiName         "Iwona (Light)"
524         Family          sf
525         Requires        iwona
526         SwitchDefault   1
527 EndFont
528
529 Font iwonac
530         GuiName         "Iwona (Condensed)"
531         Family          sf
532         Requires        iwona
533         SwitchDefault   1
534 EndFont
535
536 Font iwonalc
537         GuiName         "Iwona (Light Condensed)"
538         Family          sf
539         Requires        iwona
540         SwitchDefault   1
541 EndFont
542
543 Font kurier
544         GuiName         "Kurier"
545         Family          sf
546         Requires        kurier
547         SwitchDefault   1
548 EndFont
549
550 Font kurierl
551         GuiName         "Kurier (Light)"
552         Family          sf
553         Requires        kurier
554         SwitchDefault   1
555 EndFont
556
557 Font kurierc
558         GuiName         "Kurier (Condensed)"
559         Family          sf
560         Requires        kurier
561         SwitchDefault   1
562 EndFont
563
564 Font kurierlc
565         GuiName         "Kurier (Light Condensed)"
566         Family          sf
567         Requires        kurier
568         SwitchDefault   1
569 EndFont
570
571 Font lmss
572         GuiName          "Latin Modern Sans"
573         Family           sf
574         SwitchDefault    1
575         Requires         lmodern
576 EndFont
577
578 Font NotoSans-TLF
579         GuiName          "Noto Sans"
580         Family           sf
581         SwitchDefault    1
582         Requires         noto
583 EndFont
584
585 Font tgadventor
586         GuiName          "TeX Gyre Adventor"
587         Family           sf
588         Package          tgadventor
589 EndFont
590
591 Font tgheros
592         GuiName          "TeX Gyre Heros"
593         Family           sf
594         Package          tgheros
595 EndFont
596
597 Font uop
598         GuiName          "URW Classico (Optima)"
599         Family           sf
600         SwitchDefault    1
601         Requires         urwclassico
602 EndFont
603
604
605 #
606 # MONOSPACED FONTS
607 #
608
609 Font beramono
610         GuiName          "Bera Mono"
611         Family           tt
612         ScaleOption      scaled=$$val
613         Package          beramono
614         Requires         bera
615 EndFont
616
617 Font cmtl
618         GuiName          "CM Typewriter Light"
619         Family           tt
620         SwitchDefault    1
621         Requires         cmbright
622 EndFont
623
624 Font cmtt
625         GuiName          "Computer Modern Typewriter"
626         Family           tt
627         SwitchDefault    1
628 EndFont
629
630 Font courier
631         GuiName          "Courier"
632         Family           tt
633         Package          courier
634         Requires         psnfss
635 EndFont
636
637 Font libertine-mono
638         GuiName          "Libertine Mono"
639         Family           tt
640         ScaleOption      scaled=$$val
641         Package          libertineMono
642         AltFonts         libertine-mono-type1
643 EndFont
644
645 AltFont libertine-mono-type1
646         GuiName          "Libertine Mono"
647         Family           tt
648         ScaleOption      scaled=$$val
649         Package          libertineMono-type1
650 EndFont
651
652 Font lmtt
653         GuiName          "Latin Modern Typewriter"
654         Family           tt
655         SwitchDefault    1
656         Requires         lmodern
657 EndFont
658
659 Font luximono
660         GuiName          "LuxiMono"
661         Family           tt
662         ScaleOption      scaled=$$val
663         Package          luximono
664 EndFont
665
666 Font NotoMono-TLF
667         GuiName          "Noto Mono"
668         Family           tt
669         SwitchDefault    1
670         Requires         noto
671 EndFont
672
673 Font tgcursor
674         GuiName          "TeX Gyre Cursor"
675         Family           tt
676         Package          tgcursor
677 EndFont
678
679 Font txtt
680         GuiName          "TX Typewriter"
681         Family           tt
682         SwitchDefault    1
683         Requires         txfonts
684 EndFont
685
686
687 #
688 # MATH FONTS
689 #
690
691 Font cochineal-ntxm
692         GuiName          "Crimson (New TX)"
693         Family           math
694         Package          newtxmath
695         PackageOption    cochineal
696         Provides         amssymb,amsfonts
697 EndFont
698
699 Font eulervm
700         GuiName          "Euler VM"
701         Family           math
702         Package          eulervm
703 EndFont
704
705 Font garamondx-ntxm
706         GuiName          "URW Garamond (New TX)"
707         Family           math
708         Package          newtxmath
709         PackageOption    garamondx
710         Provides         amssymb,amsfonts
711 EndFont
712
713 Font iwona-math
714         GuiName         "Iwona (Math)"
715         Family          math
716         Requires        iwona
717         Preamble
718         % store roman font
719         \let\origrmdefault\rmdefault
720         \usepackage[math]{iwona}
721         % reset stored roman font
722         \renewcommand{\rmdefault}{\origrmdefault}
723         EndPreamble
724 EndFont
725
726 Font kurier-math
727         GuiName         "Kurier (Math)"
728         Family          math
729         Requires        kurier
730         Preamble
731         % store roman font
732         \let\origrmdefault\rmdefault
733         \usepackage[math]{kurier}
734         % reset stored roman font
735         \renewcommand{\rmdefault}{\origrmdefault}
736         EndPreamble
737 EndFont
738
739 Font libertine-ntxm
740         GuiName          "Libertine (New TX)"
741         Family           math
742         Package          newtxmath
743         PackageOption    libertine
744         Provides         amssymb,amsfonts
745 EndFont
746
747 Font minion-ntxm
748         GuiName          "Minion Pro (New TX)"
749         Family           math
750         Package          newtxmath
751         PackageOption    minion
752         Requires         minion2newtx
753         Provides         amssymb,amsfonts
754 EndFont
755
756 Font newtxmath
757         GuiName          "Times Roman (New TX)"
758         Family           math
759         Package          newtxmath
760         Provides         amssymb,amsfonts
761 EndFont