]> git.lyx.org Git - features.git/blob - lib/latexfonts
12f5a2c05ed899f40baea78b342461b49f405e43
[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 # fourier supersedes utopia.sty, but does
180 # not work with OT1 encoding.
181 Font utopia
182         GuiName          "Utopia (Fourier)"
183         Family           rm
184         OsfOption        oldstyle
185         ScOption         expert
186         Package          fourier
187         AltPackages      utopia
188         OT1Package       utopia
189 EndFont
190
191
192 #
193 # SANS SERIF FONTS
194 #
195
196 Font avant
197         GuiName          "Avant Garde"
198         Family           sf
199         Package          avant
200 EndFont
201
202 Font berasans
203         GuiName          "Bera Sans"
204         Family           sf
205         ScaleOption      scaled=$$val
206         Package          berasans
207         Requires         bera
208 EndFont
209
210 Font cmbr
211         GuiName          "CM Bright"
212         Family           sf
213         SwitchDefault    1
214         Requires         cmbright
215 EndFont
216
217 Font cmss
218         GuiName          "Computer Modern Sans"
219         Family           sf
220         SwitchDefault    1
221 EndFont
222
223 Font helvet
224         GuiName          "Helvetica"
225         Family           sf
226         ScaleOption      scaled=$$val
227         Package          helvet
228         Requires         psnfss
229 EndFont
230
231 Font lmss
232         GuiName          "Latin Modern Sans"
233         Family           sf
234         SwitchDefault    1
235         Requires         lmodern
236 EndFont
237
238
239 #
240 # MONOSPACED FONTS
241 #
242
243 Font beramono
244         GuiName          "Bera Mono"
245         Family           tt
246         ScaleOption      scaled=$$val
247         Package          beramono
248         Requires         bera
249 EndFont
250
251 Font cmtl
252         GuiName          "CM Typewriter Light"
253         Family           tt
254         SwitchDefault    1
255         Requires         cmbright
256 EndFont
257
258 Font cmtt
259         GuiName          "Computer Modern Typewriter"
260         Family           tt
261         SwitchDefault    1
262 EndFont
263
264 Font courier
265         GuiName          "Courier"
266         Family           tt
267         Package          courier
268         Requires         psnfss
269 EndFont
270
271 Font lmtt
272         GuiName          "Latin Modern Typewriter"
273         Family           tt
274         SwitchDefault    1
275         Requires         lmodern
276 EndFont
277
278 Font luximono
279         GuiName          "LuxiMono"
280         Family           tt
281         ScaleOption      scaled=$$val
282         Package          luximono
283 EndFont
284
285 Font txtt
286         GuiName          "TX Typewriter"
287         Family           tt
288         SwitchDefault    1
289         Requires         txfonts
290 EndFont