]> git.lyx.org Git - features.git/blob - lib/latexfonts
60f5402d6d5ae1b58745f04e7c5e9741459d9686
[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-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 mdbch
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 EndFont
174
175 Font mdput
176         GuiName          "Utopia (Mathdesign)"
177         Family           rm
178         OsfOption        expert
179         ScOption         expert
180         OsfScOption      expert
181         Package          mathdesign
182         PackageOption    utopia
183         Requires         mdput
184         Provides         amssymb,amsfonts
185 EndFont
186
187 Font mdugm
188         GuiName          "Adobe Garamond (Mathdesign)"
189         Family           rm
190         OsfOption        expert
191         ScOption         expert
192         OsfScOption      expert
193         Package          mathdesign
194         PackageOption    garamond
195         Requires         mdugm
196         Provides         amssymb,amsfonts
197 EndFont
198
199 Font minionpro
200         GuiName          "Minion Pro"
201         Family           rm
202         OsfOption        lf
203         OsfDefault       1
204         Package          MinionPro
205         Provides         amssymb,amsfonts
206         NoMathFont       minionpro-nomath
207 EndFont
208
209 AltFont minionpro-nomath
210         GuiName          "Minion Pro"
211         Family           rm
212         OsfOption        lf
213         OsfDefault       1
214         Package          MinionPro
215         PackageOption    onlytext
216 EndFont
217
218 Font newcent
219         GuiName          "New Century Schoolbook"
220         Family           rm
221         Package          newcent
222 EndFont
223
224 Font palatino
225         GuiName          "Palatino"
226         Family           rm
227         OsfOption        osf
228         ScOption         sc
229         OsfScOption      osf
230         Package          mathpazo
231         AltFonts         mathpple,palatino-sty
232         NoMathFont       ppl
233         Requires         psnfss
234 EndFont
235
236 AltFont mathpple
237         GuiName          "Palatino"
238         Family           rm
239         Package          mathpple
240         NoMathFont       ppl
241 EndFont
242
243 AltFont palatino-sty
244         GuiName          "Palatino"
245         Family           rm
246         Package          palatino
247 EndFont
248
249 AltFont ppl
250         GuiName          "Palatino"
251         Family           rm
252         OsfFont          pplj
253         SwitchDefault    1
254 EndFont
255
256 AltFont pplj
257         GuiName          "Palatino"
258         Family           rm
259         SwitchDefault    1
260 EndFont
261
262 Font times
263         GuiName          "Times Roman"
264         Family           rm
265         Package          mathptmx
266         AltFonts         mathptm,times-sty
267         NoMathFont       ptm
268         Requires         psnfss
269 EndFont
270
271 AltFont mathptm
272         GuiName          "Times Roman"
273         Family           rm
274         Package          mathptm
275         NoMathFont       ptm
276 EndFont
277
278 AltFont times-sty
279         GuiName          "Times Roman"
280         Family           rm
281         Package          times
282 EndFont
283
284 AltFont ptm
285         GuiName          "Times Roman"
286         Family           rm
287         SwitchDefault    1
288 EndFont
289
290 Font tgbonum
291         GuiName          "TeX Gyre Bonum"
292         Family           rm
293         Package          tgbonum
294 EndFont
295
296 Font tgchorus
297         GuiName          "TeX Gyre Chorus"
298         Family           rm
299         Package          tgchorus
300 EndFont
301
302 Font tgpagella
303         GuiName          "TeX Gyre Pagella"
304         Family           rm
305         Package          tgpagella
306 EndFont
307
308 Font tgschola
309         GuiName          "TeX Gyre Schola"
310         Family           rm
311         Package          tgschola
312 EndFont
313
314 Font tgtermes
315         GuiName          "TeX Gyre Termes"
316         Family           rm
317         Package          tgtermes
318 EndFont
319
320 # fourier supersedes utopia.sty, but does
321 # not work with OT1 encoding.
322 Font utopia
323         GuiName          "Utopia (Fourier)"
324         Family           rm
325         OsfOption        oldstyle
326         ScOption         expert
327         Package          fourier
328         AltFonts         utopia-sty
329         OT1Font          utopia-sty
330 EndFont
331
332 AltFont utopia-sty
333         GuiName          "Utopia (Fourier)"
334         Family           rm
335         Package          utopia
336 EndFont
337
338
339 #
340 # SANS SERIF FONTS
341 #
342
343 Font avant
344         GuiName          "Avant Garde"
345         Family           sf
346         Package          avant
347 EndFont
348
349 Font berasans
350         GuiName          "Bera Sans"
351         Family           sf
352         ScaleOption      scaled=$$val
353         Package          berasans
354         Requires         bera
355 EndFont
356
357 Font cmbr
358         GuiName          "CM Bright"
359         Family           sf
360         SwitchDefault    1
361         Requires         cmbright
362 EndFont
363
364 Font cmss
365         GuiName          "Computer Modern Sans"
366         Family           sf
367         SwitchDefault    1
368 EndFont
369
370 Font helvet
371         GuiName          "Helvetica"
372         Family           sf
373         ScaleOption      scaled=$$val
374         Package          helvet
375         Requires         psnfss
376 EndFont
377
378 Font lmss
379         GuiName          "Latin Modern Sans"
380         Family           sf
381         SwitchDefault    1
382         Requires         lmodern
383 EndFont
384
385 Font tgadventor
386         GuiName          "TeX Gyre Adventor"
387         Family           sf
388         Package          tgadventor
389 EndFont
390
391 Font tgheros
392         GuiName          "TeX Gyre Heros"
393         Family           sf
394         Package          tgheros
395 EndFont
396
397
398 #
399 # MONOSPACED FONTS
400 #
401
402 Font beramono
403         GuiName          "Bera Mono"
404         Family           tt
405         ScaleOption      scaled=$$val
406         Package          beramono
407         Requires         bera
408 EndFont
409
410 Font cmtl
411         GuiName          "CM Typewriter Light"
412         Family           tt
413         SwitchDefault    1
414         Requires         cmbright
415 EndFont
416
417 Font cmtt
418         GuiName          "Computer Modern Typewriter"
419         Family           tt
420         SwitchDefault    1
421 EndFont
422
423 Font courier
424         GuiName          "Courier"
425         Family           tt
426         Package          courier
427         Requires         psnfss
428 EndFont
429
430 Font lmtt
431         GuiName          "Latin Modern Typewriter"
432         Family           tt
433         SwitchDefault    1
434         Requires         lmodern
435 EndFont
436
437 Font luximono
438         GuiName          "LuxiMono"
439         Family           tt
440         ScaleOption      scaled=$$val
441         Package          luximono
442 EndFont
443
444 Font tgcursor
445         GuiName          "TeX Gyre Cursor"
446         Family           tt
447         Package          tgcursor
448 EndFont
449
450 Font txtt
451         GuiName          "TX Typewriter"
452         Family           tt
453         SwitchDefault    1
454         Requires         txfonts
455 EndFont
456
457
458 #
459 # MATH FONTS
460 #
461
462 Font eulervm
463         GuiName          "Euler VM"
464         Family           math
465         Package          eulervm
466 EndFont