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