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