]> git.lyx.org Git - features.git/blob - lib/latexfonts
794039a091f0d86c6addcbfb99550106a9179171
[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 #       OsfOption          <option for oldstyle figure support>
17 #       ScOption           <option for true smallcaps support>
18 #       OsfScOption        <option for combined osf and true smallcaps support>
19 #       ScaleOption        <option for font scaling>
20 # EndFont
21 #
22 #
23 # NOTES:
24 #
25 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
26 #   is added for the LyX distribution, the according changes need to be
27 #   done.
28 # * "SwitchDefault 1" makes the font to be loaded by switching the default
29 #   family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
30 #   Package <package> loads it via \usepackage{package}. Normally, only
31 #   one of these options is used per font.
32 # * If AltPackages are defined, LyX will try to load them in the defined
33 #   order if the main package is not available. So
34 #       Package          mathptmx
35 #       AltPackages      mathptm,times
36 #   will try to load mathptm if mathptmx is not available and then times
37 #   if mathptm is not available either.
38 # * If Requires is set, LyX will check for this. If not, it will check
39 #   for Package and AltPackages.
40 # * OT1Package will load the defined package instead of the default
41 #   package if the font encoding is OT1. This is necessary since some
42 #   newer packages for a font do not support this encoding.
43 #   The value "none" tells LyX not to load a package in OT1 encoding.
44 # * CompletePackage is a package that is loaded if the current font is
45 #   selected as rm and both sf and tt are set to "default" (this allows
46 #   f. ex. to load "bera" as opposed to "beraserif").
47 # * OsfScOption overrides any OsfOption and ScOption if both features
48 #   are selected.
49 # * ScaleOption supports the placeholder $$val for the scale value.
50 #
51 ##########################################################################
52
53 #
54 # ROMAN FONTS
55 #
56
57 Font ae
58         GuiName          "AE (Almost European)"
59         Family           rm
60         Package          "ae,aecompl"
61         OT1Package       none
62         Requires         ae
63 EndFont
64
65 Font beraserif
66         GuiName          "Bera Serif"
67         Family           rm
68         Package          beraserif
69         CompletePackage  bera
70         Requires         bera
71 EndFont
72
73 Font bookman
74         GuiName          "Bookman"
75         Family           rm
76         Package          bookman
77 EndFont
78
79 Font ccfonts
80         GuiName          "Concrete Roman"
81         Family           rm
82         Package          ccfonts
83 EndFont
84
85 Font chancery
86         GuiName          "Zapf Chancery"
87         Family           rm
88         Package          chancery
89 EndFont
90
91 Font charter
92         GuiName          "Bitstream Charter"
93         Family           rm
94         Package          charter
95 EndFont
96
97 Font cmr
98         GuiName          "Computer Modern Roman"
99         Family           rm
100         SwitchDefault    1
101         OsfPackage       eco
102 EndFont
103
104 Font libertine
105         GuiName          "Libertine"
106         Family           rm
107         OsfOption        osf
108         Package          libertine
109 EndFont
110
111 Font lmodern
112         GuiName          "Latin Modern Roman"
113         Family           rm
114         Package          lmodern
115 EndFont
116
117 Font newcent
118         GuiName          "New Century Schoolbook"
119         Family           rm
120         Package          newcent
121 EndFont
122
123 Font palatino
124         GuiName          "Palatino"
125         Family           rm
126         OsfOption        osf
127         ScOption         sc
128         OsfScOption      osf
129         Package          mathpazo
130         AltPackages      "mathpple,palatino"
131         Requires         psnfss
132 EndFont
133
134 Font times
135         GuiName          "Times Roman"
136         Family           rm
137         Package          mathptmx
138         AltPackages      "mathptm,times"
139         Requires         psnfss
140 EndFont
141
142 # fourier supersedes utopia.sty, but does
143 # not work with OT1 encoding.
144 Font utopia
145         GuiName          "Utopia"
146         Family           rm
147         OsfOption        oldstyle
148         ScOption         expert
149         Package          fourier
150         AltPackages      utopia
151         OT1Package       utopia
152 EndFont
153
154
155 #
156 # SANS SERIF FONTS
157 #
158
159 Font avant
160         GuiName          "Avant Garde"
161         Family           sf
162         Package          avant
163 EndFont
164
165 Font berasans
166         GuiName          "Bera Sans"
167         Family           sf
168         ScaleOption      scaled=$$val
169         Package          berasans
170         Requires         bera
171 EndFont
172
173 Font cmbr
174         GuiName          "CM Bright"
175         Family           sf
176         SwitchDefault    1
177         Requires         cmbright
178 EndFont
179
180 Font cmss
181         GuiName          "Computer Modern Sans"
182         Family           sf
183         SwitchDefault    1
184 EndFont
185
186 Font helvet
187         GuiName          "Helvetica"
188         Family           sf
189         ScaleOption      scaled=$$val
190         Package          helvet
191         Requires         psnfss
192 EndFont
193
194 Font lmss
195         GuiName          "Latin Modern Sans"
196         Family           sf
197         SwitchDefault    1
198         Requires         lmodern
199 EndFont
200
201
202 #
203 # MONOSPACED FONTS
204 #
205
206 Font beramono
207         GuiName          "Bera Mono"
208         Family           tt
209         ScaleOption      scaled=$$val
210         Package          beramono
211         Requires         bera
212 EndFont
213
214 Font cmtl
215         GuiName          "CM Typewriter Light"
216         Family           tt
217         SwitchDefault    1
218         Requires         cmbright
219 EndFont
220
221 Font cmtt
222         GuiName          "Computer Modern Typewriter"
223         Family           tt
224         SwitchDefault    1
225 EndFont
226
227 Font courier
228         GuiName          "Courier"
229         Family           tt
230         Package          courier
231         Requires         psnfss
232 EndFont
233
234 Font lmtt
235         GuiName          "Latin Modern Typewriter"
236         Family           tt
237         SwitchDefault    1
238         Requires         lmodern
239 EndFont
240
241 Font luximono
242         GuiName          "LuxiMono"
243         Family           tt
244         ScaleOption      scaled=$$val
245         Package          luximono
246 EndFont
247
248 Font txtt
249         GuiName          "TX Typewriter"
250         Family           tt
251         SwitchDefault    1
252         Requires         txfonts
253 EndFont