]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
273da4b2d484dd11505f688e95922a7fc1225523
[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>
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 #       PackageOptions     <general options to be passed to the package>
17 #       OsfOption          <option for oldstyle figure support>
18 #       OsfFont            <extra font for oldstyle figures>
19 #       OsfDefault         <0|1>
20 #       ScOption           <option for true smallcaps support>
21 #       OsfScOption        <option for combined osf and true smallcaps support>
22 #       ScaleOption        <option for font scaling>
23 #       Provides           <features provided by the font packages (comma-separated)>
24 # EndFont
25 #
26 #
27 # NOTES:
28 #
29 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
30 #   is added for the LyX distribution, the according changes need to be
31 #   done.
32 # * "SwitchDefault 1" makes the font to be loaded by switching the default
33 #   family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
34 #   Package <package> loads it via \usepackage{package}. Only one of these
35 #   options is used per font (SwitchDefault takes precendende). Note that
36 #   SwitchDefault uses the font name.
37 # * In addition to normal fonts, you can also define alternative fonts
38 #   using the AltFont...EndFont tags. These alternative fonts will not
39 #   be added to the GUI, but LyX will fall back on them under specific
40 #   circumstances (e.g. if the main font is not available; see below).
41 # * If AltFonts are defined, LyX will try to load them in the defined
42 #   order if the main package is not available. So
43 #       Package          mathptmx
44 #       AltFonts         mathptm,times
45 #   will try to load mathptm if mathptmx is not available and then times
46 #   if mathptm is not available either.
47 #   AltFonts need to be defined separately using AltFont ... EndFont tags.
48 # * If Requires is set, LyX will check for this. If not, it will check
49 #   for Package and AltFonts.
50 # * OT1Font will load the defined font if the font encoding is OT1. This is
51 #   necessary since some newer font packages do not support this encoding.
52 #   The value "none" tells LyX not to load a package in OT1 encoding.
53 #   OT1Fonts need to be defined separately using AltFont ... EndFont tags.
54 # * The CompleteFont is loaded if the current font is selected as rm and
55 #   both sf and tt are set to "default" (this allows f. ex. to load "bera"
56 #   as opposed to "beraserif").
57 #   CompleteFonts need to be defined separately using AltFont ... EndFont
58 #   tags.
59 # * OsfFont is a font that is loaded additionally in and that provides
60 #   Old Style Figures for a given font (e.g. eco).
61 # * OsfScOption overrides any OsfOption and ScOption if both features
62 #   are selected.
63 # * Set OsfDefault to true for fonts which have Old Style Figures by
64 #   default and provide an option for lining figures. Pass this option
65 #   to OsfOption.
66 # * ScaleOption supports the placeholder $$val for the scale value.
67 #
68 ##########################################################################
69
70 #
71 # ROMAN FONTS
72 #
73
74 Font ae
75         GuiName          "AE (Almost European)"
76         Family           rm
77         Package          "ae,aecompl"
78         OT1Font          none
79         Requires         ae
80 EndFont
81
82 Font beraserif
83         GuiName          "Bera Serif"
84         Family           rm
85         Package          beraserif
86         CompleteFont     bera
87         Requires         bera
88 EndFont
89
90 AltFont bera
91         GuiName          "Bera Serif"
92         Family           rm
93         Package          bera
94 EndFont
95
96 Font bookman
97         GuiName          "Bookman"
98         Family           rm
99         Package          bookman
100 EndFont
101
102 Font ccfonts
103         GuiName          "Concrete Roman"
104         Family           rm
105         Package          ccfonts
106 EndFont
107
108 Font chancery
109         GuiName          "Zapf Chancery"
110         Family           rm
111         Package          chancery
112 EndFont
113
114 Font charter
115         GuiName          "Bitstream Charter (PSNFSS)"
116         Family           rm
117         Package          charter
118 EndFont
119
120 Font cmr
121         GuiName          "Computer Modern Roman"
122         Family           rm
123         SwitchDefault    1
124         OsfFont          eco
125 EndFont
126
127 AltFont eco
128         Family           rm
129         Package          eco
130 EndFont
131
132 Font libertine
133         GuiName          "Libertine"
134         Family           rm
135         OsfOption        osf
136         Package          libertine-type1
137         AltFonts         libertine-legacy
138 EndFont
139
140 AltFont libertine-legacy
141         GuiName          "Libertine"
142         Family           rm
143         OsfOption        osf
144         Package          libertine
145 EndFont
146
147 Font lmodern
148         GuiName          "Latin Modern Roman"
149         Family           rm
150         Package          lmodern
151 EndFont
152
153 Font mdbch
154         GuiName          "Bitstream Charter (Mathdesign)"
155         Family           rm
156         OsfOption        expert
157         ScOption         expert
158         OsfScOption      expert
159         Package          mathdesign
160         PackageOption    charter
161         Requires         mdbch
162         Provides         amssymb,amsfonts
163 EndFont
164
165 Font mdput
166         GuiName          "Utopia (Mathdesign)"
167         Family           rm
168         OsfOption        expert
169         ScOption         expert
170         OsfScOption      expert
171         Package          mathdesign
172         PackageOption    utopia
173         Requires         mdput
174         Provides         amssymb,amsfonts
175 EndFont
176
177 Font mdugm
178         GuiName          "Adobe Garamond (Mathdesign)"
179         Family           rm
180         OsfOption        expert
181         ScOption         expert
182         OsfScOption      expert
183         Package          mathdesign
184         PackageOption    garamond
185         Requires         mdugm
186         Provides         amssymb,amsfonts
187 EndFont
188
189 Font minionpro
190         GuiName          "Minion Pro"
191         Family           rm
192         OsfOption        lf
193         OsfDefault       1
194         Package          MinionPro
195         Provides         amssymb,amsfonts
196 EndFont
197
198 Font newcent
199         GuiName          "New Century Schoolbook"
200         Family           rm
201         Package          newcent
202 EndFont
203
204 Font palatino
205         GuiName          "Palatino"
206         Family           rm
207         OsfOption        osf
208         ScOption         sc
209         OsfScOption      osf
210         Package          mathpazo
211         AltFonts         mathpple,palatino-sty
212         Requires         psnfss
213 EndFont
214
215 AltFont mathpple
216         GuiName          "Palatino"
217         Family           rm
218         Package          mathpple
219 EndFont
220
221 AltFont palatino-sty
222         GuiName          "Palatino"
223         Family           rm
224         Package          palatino
225 EndFont
226
227 Font times
228         GuiName          "Times Roman"
229         Family           rm
230         Package          mathptmx
231         AltFonts         mathptm,times-sty
232         Requires         psnfss
233 EndFont
234
235 AltFont mathptm
236         GuiName          "Times Roman"
237         Family           rm
238         Package          mathptm
239 EndFont
240
241 AltFont times-sty
242         GuiName          "Times Roman"
243         Family           rm
244         Package          times
245 EndFont
246
247 Font tgbonum
248         GuiName          "TeX Gyre Bonum"
249         Family           rm
250         Package          tgbonum
251 EndFont
252
253 Font tgchorus
254         GuiName          "TeX Gyre Chorus"
255         Family           rm
256         Package          tgchorus
257 EndFont
258
259 Font tgpagella
260         GuiName          "TeX Gyre Pagella"
261         Family           rm
262         Package          tgpagella
263 EndFont
264
265 Font tgschola
266         GuiName          "TeX Gyre Schola"
267         Family           rm
268         Package          tgschola
269 EndFont
270
271 Font tgtermes
272         GuiName          "TeX Gyre Termes"
273         Family           rm
274         Package          tgtermes
275 EndFont
276
277 # fourier supersedes utopia.sty, but does
278 # not work with OT1 encoding.
279 Font utopia
280         GuiName          "Utopia (Fourier)"
281         Family           rm
282         OsfOption        oldstyle
283         ScOption         expert
284         Package          fourier
285         AltFonts         utopia-sty
286         OT1Font          utopia-sty
287 EndFont
288
289 AltFont utopia-sty
290         GuiName          "Utopia (Fourier)"
291         Family           rm
292         Package          utopia
293 EndFont
294
295
296 #
297 # SANS SERIF FONTS
298 #
299
300 Font avant
301         GuiName          "Avant Garde"
302         Family           sf
303         Package          avant
304 EndFont
305
306 Font berasans
307         GuiName          "Bera Sans"
308         Family           sf
309         ScaleOption      scaled=$$val
310         Package          berasans
311         Requires         bera
312 EndFont
313
314 Font cmbr
315         GuiName          "CM Bright"
316         Family           sf
317         SwitchDefault    1
318         Requires         cmbright
319 EndFont
320
321 Font cmss
322         GuiName          "Computer Modern Sans"
323         Family           sf
324         SwitchDefault    1
325 EndFont
326
327 Font helvet
328         GuiName          "Helvetica"
329         Family           sf
330         ScaleOption      scaled=$$val
331         Package          helvet
332         Requires         psnfss
333 EndFont
334
335 Font lmss
336         GuiName          "Latin Modern Sans"
337         Family           sf
338         SwitchDefault    1
339         Requires         lmodern
340 EndFont
341
342 Font tgadventor
343         GuiName          "TeX Gyre Adventor"
344         Family           sf
345         Package          tgadventor
346 EndFont
347
348 Font tgheros
349         GuiName          "TeX Gyre Heros"
350         Family           sf
351         Package          tgheros
352 EndFont
353
354
355 #
356 # MONOSPACED FONTS
357 #
358
359 Font beramono
360         GuiName          "Bera Mono"
361         Family           tt
362         ScaleOption      scaled=$$val
363         Package          beramono
364         Requires         bera
365 EndFont
366
367 Font cmtl
368         GuiName          "CM Typewriter Light"
369         Family           tt
370         SwitchDefault    1
371         Requires         cmbright
372 EndFont
373
374 Font cmtt
375         GuiName          "Computer Modern Typewriter"
376         Family           tt
377         SwitchDefault    1
378 EndFont
379
380 Font courier
381         GuiName          "Courier"
382         Family           tt
383         Package          courier
384         Requires         psnfss
385 EndFont
386
387 Font lmtt
388         GuiName          "Latin Modern Typewriter"
389         Family           tt
390         SwitchDefault    1
391         Requires         lmodern
392 EndFont
393
394 Font luximono
395         GuiName          "LuxiMono"
396         Family           tt
397         ScaleOption      scaled=$$val
398         Package          luximono
399 EndFont
400
401 Font tgcursor
402         GuiName          "TeX Gyre Cursor"
403         Family           tt
404         Package          tgcursor
405 EndFont
406
407 Font txtt
408         GuiName          "TX Typewriter"
409         Family           tt
410         SwitchDefault    1
411         Requires         txfonts
412 EndFont