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)]
52 %\iffalse This is a META comment
55 % Copyright (C) 1989-1994 Frank Mittelbach and Rainer Sch\"opf,
56 % all rights reserved.
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}
64 % \author{Frank Mittelbach \and Rainer Sch\"opf}
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.}
70 % \def\dst{\expandafter{\normalfont\scshape docstrip}}
72 % \setcounter{StandardModuleDepth}{1}
74 % \MaintainedByLaTeXTeam{latex}
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:
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 \\
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.
101 % Most important is \texttt{preload.ltx} which is used during
102 % format generation. You are \emph{not} allowed to change this file.
104 % \section{Customization}
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}.
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.
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.
122 % If you normally use other fonts than Computer Modern
123 % \texttt{preload.min} might be best.
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.
136 % \section{Module switches for the \dst{} program}
138 % The \dst{} will generate the above file from this source using the
139 % following module directives:
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\\
154 % A typical \dst{} command file would then have entries like:
156 %\generateFile{preload.min}{t}{\from{preload.dtx}{preload,min}}
158 % for generating preload files.
160 % \section{A driver for this document}
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
168 \documentclass{ltxdoc}
169 %\OnlyDescription % comment out for implementation details
171 \DocInput{preload.dtx}
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 \texttt{lplain.tex} and \texttt{latex.tex}.
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.
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.}
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
195 % The above fonts should not be touched but anything below this
196 % point here in the preload suggestions can be modified without any
199 %<-tex>%*******************************************
200 %<-tex>% Start any modification below this point **
201 %<-tex>%*******************************************
204 %% Computer Modern Roman:
205 %%-----------------------
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}
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}
220 %% Computer Modern Sans:
221 %%----------------------
222 %<+ori> \DeclarePreloadSizes{OT1}{cmss}{m}{n}{10,10.95,12}
224 %% Computer Modern Typewriter:
225 %%----------------------------
226 %<+ori> \DeclarePreloadSizes{OT1}{cmtt}{m}{n}{9,10,10.95,12}
228 %% Computer Modern Math:
229 %%----------------------
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}
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}
244 \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10}
245 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10}
248 \DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,10.95}
249 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,10.95}
252 \DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,12}
253 \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,12}
256 %% LaTeX symbol fonts:
257 %%--------------------
259 \DeclarePreloadSizes{U}{lasy}{m}{n}
260 {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74}