1 % \iffalse meta-comment
4 % The LaTeX3 Project and any individual authors listed elsewhere
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
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 % http://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2005/12/01 or later.
18 % This file has the LPPL maintenance status "maintained".
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
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.
31 %%% From File: preload.dtx
33 \ProvidesFile{preload.dtx}
37 %<+cm> \ProvidesFile{cmpreloa.%
38 %<+dc> \ProvidesFile{dcpreloa.%
42 %<+min> \ProvidesFile{preload.min}
43 %<+ori> \ProvidesFile{preload.ori}
45 %<+tex> \ProvidesFile{preload.ltx}
47 % \ProvidesFile{preload.dtx}
48 [2014/09/29 v2.1g LaTeX Kernel (Font Preloading)]
53 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
54 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
55 %% Digits \0\1\2\3\4\5\6\7\8\9
56 %% Exclamation \! Double quote \" Hash (number) \#
57 %% Dollar \$ Percent \% Ampersand \&
58 %% Acute accent \' Left paren \( Right paren \)
59 %% Asterisk \* Plus \+ Comma \,
60 %% Minus \- Point \. Solidus \/
61 %% Colon \: Semicolon \; Less than \<
62 %% Equals \= Greater than \> Question mark \?
63 %% Commercial at \@ Left bracket \[ Backslash \\
64 %% Right bracket \] Circumflex \^ Underscore \_
65 %% Grave accent \` Left brace \{ Vertical bar \|
66 %% Right brace \} Tilde \~}
68 %\iffalse This is a META comment
71 % Copyright (C) 1989-1994 Frank Mittelbach and Rainer Sch\"opf,
72 % all rights reserved.
76 % \GetFileInfo{preload.dtx}
77 % \title{The \texttt{preload.dtx} file\thanks {This file has version
78 % number \fileversion, dated \filedate}\\ for use with \LaTeXe}
80 % \author{Frank Mittelbach \and Rainer Sch\"opf}
82 % \changes{v2.0b}{1993/03/08}{Added 12pt preloads}
83 % \changes{v2.1e}{1994/11/07}{(DPC) Updated to use \cs{ProvidesFile}}
84 % \changes{v2.1g}{1998/08/17}{(RmS) Minor documentation fixes.}
86 % \def\dst{\expandafter{\normalfont\scshape docstrip}}
88 % \setcounter{StandardModuleDepth}{1}
90 % \MaintainedByLaTeXTeam{latex}
95 % This file contains an number of possible settings for preloading
96 % fonts during installation of NFSS2 (which is used by \LaTeXe). It
97 % will be used to generate the following files:
100 % preload.min & minimal subset of fonts necessary to run NFSS2 \\
101 % preload.ori & preload of CM fonts similar to the old
102 % \texttt{lfonts.tex} \\
103 % preload.ltx & The standard selection of preloads \\
104 % cmpreloa.xpt & preload of CM fonts for 10pt document size\\
105 % cmpreloa.xip & preload of CM fonts for 11pt document size\\
106 % cmpreloa.xii & preload of CM fonts for 12pt document size\\
107 % dcpreloa.xpt & preload of DC fonts for 10pt size \\
108 % dcpreloa.xip & preload of DC fonts for 11pt size \\
109 % dcpreloa.xii & preload of DC fonts for 12pt size \\
113 % These files are for installations that make use of Computer
114 % Modern fonts either old encoding (OT1) or Cork encoding (T1). The
115 % Computer Modern fonts with Cork encoding are known as DC-fonts.
117 % Most important is \texttt{preload.ltx} which is used during
118 % format generation. You are \emph{not} allowed to change this file.
120 % \section{Customization}
122 % You can customize the preloaded fonts in your \LaTeXe{} system by
123 % installing a file with the name \texttt{preload.cfg}. If this
124 % file exists it will be used in place of the system file
125 % \texttt{preload.ltx}. You can, for example, copy one of the
126 % files mentioned above (that can be generated from this source) to
127 % \texttt{preload.cfg}.
129 % Or you can define completely other preloads. In that case start
130 % from \texttt{preload.min} since that contains the fonts that have
131 % to be preloaded by *all* \LaTeXe{} systems.
133 % Avoid using \texttt{preload.ori}, it will load so many fonts that
134 % on most installations it is nearly impossible to load other font
135 % families afterwards. This file is only generated to show what
136 % fonts have been preloaded by \LaTeX~2.09.
138 % If you normally use other fonts than Computer Modern
139 % \texttt{preload.min} might be best.
141 % \begin{quote} \textbf{Warning:} If you preload fonts with
142 % encodings other than the normally supported encodings you have to
143 % declare that encoding in a \texttt{fontdef.cfg} configuration
144 % file (see the documentation in the file \texttt{fontdef.dtx}).
145 % Adding an extra encoding to the format might produce non-portable
146 % documents, thus this should be avoided if possible.
152 % \section{Module switches for the \dst{} program}
154 % The \dst{} will generate the above file from this source using the
155 % following module directives:
157 % \begin{tabular}{ll}
158 % driver & produce a documentation driver file \\
159 % preload& produce a preload\ldots file \\[2pt]
160 % cm & for OT1 encoded Computer Modern \\
161 % dc & for T1 encoded Computer Modern \\[2pt]
162 % min & produce minimal subset \\
163 % xpt & produce 10pt preloads \\
164 % xipt & produce 11pt preloads \\
165 % xiipt & produce 12pt preloads \\
166 % ori & produce preloads similar to old \texttt{lfonts.tex}\\
167 % tex & produce preload.ltx\\
170 % A typical \dst{} command file would then have entries like:
172 %\generateFile{preload.min}{t}{\from{preload.dtx}{preload,min}}
174 % for generating preload files.
176 % \section{A driver for this document}
178 % The next bit of code contains the documentation driver file for
179 % \TeX{}, i.e., the file that will produce the documentation you
180 % are currently reading. It will be extracted from this file by the
184 \documentclass{ltxdoc}
185 %\OnlyDescription % comment out for implementation details
187 \DocInput{preload.dtx}
195 % We begin by loading the math extension font (cmex10)
196 % and the \LaTeX{} line and circle fonts.
197 % It is necessary to do this explicitly since these are
198 % used by \texttt{lplain.tex} and \texttt{latex.tex}.
199 % Since the internal font name contains |/| characters
200 % and digits we construct the name via |\csname|.
201 % These are the only fonts (!) that must be loaded in this file.
203 % All |\DeclarePreloadSizes| can be removed or others can be added,
204 % they only influence the processing speed.
205 % \changes{v2.0c}{1993/08/13}{Added \cs{relax} at end of font names.}
207 \expandafter\font\csname OMX/cmex/m/n/10\endcsname=cmex10\relax
208 \font\tenln =line10 \font\tenlnw =linew10\relax
209 \font\tencirc=lcircle10 \font\tencircw=lcirclew10\relax
211 % The above fonts should not be touched but anything below this
212 % point here in the preload suggestions can be modified without any
215 %<-tex>%*******************************************
216 %<-tex>% Start any modification below this point **
217 %<-tex>%*******************************************
220 %% Computer Modern Roman:
221 %%-----------------------
223 \DeclarePreloadSizes{OT1}{cmr}{m}{n}
224 {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74,24.88}
225 \DeclarePreloadSizes{OT1}{cmr}{bx}{n}{9,10,10.95,12,14.4,17.28}
226 \DeclarePreloadSizes{OT1}{cmr}{m}{sl}{10,10.95,12}
227 \DeclarePreloadSizes{OT1}{cmr}{m}{it}{7,8,9,10,10.95,12}
229 %<+xpt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10}
230 %<+xpt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{5,7,10}
231 %<+xipt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{6,8,10.95}
232 %<+xipt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{6,8,10.95}
233 %<+xiipt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{6,8,12}
234 %<+xiipt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{6,8,12}
236 %% Computer Modern Sans:
237 %%----------------------
238 %<+ori> \DeclarePreloadSizes{OT1}{cmss}{m}{n}{10,10.95,12}
240 %% Computer Modern Typewriter:
241 %%----------------------------
242 %<+ori> \DeclarePreloadSizes{OT1}{cmtt}{m}{n}{9,10,10.95,12}
244 %% Computer Modern Math:
245 %%----------------------
247 \DeclarePreloadSizes{OML}{cmm}{m}{it}
248 {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74}
249 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}
250 {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74}
254 % The math fonts are the same for both DC and CM fonts. So far
255 % there isn't an agreed on standard.
256 % \changes{v2.4e}{1995/12/04}
257 % {Ulrik Vieth. added 12pt OMS and OML preloads /1989}
260 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}
261 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}
264 \DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,10.95}
265 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,10.95}
268 \DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,12}
269 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,12}
272 %% LaTeX symbol fonts:
273 %%--------------------
275 \DeclarePreloadSizes{U}{lasy}{m}{n}
276 {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74}