% \iffalse meta-comment % % Copyright (C) 1989--1993 by Frank Mittelbach, Rainer Schoepf. % All rights reserved. % % This file is part of the NFSS2 (New Font Selection Scheme) package. % % This package is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % % % IMPORTANT NOTICE: % % For error reports in case of UNCHANGED versions see readme files. % % Please do not request updates from us directly. Distribution is % done through Mail-Servers and TeX organizations. % % You are not allowed to change this file. You may however copy % this file to a file with a different name and then change the copy % if you obey the restrictions on file changes described in % readme.mz. % % You are allowed to distribute this file under the condition that % it is distributed together with all files mentioned in readme.mz8. % If you receive only some of these files from someone, complain! % % You are NOT ALLOWED to distribute this file alone. You are NOT % ALLOWED to take money for the distribution or use of either this % file or a changed version, except for a nominal charge for copying % etc. % \fi \def\fileversion{v2.0b} \def\filedate{93/03/08} \def\docdate {93/03/08} % \CheckSum{77} %% \CharacterTable %% {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 %% 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 %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} % %\iffalse This is a META comment % % File `preload.dtx'. % Copyright (C) 1989-1993 Frank Mittelbach and Rainer Sch\"opf, % all rights reserved. % % \fi % % % \title{The {\tt preload.dtx} file\thanks {This file has version % number \fileversion, dated \filedate. The documentation was last % revised on \docdate}\\ for use with NFSS2} % \author{Frank Mittelbach \and Rainer Sch\"opf} % % \changes{v2.0b}{93/03/08}{Added 12pt preloads} % % \MakeShortVerb\| % % \def\dst{\expandafter{\csname mediumseries\endcsname\sc docstrip}} % % \setcounter{StandardModuleDepth}{1} % % \maketitle % % \section{Overview} % % This file contains an number of possible settings for preloading % fonts during installation of NFSS2. It will be used to generate % the following files: % \begin{center} % \begin{tabular}{ll} % preload.min & minimal subset of fonts necessary to run NFSS2 \\ % preload.ori & preload of CM fonts similar to the old % {\tt lfonts.tex} \\ % preload.tex & The suggested selection of preloads \\ % cmpreloa.xpt & preload of CM fonts for 10pt document size\\ % cmpreloa.xip & preload of CM fonts for 11pt document size\\ % cmpreloa.xii & preload of CM fonts for 12pt document size\\ % dcpreloa.xpt & preload of DC fonts for 10pt size \\ % dcpreloa.xip & preload of DC fonts for 11pt size \\ % dcpreloa.xii & preload of DC fonts for 12pt size \\ % \end{tabular} % \end{center} % % These files are for installations that make use of Computer % Modern fonts either old encoding (OT1) or Cork encoding (T1). The % Computer Modern fonts with Cork encoding are known as DC-fonts. % % We suggest that you use either {\tt dcpreloa.xpt}, {\tt % dcpreloa.xip}, or {\tt dcpreloa.xii} depending on the whether % your documents are normally in 10pt, 11pt, or 12pt size. If you % are not satisfied with the suggestion in {\tt preload.tex} modify % the |\input| statement in this file. % % If you don't have the DC-fonts use one of the corresponding files % for Computer Modern fonts in the old encoding, e.g. {\tt % cmpreloa.xpt}. % % Avoid using {\tt preload.ori}, it will load so many fonts that on % most installations it is nearly impossible to load other font % families afterwards. % % If you normally use other fonts than Computer Modern {\tt % preload.min} might be best. % % If you want to preload other fonts, put your own % |\DeclarePreloadSizes| commands into a private file and |\input| % this file in {\tt preload.tex}. % % \StopEventually{} % % \section{Module switches for the \dst{} program} % % The \dst{} will generate the above file from this source using the % following module directives: % \begin{center} % \begin{tabular}{ll} % driver & produce a documentation driver file \\ % preload& produce a preload\ldots file \\[2pt] % cm & for OT1 encoded Computer Modern \\ % dc & for T1 encoded Computer Modern \\[2pt] % min & produce minimal subset \\ % xpt & produce 10pt preloads \\ % xipt & produce 11pt preloads \\ % xiipt & produce 12pt preloads \\ % ori & produce preloads similar to old {\tt lfonts.tex}\\ % tex & produce preload.tex\\ % \end{tabular} % \end{center} % A typical \dst{} command file would then have entries like: % \begin{verbatim} %\generateFile{preload.min}{t}{\from{preload.dtx}{preload,min}} %\end{verbatim} % for generating preload files. % % % \section{The code} % % As always we begin by identifying the latest version of this file % on the VDU and in the {\sf log} file. % \begin{macrocode} %<*preload> \immediate\write\sixt@@n{File: %<+cm> `cmpreloa.% %<+dc> `cmpreloa.% %<+xpt> xpt' \space %<+xipt> xip' \space %<+xiipt> xii' \space %<+min> `preload.min' \space %<+ori> `preload.ori' \space %<+tex> `preload.tex' \space \fileversion\space <\filedate> (FMi and RmS)} \immediate\write\sixt@@n{English Documentation \@spaces\space <\docdate> (FMi and RmS)} % \end{macrocode} % % We begin by loading the math extension font (cmex10) % and the \LaTeX{} line and circle fonts. % It is necessary to do this explicitly since these are % used by {\tt lplain.tex} and {\tt latex.tex}. % Since the internal font name contains |/| characters % and digits we construct the name via |\csname|. % \begin{macrocode} \expandafter\font\csname OMX/cmex/m/n/10\endcsname=cmex10 \font\tenln =line10 \font\tenlnw =linew10 \font\tencirc=lcircle10 \font\tencircw=lcirclew10 %************************* % Computer Modern Roman %************************* %<*ori> \DeclarePreloadSizes{OT1}{cmr}{m}{n} {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74,24.88} \DeclarePreloadSizes{OT1}{cmr}{bx}{n}{9,10,10.95,12,14.4,17.28} \DeclarePreloadSizes{OT1}{cmr}{m}{sl}{10,10.95,12} \DeclarePreloadSizes{OT1}{cmr}{m}{it}{7,8,9,10,10.95,12} % %<+xpt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{5,7,10} %<+xpt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{5,7,10} %<+xipt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{6,8,11} %<+xipt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{6,8,11} %<+xiipt&cm> \DeclarePreloadSizes{OT1}{cmr}{m}{n}{6,8,12} %<+xiipt&dc> \DeclarePreloadSizes{T1}{cmr}{m}{n}{6,8,12} %************************* % Computer Modern Sans %************************* %<+ori> \DeclarePreloadSizes{OT1}{cmss}{m}{n}{10,10.95,12} %************************* % Computer Modern Typewriter %************************* %<+ori> \DeclarePreloadSizes{OT1}{cmtt}{m}{n}{9,10,10.95,12} %************************* % Computer Modern Math %************************* %<*ori> \DeclarePreloadSizes{OML}{cmm}{m}{it} {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74} \DeclarePreloadSizes{OMS}{cmsy}{m}{n} {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74} % % \end{macrocode} % % The math fonts are the same for both DC and CM fonts. So far % there isn't an agreed on standard. % \begin{macrocode} %<*xpt> \DeclarePreloadSizes{OML}{cmm}{m}{it}{5,7,10} \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{5,7,10} % %<*xipt> \DeclarePreloadSizes{OML}{cmm}{m}{it}{6,8,11} \DeclarePreloadSizes{OMS}{cmsy}{m}{n}{6,8,11} % %************************* % LaTeX symbol fonts %************************* %<*ori> \DeclarePreloadSizes{U}{lasy}{m}{n} {5,6,7,8,9,10,10.95,12,14.4,17.28,20.74} % % \end{macrocode} % % Our suggested collection is to use |cmpreloa.xpt| but this might % be wrong on many installations. % \begin{macrocode} %<+tex>\input cmpreloa.xpt % % \end{macrocode} % % % \section{A driver for this document} % % The next bit of code contains the documentation driver file for % \TeX{}, i.e., the file that will produce the documentation you % are currently reading. It will be extracted from this file by the % \dst{} program. % \begin{macrocode} %<*driver> \documentstyle[doc]{article} % dimensions from ltugboat.sty: \setlength\textwidth{31pc} \setlength\textheight{54pc} \setlength{\parindent}{0pt} \setlength{\parskip}{2pt plus 1pt minus 1pt} \setlength{\oddsidemargin}{8pc} \setlength{\marginparwidth}{8pc} \setlength{\topmargin}{-2.5pc} \setlength{\headsep}{20pt} \setlength{\columnsep}{1.5pc} \setlength{\columnwidth}{18.75pc} \DisableCrossrefs \CodelineIndex % Index code by line number %\OnlyDescription % comment out for implementation details \begin{document} \DocInput{preload.dtx} \end{document} % % \end{macrocode} % % \DeleteShortVerb{\|} % % \Finale % \endinput