| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 1993-2025 |
| 4 |
% The LaTeX Project and any individual authors listed elsewhere |
| 5 |
% in this file. |
| 6 |
% |
| 7 |
% This file is part of the LaTeX base system. |
| 8 |
% ------------------------------------------- |
| 9 |
% |
| 10 |
% It may be distributed and/or modified under the |
| 11 |
% conditions of the LaTeX Project Public License, either version 1.3c |
| 12 |
% of this license or (at your option) any later version. |
| 13 |
% The latest version of this license is in |
| 14 |
% https://www.latex-project.org/lppl.txt |
| 15 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 16 |
% version 2008 or later. |
| 17 |
% |
| 18 |
% This file has the LPPL maintenance status "maintained". |
| 19 |
% |
| 20 |
% The list of all files belonging to the LaTeX base distribution is |
| 21 |
% given in the file `manifest.txt'. See also `legal.txt' for additional |
| 22 |
% information. |
| 23 |
% |
| 24 |
% The list of derived (unpacked) files belonging to the distribution |
| 25 |
% and covered by LPPL is defined by the unpacking scripts (with |
| 26 |
% extension .ins) which are part of the distribution. |
| 27 |
% |
| 28 |
% \fi |
| 29 |
% |
| 30 |
% \iffalse |
| 31 |
%%% From File: preload.dtx |
| 32 |
%<*dtx> |
| 33 |
\ProvidesFile{preload.dtx} |
| 34 |
%</dtx> |
| 35 |
%<*preload> |
| 36 |
%<*!tex> |
| 37 |
%<+cm> \ProvidesFile{cmpreloa.% |
| 38 |
%<+dc> \ProvidesFile{dcpreloa.% |
| 39 |
%<+xpt> xpt} |
| 40 |
%<+xipt> xip} |
| 41 |
%<+xiipt> xii} |
| 42 |
%<+min> \ProvidesFile{preload.min} |
| 43 |
%<+ori> \ProvidesFile{preload.ori} |
| 44 |
%</!tex> |
| 45 |
%<+tex> \ProvidesFile{preload.ltx} |
| 46 |
% \fi |
| 47 |
% \ProvidesFile{preload.dtx} |
| 48 |
[2021/10/04 v2.1g LaTeX Kernel (Font Preloading)] |
| 49 |
% |
| 50 |
% |
| 51 |
% |
| 52 |
%\iffalse This is a META comment |
| 53 |
% |
| 54 |
% File `preload.dtx'. |
| 55 |
% Copyright (C) 1989-1994 Frank Mittelbach and Rainer Sch\"opf, |
| 56 |
% all rights reserved. |
| 57 |
% |
| 58 |
% \fi |
| 59 |
% |
| 60 |
% \GetFileInfo{preload.dtx} |
| 61 |
% \title{The \texttt{preload.dtx} file\thanks {This file has version |
| 62 |
% number \fileversion, dated \filedate}\\ for use with \LaTeXe} |
| 63 |
% \date{\filedate} |
| 64 |
% \author{Frank Mittelbach \and Rainer Sch\"opf} |
| 65 |
% |
| 66 |
% \changes{v2.0b}{1993/03/08}{Added 12pt preloads} |
| 67 |
% \changes{v2.1e}{1994/11/07}{(DPC) Updated to use \cs{ProvidesFile}} |
| 68 |
% \changes{v2.1g}{1998/08/17}{(RmS) Minor documentation fixes.} |
| 69 |
% |
| 70 |
% \def\dst{\expandafter{\normalfont\scshape docstrip}} |
| 71 |
% |
| 72 |
% \setcounter{StandardModuleDepth}{1} |
| 73 |
% |
| 74 |
% \MaintainedByLaTeXTeam{latex} |
| 75 |
% \maketitle |
| 76 |
% |
| 77 |
% \section{Overview} |
| 78 |
% |
| 79 |
% This file contains an number of possible settings for preloading |
| 80 |
% fonts during installation of NFSS2 (which is used by \LaTeXe). It |
| 81 |
% will be used to generate the following files: |
| 82 |
% \begin{center} |
| 83 |
% \begin{tabular}{ll} |
| 84 |
% preload.min & minimal subset of fonts necessary to run NFSS2 \\ |
| 85 |
% preload.ori & preload of CM fonts similar to the old |
| 86 |
% \texttt{lfonts.tex} \\ |
| 87 |
% preload.ltx & The standard selection of preloads \\ |
| 88 |
% cmpreloa.xpt & preload of CM fonts for 10pt document size\\ |
| 89 |
% cmpreloa.xip & preload of CM fonts for 11pt document size\\ |
| 90 |
% cmpreloa.xii & preload of CM fonts for 12pt document size\\ |
| 91 |
% dcpreloa.xpt & preload of DC fonts for 10pt size \\ |
| 92 |
% dcpreloa.xip & preload of DC fonts for 11pt size \\ |
| 93 |
% dcpreloa.xii & preload of DC fonts for 12pt size \\ |
| 94 |
% \end{tabular} |
| 95 |
% \end{center} |
| 96 |
% |
| 97 |
% These files are for installations that make use of Computer |
| 98 |
% Modern fonts either old encoding (OT1) or Cork encoding (T1). The |
| 99 |
% Computer Modern fonts with Cork encoding are known as DC-fonts. |
| 100 |
% |
| 101 |
% Most important is \texttt{preload.ltx} which is used during |
| 102 |
% format generation. You are \emph{not} allowed to change this file. |
| 103 |
% |
| 104 |
% \section{Customization} |
| 105 |
% |
| 106 |
% You can customize the preloaded fonts in your \LaTeXe{} system by |
| 107 |
% installing a file with the name \texttt{preload.cfg}. If this |
| 108 |
% file exists it will be used in place of the system file |
| 109 |
% \texttt{preload.ltx}. You can, for example, copy one of the |
| 110 |
% files mentioned above (that can be generated from this source) to |
| 111 |
% \texttt{preload.cfg}. |
| 112 |
% |
| 113 |
% Or you can define completely other preloads. In that case start |
| 114 |
% from \texttt{preload.min} since that contains the fonts that have |
| 115 |
% to be preloaded by *all* \LaTeXe{} systems. |
| 116 |
% |
| 117 |
% Avoid using \texttt{preload.ori}, it will load so many fonts that |
| 118 |
% on most installations it is nearly impossible to load other font |
| 119 |
% families afterwards. This file is only generated to show what |
| 120 |
% fonts have been preloaded by \LaTeX~2.09. |
| 121 |
% |
| 122 |
% If you normally use other fonts than Computer Modern |
| 123 |
% \texttt{preload.min} might be best. |
| 124 |
% |
| 125 |
% \begin{quote} \textbf{Warning:} If you preload fonts with |
| 126 |
% encodings other than the normally supported encodings you have to |
| 127 |
% declare that encoding in a \texttt{fontdef.cfg} configuration |
| 128 |
% file (see the documentation in the file \texttt{fontdef.dtx}). |
| 129 |
% Adding an extra encoding to the format might produce non-portable |
| 130 |
% documents, thus this should be avoided if possible. |
| 131 |
% \end{quote} |
| 132 |
% |
| 133 |
% |
| 134 |
% \MaybeStop{} |
| 135 |
% |
| 136 |
% \section{Module switches for the \dst{} program} |
| 137 |
% |
| 138 |
% The \dst{} will generate the above file from this source using the |
| 139 |
% following module directives: |
| 140 |
% \begin{center} |
| 141 |
% \begin{tabular}{ll} |
| 142 |
% driver & produce a documentation driver file \\ |
| 143 |
% preload& produce a preload\ldots file \\[2pt] |
| 144 |
% cm & for OT1 encoded Computer Modern \\ |
| 145 |
% dc & for T1 encoded Computer Modern \\[2pt] |
| 146 |
% min & produce minimal subset \\ |
| 147 |
% xpt & produce 10pt preloads \\ |
| 148 |
% xipt & produce 11pt preloads \\ |
| 149 |
% xiipt & produce 12pt preloads \\ |
| 150 |
% ori & produce preloads similar to old \texttt{lfonts.tex}\\ |
| 151 |
% tex & produce preload.ltx\\ |
| 152 |
% \end{tabular} |
| 153 |
% \end{center} |
| 154 |
% A typical \dst{} command file would then have entries like: |
| 155 |
% \begin{verbatim} |
| 156 |
%\generateFile{preload.min}{t}{\from{preload.dtx}{preload,min}} |
| 157 |
%\end{verbatim} |
| 158 |
% for generating preload files. |
| 159 |
% |
| 160 |
% \section{A driver for this document} |
| 161 |
% |
| 162 |
% The next bit of code contains the documentation driver file for |
| 163 |
% \TeX{}, i.e., the file that will produce the documentation you |
| 164 |
% are currently reading. It will be extracted from this file by the |
| 165 |
% \dst{} program. |
| 166 |
% \begin{macrocode} |
| 167 |
%<*driver> |
| 168 |
\documentclass{ltxdoc} |
| 169 |
%\OnlyDescription % comment out for implementation details |
| 170 |
\begin{document} |
| 171 |
\DocInput{preload.dtx} |
| 172 |
\end{document} |
| 173 |
%</driver> |
| 174 |
% \end{macrocode} |
| 175 |
% |
| 176 |
% |
| 177 |
% \section{The code} |
| 178 |
% |
| 179 |
% We begin by loading the math extension font (cmex10) |
| 180 |
% and the \LaTeX{} line and circle fonts. |
| 181 |
% It is necessary to do this explicitly since these are |
| 182 |
% used by the \LaTeX{} format. |
| 183 |
% Since the internal font name contains |/| characters |
| 184 |
% and digits we construct the name via |\csname|. |
| 185 |
% These are the only fonts (!) that must be loaded in this file. |
| 186 |
% |
| 187 |
% All |\DeclarePreloadSizes| can be removed or others can be added, |
| 188 |
% they only influence the processing speed. |
| 189 |
% \changes{v2.0c}{1993/08/13}{Added \cs{relax} at end of font names.} |
| 190 |
% \begin{macrocode} |
| 191 |
\expandafter\font\csname OMX/cmex/m/n/10\endcsname=cmex10\relax |
| 192 |
\font\tenln =line10 \font\tenlnw =linew10\relax |
| 193 |
\font\tencirc=lcircle10 \font\tencircw=lcirclew10\relax |
| 194 |
% \end{macrocode} |
| 195 |
% The above fonts should not be touched but anything below this |
| 196 |
% point here in the preload suggestions can be modified without any |
| 197 |
% problems. |
| 198 |
% \begin{macrocode} |
| 199 |
%<-tex>%******************************************* |
| 200 |
%<-tex>% Start any modification below this point ** |
| 201 |
%<-tex>%******************************************* |
| 202 |
%<-tex> |
| 203 |
%% |
| 204 |
%% Computer Modern Roman: |
| 205 |
%%----------------------- |
| 206 |
%<*ori> |
| 207 |
\DeclarePreloadSizes{OT1}{cmr}{m}{n} |
| 208 |
{5,6,7,8,9,10,10.95,12,14.4,17.28,20.74,24.88} |
| 209 |
\DeclarePreloadSizes{OT1}{cmr}{bx}{n}{9,10,10.95,12,14.4,17.28} |
| 210 |
\DeclarePreloadSizes{OT1}{cmr}{m}{sl}{10,10.95,12} |
| 211 |
\DeclarePreloadSizes{OT1}{cmr}{m}{it}{7,8,9,10,10.95,12} |
| 212 |
%</ori> |
| 213 |
%<+xpt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10} |
| 214 |
%<+xpt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{5,7,10} |
| 215 |
%<+xipt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{6,8,10.95} |
| 216 |
%<+xipt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{6,8,10.95} |
| 217 |
%<+xiipt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{6,8,12} |
| 218 |
%<+xiipt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{6,8,12} |
| 219 |
%% |
| 220 |
%% Computer Modern Sans: |
| 221 |
%%---------------------- |
| 222 |
%<+ori> \DeclarePreloadSizes{OT1}{cmss}{m}{n}{10,10.95,12} |
| 223 |
%% |
| 224 |
%% Computer Modern Typewriter: |
| 225 |
%%---------------------------- |
| 226 |
%<+ori> \DeclarePreloadSizes{OT1}{cmtt}{m}{n}{9,10,10.95,12} |
| 227 |
%% |
| 228 |
%% Computer Modern Math: |
| 229 |
%%---------------------- |
| 230 |
%<*ori> |
| 231 |
\DeclarePreloadSizes{OML}{cmm}{m}{it} |
| 232 |
{5,6,7,8,9,10,10.95,12,14.4,17.28,20.74} |
| 233 |
\DeclarePreloadSizes{OMS}{cmsy}{m}{n} |
| 234 |
{5,6,7,8,9,10,10.95,12,14.4,17.28,20.74} |
| 235 |
%</ori> |
| 236 |
% \end{macrocode} |
| 237 |
% |
| 238 |
% The math fonts are the same for both DC and CM fonts. So far |
| 239 |
% there isn't an agreed on standard. |
| 240 |
% \changes{v2.4e}{1995/12/04} |
| 241 |
% {Ulrik Vieth. added 12pt OMS and OML preloads /1989} |
| 242 |
% \begin{macrocode} |
| 243 |
%<*xpt> |
| 244 |
\DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10} |
| 245 |
\DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10} |
| 246 |
%</xpt> |
| 247 |
%<*xipt> |
| 248 |
\DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,10.95} |
| 249 |
\DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,10.95} |
| 250 |
%</xipt> |
| 251 |
%<*xiipt> |
| 252 |
\DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,12} |
| 253 |
\DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,12} |
| 254 |
%</xiipt> |
| 255 |
%% |
| 256 |
%% LaTeX symbol fonts: |
| 257 |
%%-------------------- |
| 258 |
%<*ori> |
| 259 |
\DeclarePreloadSizes{U}{lasy}{m}{n} |
| 260 |
{5,6,7,8,9,10,10.95,12,14.4,17.28,20.74} |
| 261 |
%</ori> |
| 262 |
%</preload> |
| 263 |
% \end{macrocode} |
| 264 |
% |
| 265 |
% |
| 266 |
% |
| 267 |
% \Finale |
| 268 |
% |
| 269 |
\endinput |