]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
Update my email and status.
[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 # EndFont
26 #
27 #
28 # NOTES:
29 #
30 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
31 #   is added for the LyX distribution, the according changes need to be
32 #   done.
33 # * "SwitchDefault 1" makes the font to be loaded by switching the default
34 #   family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
35 #   Package <package> loads it via \usepackage{package}. Only one of these
36 #   options is used per font (SwitchDefault takes precendende). Note that
37 #   SwitchDefault uses the font name.
38 # * In addition to normal fonts, you can also define alternative fonts
39 #   using the AltFont...EndFont tags. These alternative fonts will not
40 #   be added to the GUI, but LyX will fall back on them under specific
41 #   circumstances (e.g. if the main font is not available; see below).
42 # * If AltFonts are defined, LyX will try to load them in the defined
43 #   order if the main package is not available. So
44 #       Package          mathptmx
45 #       AltFonts         mathptm,times
46 #   will try to load mathptm if mathptmx is not available and then times
47 #   if mathptm is not available either.
48 #   AltFonts need to be defined separately using AltFont ... EndFont tags.
49 # * If Requires is set, LyX will check for this. If not, it will check
50 #   for Package and AltFonts.
51 # * OT1Font will load the defined font if the font encoding is OT1. This is
52 #   necessary since some newer font packages do not support this encoding.
53 #   The value "none" tells LyX not to load any font in OT1 encoding.
54 #   OT1Fonts need to be defined separately using AltFont ... EndFont tags.
55 # * The CompleteFont is loaded if the current font is selected as rm and
56 #   both sf and tt are set to "default" (this allows f. ex. to load "bera"
57 #   as opposed to "beraserif").
58 #   CompleteFonts need to be defined separately using AltFont ... EndFont
59 #   tags.
60 # * OsfFont is a font that is loaded additionally in and that provides
61 #   Old Style Figures for a given font (e.g. eco).
62 # * OsfScOption overrides any OsfOption and ScOption if both features
63 #   are selected.
64 # * Set OsfDefault to true for fonts which have Old Style Figures by
65 #   default and provide an option for lining figures. Pass this option
66 #   to OsfOption.
67 # * ScaleOption supports the placeholder $$val for the scale value.
68 #
69 ##########################################################################
70
71 #
72 # ROMAN FONTS
73 #
74
75 Font ae
76         GuiName          "AE (Almost European)"
77         Family           rm
78         Package          "ae,aecompl"
79         OT1Font          none
80         Requires         ae
81 EndFont
82
83 Font beraserif
84         GuiName          "Bera Serif"
85         Family           rm
86         Package          beraserif
87         CompleteFont     bera
88         Requires         bera
89 EndFont
90
91 AltFont bera
92         GuiName          "Bera Serif"
93         Family           rm
94         Package          bera
95 EndFont
96
97 Font bookman
98         GuiName          "Bookman"
99         Family           rm
100         Package          bookman
101 EndFont
102
103 Font ccfonts
104         GuiName          "Concrete Roman"
105         Family           rm
106         Package          ccfonts
107 EndFont
108
109 Font chancery
110         GuiName          "Zapf Chancery"
111         Family           rm
112         Package          chancery
113 EndFont
114
115 Font charter
116         GuiName          "Bitstream Charter (PSNFSS)"
117         Family           rm
118         Package          charter
119 EndFont
120
121 Font cmr
122         GuiName          "Computer Modern Roman"
123         Family           rm
124         SwitchDefault    1
125         OsfFont          eco
126 EndFont
127
128 AltFont eco
129         Family           rm
130         Package          eco
131 EndFont
132
133 Font garamondx
134         GuiName          "URW Garamond"
135         Family           rm
136         OsfOption        osfI
137         Package          garamondx
138         Requires         garamondx-fonts
139         AltFonts         ugm
140 EndFont
141
142 AltFont ugm
143         GuiName          "URW Garamond"
144         Family           rm
145         SwitchDefault    1
146 EndFont
147
148 Font libertine
149         GuiName          "Libertine"
150         Family           rm
151         OsfOption        lining
152         OsfDefault       1
153         Package          libertine-type1
154         AltFonts         libertine-legacy
155 EndFont
156
157 AltFont libertine-legacy
158         GuiName          "Libertine"
159         Family           rm
160         OsfOption        osf
161         Package          libertine
162 EndFont
163
164 Font lmodern
165         GuiName          "Latin Modern Roman"
166         Family           rm
167         Package          lmodern
168         NoMathFont       lmr
169 EndFont
170
171 AltFont lmr
172         GuiName          "Latin Modern Roman"
173         Family           rm
174         SwitchDefault    1
175         Requires         lmodern
176 EndFont
177
178 Font md-charter
179         GuiName          "Bitstream Charter (Mathdesign)"
180         Family           rm
181         OsfOption        expert
182         ScOption         expert
183         OsfScOption      expert
184         Package          mathdesign
185         PackageOption    charter
186         Requires         mdbch
187         Provides         amssymb,amsfonts
188         NoMathFont       mdbch
189 EndFont
190
191 AltFont mdbch
192         GuiName          "Bitstream Charter (Mathdesign)"
193         Family           rm
194         SwitchDefault    1
195         Requires         mdbch
196 EndFont
197
198 Font md-utopia
199         GuiName          "Utopia (Mathdesign)"
200         Family           rm
201         OsfOption        expert
202         ScOption         expert
203         OsfScOption      expert
204         Package          mathdesign
205         PackageOption    utopia
206         Requires         mdput
207         Provides         amssymb,amsfonts
208         NoMathFont       mdput
209 EndFont
210
211 AltFont mdput
212         GuiName          "Utopia (Mathdesign)"
213         Family           rm
214         SwitchDefault    1
215         Requires         mdput
216 EndFont
217
218 Font md-garamond
219         GuiName          "URW Garamond (Mathdesign)"
220         Family           rm
221         OsfOption        expert
222         ScOption         expert
223         OsfScOption      expert
224         Package          mathdesign
225         PackageOption    garamond
226         Requires         mdugm
227         Provides         amssymb,amsfonts
228         NoMathFont       mdugm
229 EndFont
230
231 AltFont mdugm
232         GuiName          "URW Garamond (Mathdesign)"
233         Family           rm
234         SwitchDefault    1
235         Requires         mdugm
236 EndFont
237
238 Font minionpro
239         GuiName          "Minion Pro"
240         Family           rm
241         OsfOption        lf
242         OsfDefault       1
243         Package          MinionPro
244         Provides         amssymb,amsfonts
245         NoMathFont       minionpro-nomath
246 EndFont
247
248 AltFont minionpro-nomath
249         GuiName          "Minion Pro"
250         Family           rm
251         OsfOption        lf
252         OsfDefault       1
253         Package          MinionPro
254         PackageOption    onlytext
255 EndFont
256
257 Font newcent
258         GuiName          "New Century Schoolbook"
259         Family           rm
260         Package          newcent
261 EndFont
262
263 Font palatino
264         GuiName          "Palatino"
265         Family           rm
266         OsfOption        osf
267         ScOption         sc
268         OsfScOption      osf
269         Package          mathpazo
270         AltFonts         mathpple,palatino-sty
271         NoMathFont       ppl
272         Requires         psnfss
273 EndFont
274
275 AltFont mathpple
276         GuiName          "Palatino"
277         Family           rm
278         Package          mathpple
279         NoMathFont       ppl
280 EndFont
281
282 AltFont palatino-sty
283         GuiName          "Palatino"
284         Family           rm
285         Package          palatino
286 EndFont
287
288 AltFont ppl
289         GuiName          "Palatino"
290         Family           rm
291         OsfFont          pplj
292         SwitchDefault    1
293 EndFont
294
295 AltFont pplj
296         GuiName          "Palatino"
297         Family           rm
298         SwitchDefault    1
299 EndFont
300
301 Font times
302         GuiName          "Times Roman"
303         Family           rm
304         Package          mathptmx
305         AltFonts         mathptm,times-sty
306         NoMathFont       ptm
307         Requires         psnfss
308 EndFont
309
310 AltFont mathptm
311         GuiName          "Times Roman"
312         Family           rm
313         Package          mathptm
314         NoMathFont       ptm
315 EndFont
316
317 AltFont times-sty
318         GuiName          "Times Roman"
319         Family           rm
320         Package          times
321 EndFont
322
323 AltFont ptm
324         GuiName          "Times Roman"
325         Family           rm
326         SwitchDefault    1
327 EndFont
328
329 Font tgbonum
330         GuiName          "TeX Gyre Bonum"
331         Family           rm
332         Package          tgbonum
333 EndFont
334
335 Font tgchorus
336         GuiName          "TeX Gyre Chorus"
337         Family           rm
338         Package          tgchorus
339 EndFont
340
341 Font tgpagella
342         GuiName          "TeX Gyre Pagella"
343         Family           rm
344         Package          tgpagella
345 EndFont
346
347 Font tgschola
348         GuiName          "TeX Gyre Schola"
349         Family           rm
350         Package          tgschola
351 EndFont
352
353 Font tgtermes
354         GuiName          "TeX Gyre Termes"
355         Family           rm
356         Package          tgtermes
357 EndFont
358
359 # fourier supersedes utopia.sty, but does
360 # not work with OT1 encoding.
361 Font utopia
362         GuiName          "Utopia (Fourier)"
363         Family           rm
364         OsfOption        oldstyle
365         ScOption         expert
366         Package          fourier
367         AltFonts         utopia-sty
368         OT1Font          utopia-sty
369         NoMathFont       futs
370 EndFont
371
372 AltFont utopia-sty
373         GuiName          "Utopia (Fourier)"
374         Family           rm
375         Package          utopia
376 EndFont
377
378 AltFont futs
379         GuiName          "Utopia (Fourier)"
380         Family           rm
381         SwitchDefault    1
382         OsfFont          futj
383 EndFont
384
385 AltFont futj
386         GuiName          "Utopia (Fourier)"
387         Family           rm
388         SwitchDefault    1
389 EndFont
390
391
392 #
393 # SANS SERIF FONTS
394 #
395
396 Font avant
397         GuiName          "Avant Garde"
398         Family           sf
399         Package          avant
400 EndFont
401
402 Font berasans
403         GuiName          "Bera Sans"
404         Family           sf
405         ScaleOption      scaled=$$val
406         Package          berasans
407         Requires         bera
408 EndFont
409
410 Font biolinum
411         GuiName          "Biolinum"
412         Family           sf
413         OsfOption        lining
414         OsfDefault       1
415         Package          biolinum-type1
416 EndFont
417
418 Font cmbr
419         GuiName          "CM Bright"
420         Family           sf
421         SwitchDefault    1
422         Requires         cmbright
423 EndFont
424
425 Font cmss
426         GuiName          "Computer Modern Sans"
427         Family           sf
428         SwitchDefault    1
429 EndFont
430
431 Font helvet
432         GuiName          "Helvetica"
433         Family           sf
434         ScaleOption      scaled=$$val
435         Package          helvet
436         Requires         psnfss
437 EndFont
438
439 Font lmss
440         GuiName          "Latin Modern Sans"
441         Family           sf
442         SwitchDefault    1
443         Requires         lmodern
444 EndFont
445
446 Font tgadventor
447         GuiName          "TeX Gyre Adventor"
448         Family           sf
449         Package          tgadventor
450 EndFont
451
452 Font tgheros
453         GuiName          "TeX Gyre Heros"
454         Family           sf
455         Package          tgheros
456 EndFont
457
458 Font uop
459         GuiName          "URW Classico (Optima)"
460         Family           sf
461         SwitchDefault    1
462         Requires         urwclassico
463 EndFont
464
465
466 #
467 # MONOSPACED FONTS
468 #
469
470 Font beramono
471         GuiName          "Bera Mono"
472         Family           tt
473         ScaleOption      scaled=$$val
474         Package          beramono
475         Requires         bera
476 EndFont
477
478 Font cmtl
479         GuiName          "CM Typewriter Light"
480         Family           tt
481         SwitchDefault    1
482         Requires         cmbright
483 EndFont
484
485 Font cmtt
486         GuiName          "Computer Modern Typewriter"
487         Family           tt
488         SwitchDefault    1
489 EndFont
490
491 Font courier
492         GuiName          "Courier"
493         Family           tt
494         Package          courier
495         Requires         psnfss
496 EndFont
497
498 Font lmtt
499         GuiName          "Latin Modern Typewriter"
500         Family           tt
501         SwitchDefault    1
502         Requires         lmodern
503 EndFont
504
505 Font luximono
506         GuiName          "LuxiMono"
507         Family           tt
508         ScaleOption      scaled=$$val
509         Package          luximono
510 EndFont
511
512 Font tgcursor
513         GuiName          "TeX Gyre Cursor"
514         Family           tt
515         Package          tgcursor
516 EndFont
517
518 Font txtt
519         GuiName          "TX Typewriter"
520         Family           tt
521         SwitchDefault    1
522         Requires         txfonts
523 EndFont
524
525
526 #
527 # MATH FONTS
528 #
529
530 Font eulervm
531         GuiName          "Euler VM"
532         Family           math
533         Package          eulervm
534 EndFont
535
536 Font garamondx-ntxm
537         GuiName          "URW Garamond (New TX)"
538         Family           math
539         Package          newtxmath
540         PackageOption    garamondx
541         Provides         amssymb,amsfonts
542 EndFont
543
544 Font libertine-ntxm
545         GuiName          "Libertine (New TX)"
546         Family           math
547         Package          newtxmath
548         PackageOption    libertine
549         Provides         amssymb,amsfonts
550 EndFont
551
552 Font minion-ntxm
553         GuiName          "Minion Pro (New TX)"
554         Family           math
555         Package          newtxmath
556         PackageOption    minion
557         Requires         minion2newtx
558         Provides         amssymb,amsfonts
559 EndFont
560
561 Font newtxmath
562         GuiName          "Times Roman (New TX)"
563         Family           math
564         Package          newtxmath
565         Provides         amssymb,amsfonts
566 EndFont