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