]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
681831d1867714f1f0d61781f987de8c98013868
[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 #       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"
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 newcent
122         GuiName          "New Century Schoolbook"
123         Family           rm
124         Package          newcent
125 EndFont
126
127 Font palatino
128         GuiName          "Palatino"
129         Family           rm
130         OsfOption        osf
131         ScOption         sc
132         OsfScOption      osf
133         Package          mathpazo
134         AltPackages      "mathpple,palatino"
135         Requires         psnfss
136 EndFont
137
138 Font times
139         GuiName          "Times Roman"
140         Family           rm
141         Package          mathptmx
142         AltPackages      "mathptm,times"
143         Requires         psnfss
144 EndFont
145
146 # fourier supersedes utopia.sty, but does
147 # not work with OT1 encoding.
148 Font utopia
149         GuiName          "Utopia"
150         Family           rm
151         OsfOption        oldstyle
152         ScOption         expert
153         Package          fourier
154         AltPackages      utopia
155         OT1Package       utopia
156 EndFont
157
158
159 #
160 # SANS SERIF FONTS
161 #
162
163 Font avant
164         GuiName          "Avant Garde"
165         Family           sf
166         Package          avant
167 EndFont
168
169 Font berasans
170         GuiName          "Bera Sans"
171         Family           sf
172         ScaleOption      scaled=$$val
173         Package          berasans
174         Requires         bera
175 EndFont
176
177 Font cmbr
178         GuiName          "CM Bright"
179         Family           sf
180         SwitchDefault    1
181         Requires         cmbright
182 EndFont
183
184 Font cmss
185         GuiName          "Computer Modern Sans"
186         Family           sf
187         SwitchDefault    1
188 EndFont
189
190 Font helvet
191         GuiName          "Helvetica"
192         Family           sf
193         ScaleOption      scaled=$$val
194         Package          helvet
195         Requires         psnfss
196 EndFont
197
198 Font lmss
199         GuiName          "Latin Modern Sans"
200         Family           sf
201         SwitchDefault    1
202         Requires         lmodern
203 EndFont
204
205
206 #
207 # MONOSPACED FONTS
208 #
209
210 Font beramono
211         GuiName          "Bera Mono"
212         Family           tt
213         ScaleOption      scaled=$$val
214         Package          beramono
215         Requires         bera
216 EndFont
217
218 Font cmtl
219         GuiName          "CM Typewriter Light"
220         Family           tt
221         SwitchDefault    1
222         Requires         cmbright
223 EndFont
224
225 Font cmtt
226         GuiName          "Computer Modern Typewriter"
227         Family           tt
228         SwitchDefault    1
229 EndFont
230
231 Font courier
232         GuiName          "Courier"
233         Family           tt
234         Package          courier
235         Requires         psnfss
236 EndFont
237
238 Font lmtt
239         GuiName          "Latin Modern Typewriter"
240         Family           tt
241         SwitchDefault    1
242         Requires         lmodern
243 EndFont
244
245 Font luximono
246         GuiName          "LuxiMono"
247         Family           tt
248         ScaleOption      scaled=$$val
249         Package          luximono
250 EndFont
251
252 Font txtt
253         GuiName          "TX Typewriter"
254         Family           tt
255         SwitchDefault    1
256         Requires         txfonts
257 EndFont