]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
JASA.lyx: add info how to install JASATeX
[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 libertine
134         GuiName          "Libertine"
135         Family           rm
136         OsfOption        lining
137         OsfDefault       1
138         Package          libertine-type1
139         AltFonts         libertine-legacy
140 EndFont
141
142 AltFont libertine-legacy
143         GuiName          "Libertine"
144         Family           rm
145         OsfOption        osf
146         Package          libertine
147 EndFont
148
149 Font lmodern
150         GuiName          "Latin Modern Roman"
151         Family           rm
152         Package          lmodern
153         NoMathFont       lmr
154 EndFont
155
156 AltFont lmr
157         GuiName          "Latin Modern Roman"
158         Family           rm
159         SwitchDefault    1
160         Requires         lmodern
161 EndFont
162
163 Font md-charter
164         GuiName          "Bitstream Charter (Mathdesign)"
165         Family           rm
166         OsfOption        expert
167         ScOption         expert
168         OsfScOption      expert
169         Package          mathdesign
170         PackageOption    charter
171         Requires         mdbch
172         Provides         amssymb,amsfonts
173         NoMathFont       mdbch
174 EndFont
175
176 AltFont mdbch
177         GuiName          "Bitstream Charter (Mathdesign)"
178         Family           rm
179         SwitchDefault    1
180         Requires         mdbch
181 EndFont
182
183 Font md-utopia
184         GuiName          "Utopia (Mathdesign)"
185         Family           rm
186         OsfOption        expert
187         ScOption         expert
188         OsfScOption      expert
189         Package          mathdesign
190         PackageOption    utopia
191         Requires         mdput
192         Provides         amssymb,amsfonts
193         NoMathFont       mdput
194 EndFont
195
196 AltFont mdput
197         GuiName          "Utopia (Mathdesign)"
198         Family           rm
199         SwitchDefault    1
200         Requires         mdput
201 EndFont
202
203 Font md-garamond
204         GuiName          "Adobe Garamond (Mathdesign)"
205         Family           rm
206         OsfOption        expert
207         ScOption         expert
208         OsfScOption      expert
209         Package          mathdesign
210         PackageOption    garamond
211         Requires         mdugm
212         Provides         amssymb,amsfonts
213         NoMathFont       mdugm
214 EndFont
215
216 AltFont mdugm
217         GuiName          "Adobe Garamond (Mathdesign)"
218         Family           rm
219         SwitchDefault    1
220         Requires         mdugm
221 EndFont
222
223 Font minionpro
224         GuiName          "Minion Pro"
225         Family           rm
226         OsfOption        lf
227         OsfDefault       1
228         Package          MinionPro
229         Provides         amssymb,amsfonts
230         NoMathFont       minionpro-nomath
231 EndFont
232
233 AltFont minionpro-nomath
234         GuiName          "Minion Pro"
235         Family           rm
236         OsfOption        lf
237         OsfDefault       1
238         Package          MinionPro
239         PackageOption    onlytext
240 EndFont
241
242 Font newcent
243         GuiName          "New Century Schoolbook"
244         Family           rm
245         Package          newcent
246 EndFont
247
248 Font palatino
249         GuiName          "Palatino"
250         Family           rm
251         OsfOption        osf
252         ScOption         sc
253         OsfScOption      osf
254         Package          mathpazo
255         AltFonts         mathpple,palatino-sty
256         NoMathFont       ppl
257         Requires         psnfss
258 EndFont
259
260 AltFont mathpple
261         GuiName          "Palatino"
262         Family           rm
263         Package          mathpple
264         NoMathFont       ppl
265 EndFont
266
267 AltFont palatino-sty
268         GuiName          "Palatino"
269         Family           rm
270         Package          palatino
271 EndFont
272
273 AltFont ppl
274         GuiName          "Palatino"
275         Family           rm
276         OsfFont          pplj
277         SwitchDefault    1
278 EndFont
279
280 AltFont pplj
281         GuiName          "Palatino"
282         Family           rm
283         SwitchDefault    1
284 EndFont
285
286 Font times
287         GuiName          "Times Roman"
288         Family           rm
289         Package          mathptmx
290         AltFonts         mathptm,times-sty
291         NoMathFont       ptm
292         Requires         psnfss
293 EndFont
294
295 AltFont mathptm
296         GuiName          "Times Roman"
297         Family           rm
298         Package          mathptm
299         NoMathFont       ptm
300 EndFont
301
302 AltFont times-sty
303         GuiName          "Times Roman"
304         Family           rm
305         Package          times
306 EndFont
307
308 AltFont ptm
309         GuiName          "Times Roman"
310         Family           rm
311         SwitchDefault    1
312 EndFont
313
314 Font tgbonum
315         GuiName          "TeX Gyre Bonum"
316         Family           rm
317         Package          tgbonum
318 EndFont
319
320 Font tgchorus
321         GuiName          "TeX Gyre Chorus"
322         Family           rm
323         Package          tgchorus
324 EndFont
325
326 Font tgpagella
327         GuiName          "TeX Gyre Pagella"
328         Family           rm
329         Package          tgpagella
330 EndFont
331
332 Font tgschola
333         GuiName          "TeX Gyre Schola"
334         Family           rm
335         Package          tgschola
336 EndFont
337
338 Font tgtermes
339         GuiName          "TeX Gyre Termes"
340         Family           rm
341         Package          tgtermes
342 EndFont
343
344 # fourier supersedes utopia.sty, but does
345 # not work with OT1 encoding.
346 Font utopia
347         GuiName          "Utopia (Fourier)"
348         Family           rm
349         OsfOption        oldstyle
350         ScOption         expert
351         Package          fourier
352         AltFonts         utopia-sty
353         OT1Font          utopia-sty
354         NoMathFont       futs
355 EndFont
356
357 AltFont utopia-sty
358         GuiName          "Utopia (Fourier)"
359         Family           rm
360         Package          utopia
361 EndFont
362
363 AltFont futs
364         GuiName          "Utopia (Fourier)"
365         Family           rm
366         SwitchDefault    1
367         OsfFont          futj
368 EndFont
369
370 AltFont futj
371         GuiName          "Utopia (Fourier)"
372         Family           rm
373         SwitchDefault    1
374 EndFont
375
376
377 #
378 # SANS SERIF FONTS
379 #
380
381 Font avant
382         GuiName          "Avant Garde"
383         Family           sf
384         Package          avant
385 EndFont
386
387 Font berasans
388         GuiName          "Bera Sans"
389         Family           sf
390         ScaleOption      scaled=$$val
391         Package          berasans
392         Requires         bera
393 EndFont
394
395 Font biolinum
396         GuiName          "Biolinum"
397         Family           sf
398         OsfOption        lining
399         OsfDefault       1
400         Package          biolinum-type1
401 EndFont
402
403 Font cmbr
404         GuiName          "CM Bright"
405         Family           sf
406         SwitchDefault    1
407         Requires         cmbright
408 EndFont
409
410 Font cmss
411         GuiName          "Computer Modern Sans"
412         Family           sf
413         SwitchDefault    1
414 EndFont
415
416 Font helvet
417         GuiName          "Helvetica"
418         Family           sf
419         ScaleOption      scaled=$$val
420         Package          helvet
421         Requires         psnfss
422 EndFont
423
424 Font lmss
425         GuiName          "Latin Modern Sans"
426         Family           sf
427         SwitchDefault    1
428         Requires         lmodern
429 EndFont
430
431 Font tgadventor
432         GuiName          "TeX Gyre Adventor"
433         Family           sf
434         Package          tgadventor
435 EndFont
436
437 Font tgheros
438         GuiName          "TeX Gyre Heros"
439         Family           sf
440         Package          tgheros
441 EndFont
442
443 Font uop
444         GuiName          "URW Classico (Optima)"
445         Family           sf
446         SwitchDefault    1
447         Requires         urwclassico
448 EndFont
449
450
451 #
452 # MONOSPACED FONTS
453 #
454
455 Font beramono
456         GuiName          "Bera Mono"
457         Family           tt
458         ScaleOption      scaled=$$val
459         Package          beramono
460         Requires         bera
461 EndFont
462
463 Font cmtl
464         GuiName          "CM Typewriter Light"
465         Family           tt
466         SwitchDefault    1
467         Requires         cmbright
468 EndFont
469
470 Font cmtt
471         GuiName          "Computer Modern Typewriter"
472         Family           tt
473         SwitchDefault    1
474 EndFont
475
476 Font courier
477         GuiName          "Courier"
478         Family           tt
479         Package          courier
480         Requires         psnfss
481 EndFont
482
483 Font lmtt
484         GuiName          "Latin Modern Typewriter"
485         Family           tt
486         SwitchDefault    1
487         Requires         lmodern
488 EndFont
489
490 Font luximono
491         GuiName          "LuxiMono"
492         Family           tt
493         ScaleOption      scaled=$$val
494         Package          luximono
495 EndFont
496
497 Font tgcursor
498         GuiName          "TeX Gyre Cursor"
499         Family           tt
500         Package          tgcursor
501 EndFont
502
503 Font txtt
504         GuiName          "TX Typewriter"
505         Family           tt
506         SwitchDefault    1
507         Requires         txfonts
508 EndFont
509
510
511 #
512 # MATH FONTS
513 #
514
515 Font eulervm
516         GuiName          "Euler VM"
517         Family           math
518         Package          eulervm
519 EndFont
520
521 Font libertine-ntxm
522         GuiName          "Libertine (New TX)"
523         Family           math
524         Package          newtxmath
525         PackageOption    libertine
526         Provides         amssymb,amsfonts
527 EndFont
528
529 Font minion-ntxm
530         GuiName          "Minion Pro (New TX)"
531         Family           math
532         Package          newtxmath
533         PackageOption    minion
534         Requires         minion2newtx
535         Provides         amssymb,amsfonts
536 EndFont
537
538 Font newtxmath
539         GuiName          "Times Roman (New TX)"
540         Family           math
541         Package          newtxmath
542         Provides         amssymb,amsfonts
543 EndFont