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