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