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