guess we don't want the build dir
[latex2e.git] / trunk / required / tools / rawfonts.dtx
blob1057b58fe3e939984c64ded84ec735aab072e801
1 % \iffalse meta-comment
3 % Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005
4 % 2006 2008 2009
5 % The LaTeX3 Project and any individual authors listed elsewhere
6 % in this file.
8 % This file is part of the Standard LaTeX `Tools Bundle'.
9 % -------------------------------------------------------
11 % It may be distributed and/or modified under the
12 % conditions of the LaTeX Project Public License, either version 1.3c
13 % of this license or (at your option) any later version.
14 % The latest version of this license is in
15 %    http://www.latex-project.org/lppl.txt
16 % and version 1.3c or later is part of all distributions of LaTeX
17 % version 2005/12/01 or later.
19 % The list of all files belonging to the LaTeX `Tools Bundle' is
20 % given in the file `manifest.txt'.
22 % \fi
23 % \title{The \textsf{rawfonts} package}
24 % \date{v0.01}
25 % \author{Alan Jeffrey}
26 % \MaintainedByLaTeXTeam{tools}
27 % \maketitle
30 % \section*{Overview}
32 % The |rawfonts| \LaTeXe{} package is used to provide emulation
33 % of \LaTeX~2.09 documents which used low-level commands such as
34 % |\tenrm|.  If you say:
35 % \begin{verbatim}
36 %    \usepackage{rawfonts}
37 % \end{verbatim}
38 % then over sixty fonts such as |\tenrm| will be loaded into \LaTeX.
39 % This has a large overhead, for example this document uses:
40 % \begin{verbatim}
41 %    8221 words of font info for 30 fonts
42 % \end{verbatim}
43 % but when run with the |rawfonts| package it uses:
44 % \begin{verbatim}
45 %    19294 words of font info for 73 fonts
46 % \end{verbatim}
47 % That is |rawfonts| can cause your document to load twice as many
48 % fonts.  (This overhead is why \LaTeXe{} does not define |\tenrm| and
49 % friends by default.)
51 % If you want to only load a small
52 % number of fonts, you can use the |only|
53 % option, for example to only load |\tenrm| and |\tensf|:
54 % \begin{verbatim}
55 %    \usepackage[only,tenrm,tensf]{rawfonts}
56 % \end{verbatim}
57 % The |rawfonts| package is intended mainly for use with \LaTeX~2.09
58 % documents, and you might want to have the package loaded every time
59 % you use \LaTeXe{} in compatibility mode.  In this case, you should add
60 % the line:
61 % \begin{verbatim}
62 %    \RequirePackage{rawfonts}
63 % \end{verbatim}
64 % to your |latex209.cfg| \LaTeX~2.09 compatibility configuration file.
66 % \StopEventually{}
68 % \section*{Implementation}
70 % The driver for the documentation you're now reading.
71 %    \begin{macrocode}
72 %<*driver>
73 \documentclass{ltxdoc}
74 \begin{document}
75 \DocInput{rawfonts.dtx}
76 \end{document}
77 %</driver>
78 %    \end{macrocode}
79 % This is a \LaTeXe{} package.
80 %    \begin{macrocode}
81 %<*package>
82 \NeedsTeXFormat{LaTeX2e}
83 \ProvidesPackage{rawfonts}
84    [1994/05/08 Low-level LaTeX 2.09 font compatibility]
85 %    \end{macrocode}
86 % The |rawfonts| package uses the |somedefs| package.
87 %    \begin{macrocode}
88 \RequirePackage{somedefs}
89 %    \end{macrocode}
90 % By default, all the fonts are loaded, but the |only| option says
91 % that only the ones specified as options should be.
92 %    \begin{macrocode}
93 \UseAllDefinitions
94 \DeclareOption{only}{\UseSomeDefinitions}
95 \DeclareOption*{\UseDefinition{\CurrentOption}}
96 \ProcessOptions
97 %    \end{macrocode}
98 % The rest of the code loads fonts.  Five point:
99 %    \begin{macrocode}
100 \ProvidesDefinition{\DeclareFixedFont{\fivrm}{OT1}{cmr}{m}{n}{\@vpt}}
101 \ProvidesDefinition{\DeclareFixedFont{\fivmi}{OML}{cmm}{m}{it}{\@vpt}}
102 \ProvidesDefinition{\DeclareFixedFont{\fivsy}{OMS}{cmsy}{m}{n}{\@vpt}}
103 \ProvidesDefinition{\DeclareFixedFont{\fivly}{U}{lasy}{m}{n}{\@vpt}}
104 %    \end{macrocode}
105 % Six point:
106 %    \begin{macrocode}
107 \ProvidesDefinition{\DeclareFixedFont{\sixrm}{OT1}{cmr}{m}{n}{\@vipt}}
108 \ProvidesDefinition{\DeclareFixedFont{\sixmi}{OML}{cmm}{m}{it}{\@vipt}}
109 \ProvidesDefinition{\DeclareFixedFont{\sixsy}{OMS}{cmsy}{m}{n}{\@vipt}}
110 \ProvidesDefinition{\DeclareFixedFont{\sixly}{U}{lasy}{m}{n}{\@vipt}}
111 %    \end{macrocode}
112 % Seven point:
113 %    \begin{macrocode}
114 \ProvidesDefinition{\DeclareFixedFont{\sevrm}{OT1}{cmr}{m}{n}{\@viipt}}
115 \ProvidesDefinition{\DeclareFixedFont{\sevmi}{OML}{cmm}{m}{it}{\@viipt}}
116 \ProvidesDefinition{\DeclareFixedFont{\sevsy}{OMS}{cmsy}{m}{n}{\@viipt}}
117 \ProvidesDefinition{\DeclareFixedFont{\sevit}{OT1}{cmr}{m}{it}{\@viipt}}
118 \ProvidesDefinition{\DeclareFixedFont{\sevly}{U}{lasy}{m}{n}{\@viipt}}
119 %    \end{macrocode}
120 % Eight point:
121 %    \begin{macrocode}
122 \ProvidesDefinition{\DeclareFixedFont{\egtrm}{OT1}{cmr}{m}{n}{\@viiipt}}
123 \ProvidesDefinition{%
124                    \DeclareFixedFont{\egtmi}{OML}{cmm}{m}{it}{\@viiipt}}
125 \ProvidesDefinition{%
126                    \DeclareFixedFont{\egtsy}{OMS}{cmsy}{m}{n}{\@viiipt}}
127 \ProvidesDefinition{%
128      \DeclareFixedFont{\egtit}{OT1}{cmr}{m}{it}{\@viiipt}}
129 \ProvidesDefinition{\DeclareFixedFont{\egtly}{U}{lasy}{m}{n}{\@viiipt}}
130 %    \end{macrocode}
131 % Nine point:
132 %    \begin{macrocode}
133 \ProvidesDefinition{\DeclareFixedFont{\ninrm}{OT1}{cmr}{m}{n}{\@ixpt}}
134 \ProvidesDefinition{\DeclareFixedFont{\ninmi}{OML}{cmm}{m}{it}{\@ixpt}}
135 \ProvidesDefinition{\DeclareFixedFont{\ninsy}{OMS}{cmsy}{m}{n}{\@ixpt}}
136 \ProvidesDefinition{\DeclareFixedFont{\ninit}{OT1}{cmr}{m}{it}{\@ixpt}}
137 \ProvidesDefinition{\DeclareFixedFont{\ninbf}{OT1}{cmr}{bx}{n}{\@ixpt}}
138 \ProvidesDefinition{\DeclareFixedFont{\nintt}{OT1}{cmtt}{m}{n}{\@ixpt}}
139 \ProvidesDefinition{\DeclareFixedFont{\ninly}{U}{lasy}{m}{n}{\@ixpt}}
140 %    \end{macrocode}
141 % Ten point:
142 %    \begin{macrocode}
143 \ProvidesDefinition{\DeclareFixedFont{\tenrm}{OT1}{cmr}{m}{n}{\@xpt}}
144 \ProvidesDefinition{\DeclareFixedFont{\tenmi}{OML}{cmm}{m}{it}{\@xpt}}
145 \ProvidesDefinition{\DeclareFixedFont{\tensy}{OMS}{cmsy}{m}{n}{\@xpt}}
146 \ProvidesDefinition{\DeclareFixedFont{\tenit}{OT1}{cmr}{m}{it}{\@xpt}}
147 \ProvidesDefinition{\DeclareFixedFont{\tensl}{OT1}{cmr}{m}{sl}{\@xpt}}
148 \ProvidesDefinition{\DeclareFixedFont{\tenbf}{OT1}{cmr}{bx}{n}{\@xpt}}
149 \ProvidesDefinition{\DeclareFixedFont{\tentt}{OT1}{cmtt}{m}{n}{\@xpt}}
150 \ProvidesDefinition{\DeclareFixedFont{\tensf}{OT1}{cmss}{m}{n}{\@xpt}}
151 \ProvidesDefinition{\DeclareFixedFont{\tenly}{U}{lasy}{m}{n}{\@xpt}}
152 \ProvidesDefinition{\DeclareFixedFont{\tenex}{OMX}{cmex}{m}{n}{\@xpt}}
153 %    \end{macrocode}
154 % Eleven point:
155 %    \begin{macrocode}
156 \ProvidesDefinition{\DeclareFixedFont{\elvrm}{OT1}{cmr}{m}{n}{\@xipt}}
157 \ProvidesDefinition{\DeclareFixedFont{\elvmi}{OML}{cmm}{m}{it}{\@xipt}}
158 \ProvidesDefinition{\DeclareFixedFont{\elvsy}{OMS}{cmsy}{m}{n}{\@xipt}}
159 \ProvidesDefinition{\DeclareFixedFont{\elvit}{OT1}{cmr}{m}{it}{\@xipt}}
160 \ProvidesDefinition{\DeclareFixedFont{\elvsl}{OT1}{cmr}{m}{sl}{\@xipt}}
161 \ProvidesDefinition{\DeclareFixedFont{\elvbf}{OT1}{cmr}{bx}{n}{\@xipt}}
162 \ProvidesDefinition{\DeclareFixedFont{\elvtt}{OT1}{cmtt}{m}{n}{\@xipt}}
163 \ProvidesDefinition{\DeclareFixedFont{\elvsf}{OT1}{cmss}{m}{n}{\@xipt}}
164 \ProvidesDefinition{\DeclareFixedFont{\elvly}{U}{lasy}{m}{n}{\@xipt}}
165 %    \end{macrocode}
166 % Twelve point:
167 %    \begin{macrocode}
168 \ProvidesDefinition{\DeclareFixedFont{\twlrm}{OT1}{cmr}{m}{n}{\@xiipt}}
169 \ProvidesDefinition{\DeclareFixedFont{\twlmi}{OML}{cmm}{m}{it}{\@xiipt}}
170 \ProvidesDefinition{\DeclareFixedFont{\twlsy}{OMS}{cmsy}{m}{n}{\@xiipt}}
171 \ProvidesDefinition{\DeclareFixedFont{\twlit}{OT1}{cmr}{m}{it}{\@xiipt}}
172 \ProvidesDefinition{\DeclareFixedFont{\twlsl}{OT1}{cmr}{m}{sl}{\@xiipt}}
173 \ProvidesDefinition{\DeclareFixedFont{\twlbf}{OT1}{cmr}{bx}{n}{\@xiipt}}
174 \ProvidesDefinition{\DeclareFixedFont{\twltt}{OT1}{cmtt}{m}{n}{\@xiipt}}
175 \ProvidesDefinition{\DeclareFixedFont{\twlsf}{OT1}{cmss}{m}{n}{\@xiipt}}
176 \ProvidesDefinition{\DeclareFixedFont{\twlly}{U}{lasy}{m}{n}{\@xiipt}}
177 %    \end{macrocode}
178 % Fourteen point:
179 %    \begin{macrocode}
180 \ProvidesDefinition{\DeclareFixedFont{\frtnrm}{OT1}{cmr}{m}{n}{\@xivpt}}
181 \ProvidesDefinition{%
182                    \DeclareFixedFont{\frtnmi}{OML}{cmm}{m}{it}{\@xivpt}}
183 \ProvidesDefinition{%
184                    \DeclareFixedFont{\frtnsy}{OMS}{cmsy}{m}{n}{\@xivpt}}
185 \ProvidesDefinition{%
186                    \DeclareFixedFont{\frtnbf}{OT1}{cmr}{bx}{n}{\@xivpt}}
187 \ProvidesDefinition{\DeclareFixedFont{\frtnly}{U}{lasy}{m}{n}{\@xivpt}}
188 %    \end{macrocode}
189 % Seventeen point:
190 %    \begin{macrocode}
191 \ProvidesDefinition{%
192                    \DeclareFixedFont{\svtnrm}{OT1}{cmr}{m}{n}{\@xviipt}}
193 \ProvidesDefinition{%
194                   \DeclareFixedFont{\svtnmi}{OML}{cmm}{m}{it}{\@xviipt}}
195 \ProvidesDefinition{%
196                   \DeclareFixedFont{\svtnsy}{OMS}{cmsy}{m}{n}{\@xviipt}}
197 \ProvidesDefinition{%
198                   \DeclareFixedFont{\svtnbf}{OT1}{cmr}{bx}{n}{\@xviipt}}
199 \ProvidesDefinition{\DeclareFixedFont{\svtnly}{U}{lasy}{m}{n}{\@xviipt}}
200 %    \end{macrocode}
201 % Twenty point:
202 %    \begin{macrocode}
203 \ProvidesDefinition{\DeclareFixedFont{\twtyrm}{OT1}{cmr}{m}{n}{\@xxpt}}
204 \ProvidesDefinition{\DeclareFixedFont{\twtymi}{OML}{cmm}{m}{it}{\@xxpt}}
205 \ProvidesDefinition{\DeclareFixedFont{\twtysy}{OMS}{cmsy}{m}{n}{\@xxpt}}
206 \ProvidesDefinition{\DeclareFixedFont{\twtyly}{U}{lasy}{m}{n}{\@xxpt}}
207 %    \end{macrocode}
208 % Twenty-five point:
209 %    \begin{macrocode}
210 \ProvidesDefinition{\DeclareFixedFont{\twfvrm}{OT1}{cmr}{m}{n}{\@xxvpt}}
211 %    \end{macrocode}
212 % That's it.
213 %    \begin{macrocode}
214 %</package>
215 %    \end{macrocode}
217 % \Finale
219 % \endinput