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