% \iffalse meta-comment
%
% Copyright (C) 1989-1992 by Frank Mittelbach, Rainer Schoepf.
% All rights reserved.
% 
% This file is part of the NFSS (New Font Selection Scheme) package.
% 
% IMPORTANT NOTICE:
% 
% 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.mz3.
% 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.
% 
% 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.
% 
% \fi
\def\filename{exscale}
\def\fileversion{v1.0c}
\def\filedate{92/06/20}
\def\docdate {92/06/20}

%% \CheckSum{52}
%% \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 METACOMMENT !
%
% File `exscale.doc'.
% Copyright (C) 1992 Frank Mittelbach and Rainer Sch\"opf,
% all rights reserved.
%
% \fi
%
% \changes{1.0c}{92/06/20}{Driver file added.}
%
% \MakeShortVerb{\|}
% \newcommand{\MF}{{\sf Metafont}}
%
% \title{The file {\tt exscale.doc}\thanks{This file has version
%        number \fileversion, dated \filedate.  The documentation was
%        last updated on \docdate.}\ \ for use with the new font
%        selection scheme and the \LaTeX{} \AmSTeX{} interface.\\[2pt]
%        It contains the code for {\tt exscale.sty}.}
%
% \author{Frank Mittelbach \and Rainer Sch\"opf}
%
% \maketitle
%
% \section{Introduction}
%
% On popular request, this style option implements scaling of the
% math extension font `cmex'. If this option is used the site needs
% scaled versions of the {\tt cmex10} in the sizes 10.95pt, 12pt,
% 14.4pt , 17.28pt, 20.74pt, and 24.88pt which corresponds to standard
% magsteps using |\magstephalf|, and |\magstep1| through |\magstep5|.
% Additionally `cmex' variants for the sizes 5pt to 9pt are necessary.
% These fonts are part of the AMS font package and can be found on
% many servers.
%
% We don't think that using a scalable `cmex' font improves the
% appearance of the document very much because the linear scaling of
% the font introduces changes to font dimen parameters of the font
% that are used all over the place in \TeX's math placement routines
% and definitely shouldn't be scaled linearly.  As a positive result,
% however, symbols from this font will come out in approximately the
% right size when used with a large basis font size.
%
% We therefore strongly recomment the generation of designed fonts for
% the larger sizes and hope that the corresponding \MF{} sources will
% be available in the near future.
%
%
% \section{Usage}
%
% This file can be used either as a style option by placing its name
% in the comma separated list in the optional argument of
% |\documentstyle|, or by copying its contents in the site dependent
% file {\tt fontdef.tex} which contains the local modification and
% special font shape definition of at the current site. This local
% file can then be used to generate a format containing the new font
% selection scheme.
%
% If the contents of this file is copied to the local font definition
% file that is used during the generation of a format, it is of course
% legal to change the font names mentioned in the |\new@fontshape|
% command below. But if this file is used as a style file changes are
% only allowed if the additional |\typeout| line is uncommented below
% and the name of the supporting person is added! Additionally we
% request that the original file is kept and this file is distributed
% when the NFSS is given to somebody else.
%
% \StopEventually{}
%
% \section{Implementation}
%
% We first check that the new font selection scheme is loaded, since
% otherwise the style option is useless.
%    \begin{macrocode}
%<*style>
\@ifundefined{selectfont}
     {\@latexerr{`exscale' style option can only be used
                  with the new font selection scheme}\@eha
      \endinput}{}
%    \end{macrocode}
%
% Then we identify the style option and its current version.
%    \begin{macrocode}
\typeout{Style Option: `exscale'
  \fileversion\space <\filedate> (FMi and RmS)}
\typeout{English Documentation
  \@spaces\@spaces\space <\docdate> (FMi)}
%\typeout{******************************************************}%
%\typeout{* This is a local variant done by <YOUR NAME>}
%\typeout{******************************************************}%
%    \end{macrocode}
%
% We now define to which external fonts the font/shape Computer Modern
% Extension Medium Normal. For the sizes 5--10pt we use fonts that are
% designed for the corresponding size and for the higher sizes we use
% scaled versions of the 10pt font since for these sizes no designed
% fonts are easily available.
%    \begin{macrocode}
\new@fontshape{cmex}{m}{n}{%
%    \end{macrocode}
%    According to Michael Downes `cmex5' and `cmex6' are not
%    distributed currently. Therefore we use `cmex7' in those size but
%    we omit a warning.
%    \begin{macrocode}
      <5>cmex7%
      <6>cmex7%
      <7>cmex7%
      <8>cmex8%
      <9>cmex9%
       <10>cmex10%
       <11>cmex10 at10.95pt%
       <12>cmex10 at12pt%
       <14>cmex10 at14.4pt%
       <17>cmex10 at17.28pt%
       <20>cmex10 at20.74pt%
       <25>cmex10 at24.88pt%
       }{}
%    \end{macrocode}
%
% We also need to declare this font to be correspond to the math group
% number three. We do this for the two standard math versions `normal'
% and `bold'.
%    \begin{macrocode}
\define@mathgroup\mv@normal{3}{cmex}{m}{n}
\define@mathgroup\mv@bold{3}{cmex}{m}{n}
%</style>
%    \end{macrocode}
%
%
% \section{The documentation driver file}
%
% 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 {\tt
% docstrip} program.
%    \begin{macrocode}
%<+driver>\documentstyle[doc]{article}
%<+driver>
%<+driver>% dimensions from ltugboat.sty:
%<+driver>
%<+driver>\setlength\textwidth{31pc} 
%<+driver>\setlength\textheight{54pc}
%<+driver>\setlength{\parindent}{0pt}
%<+driver>\setlength{\parskip}{2pt plus 1pt minus 1pt}
%<+driver>\setlength{\oddsidemargin}{8pc} 
%<+driver>\setlength{\marginparwidth}{8pc}
%<+driver>\setlength{\topmargin}{-2.5pc} 
%<+driver>\setlength{\headsep}{20pt}
%<+driver>\setlength{\columnsep}{1.5pc} 
%<+driver>\setlength{\columnwidth}{18.75pc}
%<+driver>
%<+driver>\EnableCrossrefs         
%<+driver>%\DisableCrossrefs % Say \DisableCrossrefs if index is ready
%<+driver>
%<+driver>\RecordChanges     % Gather update information
%<+driver>
%<+driver>\CodelineIndex     % Index code by line number
%<+driver>
%<+driver>%\OnlyDescription  % comment out for implementation details
%<+driver>%\OldMakeindex     % use if your MakeIndex is pre-v2.9
%<+driver>\begin{document}
%<+driver>   \DocInput{exscale.doc}
%<+driver>\end{document}
%    \end{macrocode}
%
% \Finale
%
\endinput
