Move a tag
[latex2e.git] / latex2e-20160201 / required / tools / rawfonts.dtx
blobf27688331b6448f4fad7ca3ea38aebe4f2e127a2
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
29 % \CheckSum{286}
31 % \section*{Overview}
33 % The |rawfonts| \LaTeXe{} package is used to provide emulation
34 % of \LaTeX~2.09 documents which used low-level commands such as
35 % |\tenrm|.  If you say:
36 % \begin{verbatim}
37 %    \usepackage{rawfonts}
38 % \end{verbatim}
39 % then over sixty fonts such as |\tenrm| will be loaded into \LaTeX.
40 % This has a large overhead, for example this document uses:
41 % \begin{verbatim}
42 %    8221 words of font info for 30 fonts
43 % \end{verbatim}
44 % but when run with the |rawfonts| package it uses:
45 % \begin{verbatim}
46 %    19294 words of font info for 73 fonts
47 % \end{verbatim}
48 % That is |rawfonts| can cause your document to load twice as many
49 % fonts.  (This overhead is why \LaTeXe{} does not define |\tenrm| and
50 % friends by default.)
52 % If you want to only load a small
53 % number of fonts, you can use the |only|
54 % option, for example to only load |\tenrm| and |\tensf|:
55 % \begin{verbatim}
56 %    \usepackage[only,tenrm,tensf]{rawfonts}
57 % \end{verbatim}
58 % The |rawfonts| package is intended mainly for use with \LaTeX~2.09
59 % documents, and you might want to have the package loaded every time
60 % you use \LaTeXe{} in compatibility mode.  In this case, you should add
61 % the line:
62 % \begin{verbatim}
63 %    \RequirePackage{rawfonts}
64 % \end{verbatim}
65 % to your |latex209.cfg| \LaTeX~2.09 compatibility configuration file.
67 % \StopEventually{}
69 % \section*{Implementation}
71 % The driver for the documentation you're now reading.
72 %    \begin{macrocode}
73 %<*driver>
74 \documentclass{ltxdoc}
75 \begin{document}
76 \DocInput{rawfonts.dtx}
77 \end{document}
78 %</driver>
79 %    \end{macrocode}
80 % This is a \LaTeXe{} package.
81 %    \begin{macrocode}
82 %<*package>
83 \NeedsTeXFormat{LaTeX2e}
84 \ProvidesPackage{rawfonts}
85    [1994/05/08 Low-level LaTeX 2.09 font compatibility]
86 %    \end{macrocode}
87 % The |rawfonts| package uses the |somedefs| package.
88 %    \begin{macrocode}
89 \RequirePackage{somedefs}
90 %    \end{macrocode}
91 % By default, all the fonts are loaded, but the |only| option says
92 % that only the ones specified as options should be.
93 %    \begin{macrocode}
94 \UseAllDefinitions
95 \DeclareOption{only}{\UseSomeDefinitions}
96 \DeclareOption*{\UseDefinition{\CurrentOption}}
97 \ProcessOptions
98 %    \end{macrocode}
99 % The rest of the code loads fonts.  Five point:
100 %    \begin{macrocode}
101 \ProvidesDefinition{\DeclareFixedFont{\fivrm}{OT1}{cmr}{m}{n}{\@vpt}}
102 \ProvidesDefinition{\DeclareFixedFont{\fivmi}{OML}{cmm}{m}{it}{\@vpt}}
103 \ProvidesDefinition{\DeclareFixedFont{\fivsy}{OMS}{cmsy}{m}{n}{\@vpt}}
104 \ProvidesDefinition{\DeclareFixedFont{\fivly}{U}{lasy}{m}{n}{\@vpt}}
105 %    \end{macrocode}
106 % Six point:
107 %    \begin{macrocode}
108 \ProvidesDefinition{\DeclareFixedFont{\sixrm}{OT1}{cmr}{m}{n}{\@vipt}}
109 \ProvidesDefinition{\DeclareFixedFont{\sixmi}{OML}{cmm}{m}{it}{\@vipt}}
110 \ProvidesDefinition{\DeclareFixedFont{\sixsy}{OMS}{cmsy}{m}{n}{\@vipt}}
111 \ProvidesDefinition{\DeclareFixedFont{\sixly}{U}{lasy}{m}{n}{\@vipt}}
112 %    \end{macrocode}
113 % Seven point:
114 %    \begin{macrocode}
115 \ProvidesDefinition{\DeclareFixedFont{\sevrm}{OT1}{cmr}{m}{n}{\@viipt}}
116 \ProvidesDefinition{\DeclareFixedFont{\sevmi}{OML}{cmm}{m}{it}{\@viipt}}
117 \ProvidesDefinition{\DeclareFixedFont{\sevsy}{OMS}{cmsy}{m}{n}{\@viipt}}
118 \ProvidesDefinition{\DeclareFixedFont{\sevit}{OT1}{cmr}{m}{it}{\@viipt}}
119 \ProvidesDefinition{\DeclareFixedFont{\sevly}{U}{lasy}{m}{n}{\@viipt}}
120 %    \end{macrocode}
121 % Eight point:
122 %    \begin{macrocode}
123 \ProvidesDefinition{\DeclareFixedFont{\egtrm}{OT1}{cmr}{m}{n}{\@viiipt}}
124 \ProvidesDefinition{%
125                    \DeclareFixedFont{\egtmi}{OML}{cmm}{m}{it}{\@viiipt}}
126 \ProvidesDefinition{%
127                    \DeclareFixedFont{\egtsy}{OMS}{cmsy}{m}{n}{\@viiipt}}
128 \ProvidesDefinition{%
129      \DeclareFixedFont{\egtit}{OT1}{cmr}{m}{it}{\@viiipt}}
130 \ProvidesDefinition{\DeclareFixedFont{\egtly}{U}{lasy}{m}{n}{\@viiipt}}
131 %    \end{macrocode}
132 % Nine point:
133 %    \begin{macrocode}
134 \ProvidesDefinition{\DeclareFixedFont{\ninrm}{OT1}{cmr}{m}{n}{\@ixpt}}
135 \ProvidesDefinition{\DeclareFixedFont{\ninmi}{OML}{cmm}{m}{it}{\@ixpt}}
136 \ProvidesDefinition{\DeclareFixedFont{\ninsy}{OMS}{cmsy}{m}{n}{\@ixpt}}
137 \ProvidesDefinition{\DeclareFixedFont{\ninit}{OT1}{cmr}{m}{it}{\@ixpt}}
138 \ProvidesDefinition{\DeclareFixedFont{\ninbf}{OT1}{cmr}{bx}{n}{\@ixpt}}
139 \ProvidesDefinition{\DeclareFixedFont{\nintt}{OT1}{cmtt}{m}{n}{\@ixpt}}
140 \ProvidesDefinition{\DeclareFixedFont{\ninly}{U}{lasy}{m}{n}{\@ixpt}}
141 %    \end{macrocode}
142 % Ten point:
143 %    \begin{macrocode}
144 \ProvidesDefinition{\DeclareFixedFont{\tenrm}{OT1}{cmr}{m}{n}{\@xpt}}
145 \ProvidesDefinition{\DeclareFixedFont{\tenmi}{OML}{cmm}{m}{it}{\@xpt}}
146 \ProvidesDefinition{\DeclareFixedFont{\tensy}{OMS}{cmsy}{m}{n}{\@xpt}}
147 \ProvidesDefinition{\DeclareFixedFont{\tenit}{OT1}{cmr}{m}{it}{\@xpt}}
148 \ProvidesDefinition{\DeclareFixedFont{\tensl}{OT1}{cmr}{m}{sl}{\@xpt}}
149 \ProvidesDefinition{\DeclareFixedFont{\tenbf}{OT1}{cmr}{bx}{n}{\@xpt}}
150 \ProvidesDefinition{\DeclareFixedFont{\tentt}{OT1}{cmtt}{m}{n}{\@xpt}}
151 \ProvidesDefinition{\DeclareFixedFont{\tensf}{OT1}{cmss}{m}{n}{\@xpt}}
152 \ProvidesDefinition{\DeclareFixedFont{\tenly}{U}{lasy}{m}{n}{\@xpt}}
153 \ProvidesDefinition{\DeclareFixedFont{\tenex}{OMX}{cmex}{m}{n}{\@xpt}}
154 %    \end{macrocode}
155 % Eleven point:
156 %    \begin{macrocode}
157 \ProvidesDefinition{\DeclareFixedFont{\elvrm}{OT1}{cmr}{m}{n}{\@xipt}}
158 \ProvidesDefinition{\DeclareFixedFont{\elvmi}{OML}{cmm}{m}{it}{\@xipt}}
159 \ProvidesDefinition{\DeclareFixedFont{\elvsy}{OMS}{cmsy}{m}{n}{\@xipt}}
160 \ProvidesDefinition{\DeclareFixedFont{\elvit}{OT1}{cmr}{m}{it}{\@xipt}}
161 \ProvidesDefinition{\DeclareFixedFont{\elvsl}{OT1}{cmr}{m}{sl}{\@xipt}}
162 \ProvidesDefinition{\DeclareFixedFont{\elvbf}{OT1}{cmr}{bx}{n}{\@xipt}}
163 \ProvidesDefinition{\DeclareFixedFont{\elvtt}{OT1}{cmtt}{m}{n}{\@xipt}}
164 \ProvidesDefinition{\DeclareFixedFont{\elvsf}{OT1}{cmss}{m}{n}{\@xipt}}
165 \ProvidesDefinition{\DeclareFixedFont{\elvly}{U}{lasy}{m}{n}{\@xipt}}
166 %    \end{macrocode}
167 % Twelve point:
168 %    \begin{macrocode}
169 \ProvidesDefinition{\DeclareFixedFont{\twlrm}{OT1}{cmr}{m}{n}{\@xiipt}}
170 \ProvidesDefinition{\DeclareFixedFont{\twlmi}{OML}{cmm}{m}{it}{\@xiipt}}
171 \ProvidesDefinition{\DeclareFixedFont{\twlsy}{OMS}{cmsy}{m}{n}{\@xiipt}}
172 \ProvidesDefinition{\DeclareFixedFont{\twlit}{OT1}{cmr}{m}{it}{\@xiipt}}
173 \ProvidesDefinition{\DeclareFixedFont{\twlsl}{OT1}{cmr}{m}{sl}{\@xiipt}}
174 \ProvidesDefinition{\DeclareFixedFont{\twlbf}{OT1}{cmr}{bx}{n}{\@xiipt}}
175 \ProvidesDefinition{\DeclareFixedFont{\twltt}{OT1}{cmtt}{m}{n}{\@xiipt}}
176 \ProvidesDefinition{\DeclareFixedFont{\twlsf}{OT1}{cmss}{m}{n}{\@xiipt}}
177 \ProvidesDefinition{\DeclareFixedFont{\twlly}{U}{lasy}{m}{n}{\@xiipt}}
178 %    \end{macrocode}
179 % Fourteen point:
180 %    \begin{macrocode}
181 \ProvidesDefinition{\DeclareFixedFont{\frtnrm}{OT1}{cmr}{m}{n}{\@xivpt}}
182 \ProvidesDefinition{%
183                    \DeclareFixedFont{\frtnmi}{OML}{cmm}{m}{it}{\@xivpt}}
184 \ProvidesDefinition{%
185                    \DeclareFixedFont{\frtnsy}{OMS}{cmsy}{m}{n}{\@xivpt}}
186 \ProvidesDefinition{%
187                    \DeclareFixedFont{\frtnbf}{OT1}{cmr}{bx}{n}{\@xivpt}}
188 \ProvidesDefinition{\DeclareFixedFont{\frtnly}{U}{lasy}{m}{n}{\@xivpt}}
189 %    \end{macrocode}
190 % Seventeen point:
191 %    \begin{macrocode}
192 \ProvidesDefinition{%
193                    \DeclareFixedFont{\svtnrm}{OT1}{cmr}{m}{n}{\@xviipt}}
194 \ProvidesDefinition{%
195                   \DeclareFixedFont{\svtnmi}{OML}{cmm}{m}{it}{\@xviipt}}
196 \ProvidesDefinition{%
197                   \DeclareFixedFont{\svtnsy}{OMS}{cmsy}{m}{n}{\@xviipt}}
198 \ProvidesDefinition{%
199                   \DeclareFixedFont{\svtnbf}{OT1}{cmr}{bx}{n}{\@xviipt}}
200 \ProvidesDefinition{\DeclareFixedFont{\svtnly}{U}{lasy}{m}{n}{\@xviipt}}
201 %    \end{macrocode}
202 % Twenty point:
203 %    \begin{macrocode}
204 \ProvidesDefinition{\DeclareFixedFont{\twtyrm}{OT1}{cmr}{m}{n}{\@xxpt}}
205 \ProvidesDefinition{\DeclareFixedFont{\twtymi}{OML}{cmm}{m}{it}{\@xxpt}}
206 \ProvidesDefinition{\DeclareFixedFont{\twtysy}{OMS}{cmsy}{m}{n}{\@xxpt}}
207 \ProvidesDefinition{\DeclareFixedFont{\twtyly}{U}{lasy}{m}{n}{\@xxpt}}
208 %    \end{macrocode}
209 % Twenty-five point:
210 %    \begin{macrocode}
211 \ProvidesDefinition{\DeclareFixedFont{\twfvrm}{OT1}{cmr}{m}{n}{\@xxvpt}}
212 %    \end{macrocode}
213 % That's it.
214 %    \begin{macrocode}
215 %</package>
216 %    \end{macrocode}
218 % \Finale
220 % \endinput