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