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