home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
useful
/
dist
/
text
/
tex
/
pastex
/
macros
/
latex
/
nfss2
/
amstex.sty
(
.txt
)
< prev
next >
Wrap
LaTeX Document
|
1993-08-05
|
53KB
|
1,386 lines
%% This is file `amstex.sty', generated
%% on <1993/8/5> with the docstrip utility (2.1e).
%% The original source files were:
%% amstex.doc
%% IMPORTANT NOTICE
%% ----------------
%% This file is part of AMS-LaTeX, as modified by Frank Mittelbach to
%% work with NFSS2 (New Font Selection Scheme Version 2). This file is
%% distributed together with NFSS2 until the AMS will change their
%% distribution to support NFSS2. You are not allowed to distribute this
%% file separately.
%%@texfile{%
%% filename="amstex.sty",
%% version="1.1",
%% date="21-JUN-1991",
%% filetype="AMS-LaTeX: option",
%% copyright="Copyright (C) American Mathematical Society, all rights
%% reserved. Copying of this file is authorized only if either:
%% (1) you make absolutely no changes to your copy, including name;
%% OR (2) if you do make changes, you first rename it to some other
%% name.",
%% author="American Mathematical Society",
%% address="American Mathematical Society,
%% Technical Support Group,
%% P. O. Box 6248,
%% Providence, RI 02940,
%% USA",
%% telephone="401-455-4080 or (in the USA) 800-321-4AMS",
%% email="Internet: Tech-Support@Math.AMS.com",
%% checksumtype="line count",
%% checksum="3421",
%% codetable="ISO/ASCII",
%% keywords="latex, amslatex, ams-latex, math, amstex, ams-tex",
%% abstract="This file is part of the AMS-\LaTeX{} package, ver. 1.1.
%% It is a \LaTeX{} option file that adapts most of the mathematical
%% macros of AMS-\TeX{} for use in \LaTeX{}. It is one of the main
%% parts of a package called `AMS-\LaTeX{}'."
\expandafter\ifx\csname amstex.sty\endcsname\relax
\expandafter\def\csname amstex.sty\endcsname{}
\else\message{---already loaded}\endinput\fi
\def\filename{amstex.sty}
\def\fileversion{1.1} \def\filedate{21-JUN-1991}
\immediate\write16{%
AMS-LaTeX option `\filename' (\fileversion, \filedate)}
%%% end of file header
\input{amstext.sty} % AMS \text macro
\input{amsfonts.sty} % AMS font specific stuff
\input{amsbsy.sty} % AMS \boldsymbol
\def\FN@{\futurelet\next}
\def\DN@{\def\next@}
\def\RIfM@{\relax\protect\ifmmode}
\def\setboxz@h{\setbox\z@\hbox}
\def\wdz@{\wd\z@}
\def\boxz@{\box\z@}
\def\setbox@ne{\setbox\@ne}
\def\wd@ne{\wd\@ne}
\def\relaxnext@{\let\next\relax}
\def\iterate{\body\expandafter\iterate\else\fi}
\long\def\@leftmark#1#2{#1}
\long\def\@rightmark#1#2{#2}
\long\def\@ifempty#1{%
\expandafter\ifx\@car#1@\@nil @\@empty
\expandafter\@leftmark\else\expandafter\@rightmark\fi}
\long\def\@ifnotempty#1{\@ifempty{#1}{}}
\def\err@#1#2{\iffirstchoice@
\edef\@tempc{#2}\errhelp\expandafter{\@tempc}%
\typeout{^^JAmS-LaTeX error:}%
\errmessage{#1}\fi}
\def\nomath@env{\err@{\string\begin{\@currenvir}
allowed only in paragraph mode!}\@ehb}
\def\Invalid@@{Invalid use of \string}
\def\Invalid@#1{\def#1{\err@{\Invalid@@#1}\@eha}}
\def\atdef@#1{\expandafter\def\csname\space @\string#1\endcsname}
\begingroup \catcode`\@=\active
\xdef @{\expandafter\noexpand\csname FN\string @\endcsname
\expandafter\noexpand\csname at\string @\endcsname}
\endgroup
\def\at@{\let\next@\at@@
\ifcat\noexpand\next a\else
\ifcat\noexpand\next0\else
\ifcat\noexpand\next\relax\else
\let\next@\at@@@\fi\fi\fi\next@}
\def\at@@#1{\expandafter
\ifx\csname\space @\string#1\endcsname\relax
\DN@{\at@@@#1}%
\else
\DN@{\csname\space @\string#1\endcsname}%
\fi\next@}%
\def\at@@@{\err@{\Invalid@@ @}{\the\athelp@}\char64\relax}
\newhelp\athelp@
{Only certain combinations beginning with @ make sense to me.^^J%
I'll assume you wanted @@ for a printed @.}
\atdef@ @{\char64\relax}% to define @@
\def\makeatother{\catcode64\active}
{\def\@makeother{\noexpand\@makeother\noexpand}
\xdef\@sanitize{\@sanitize\@makeother\@}}
{\def\do{\noexpand\do\noexpand}
\xdef\dospecials{\dospecials\do\@}}
\atdef@,{\RIfM@\mskip.1\thinmuskip\protect\else
\protect\nonmatherr@{@,}\protect\fi}
\atdef@!{\RIfM@\mskip-.1\thinmuskip\protect\else
\protect\nonmatherr@{@!}\protect\fi}
\let\ic@\/
\def\/{\unskip\ic@}
\def~{\unskip\nobreak\ \ignorespaces}
\def\AmSTeX{\protect\AmS-\protect\TeX\@}
\def\AmS{{\protect\the\textfont\tw@
A\kern-.1667em\lower.5ex\hbox{M}\kern-.125emS}}
\def\nonmatherr@#1{\err@
{\string#1\space allowed only in math mode}\@ehd}
\def\@lb{\RIfM@\lbrace\else$\m@th\lbrace$\fi}
\def\@rb{\RIfM@\rbrace\else$\m@th\rbrace$\fi}
\def\slash{\unskip/\penalty\exhyphenpenalty}
\def\pr@m@s{\ifx'\next\DN@##1{\prim@s}\else\let\next@\egroup\fi\next@}
\def\prime{{\null\prime@\null}}
\mathchardef\prime@="0230
\def\,{\RIfM@\mskip\thinmuskip\protect\else\kern.16667em\protect\fi}
\def\!{\RIfM@\mskip-\thinmuskip\protect\else\kern-.16667em\protect\fi}
\let\thinspace\,
\let\negthinspace\!
\def\medspace{\RIfM@\mskip\medmuskip
\protect\else\kern.222222em\protect\fi}
\def\negmedspace{\RIfM@\mskip-\medmuskip
\protect\else\kern-.222222em\protect\fi}
\def\;{\RIfM@\mskip\thickmuskip\protect\else\kern.27777em\protect\fi}
\let\thickspace\;
\def\negthickspace{\RIfM@\mskip-\thickmuskip\protect\else
\kern-.27777em\protect\fi}
\def\And{\DOTSB\;\mathchar"3026 \;} %change%
\def\implies{\DOTSB\;\Longrightarrow\;}
\def\impliedby{\DOTSB\;\Longleftarrow\;}
\def\frac{\protect\pfrac}
\def\pfrac{\new@ifnextchar[\frac@{\frac@[\@empty]}}
\def\frac@[#1]#2#3{\relax\ifx\@empty#1{#2\over#3}\else
{#2\above#1\relax#3}\fi}
\def\fracwithdelims#1#2{\new@ifnextchar[{\fracwithdelims@#1#2}%
{\fracwithdelims@#1#2[\@empty]}}
\def\fracwithdelims@#1#2[#3]#4#5{\relax
\ifx\@empty#3{#4\overwithdelims#1#2#5}\else
{#4\abovewithdelims#1#2#3\relax#5}\fi}
\def\dfrac#1#2{{\displaystyle{#1\over#2}}}
\def\tfrac#1#2{{\textstyle{#1\over#2}}}
\def\binom#1#2{{#1\choose#2}}
\def\dbinom#1#2{{\displaystyle{#1\choose#2}}}
\def\tbinom#1#2{{\textstyle{#1\choose#2}}}
\def\colon{\nobreak\mskip2mu\mathpunct{}\nonscript
\mkern-\thinmuskip{:}\mskip6muplus1mu\relax}
\let\slimits@\displaylimits
\DeclareMathSymbol\coprod@ {\mathop}{largesymbols}{"60}
\DeclareMathSymbol\bigvee@ {\mathop}{largesymbols}{"57}
\DeclareMathSymbol\bigwedge@ {\mathop}{largesymbols}{"56}
\DeclareMathSymbol\biguplus@ {\mathop}{largesymbols}{"55}
\DeclareMathSymbol\bigcap@ {\mathop}{largesymbols}{"54}
\DeclareMathSymbol\bigcup@ {\mathop}{largesymbols}{"53}
\DeclareMathSymbol\prod@ {\mathop}{largesymbols}{"51}
\DeclareMathSymbol\sum@ {\mathop}{largesymbols}{"50}
\DeclareMathSymbol\bigotimes@ {\mathop}{largesymbols}{"4E}
\DeclareMathSymbol\bigoplus@ {\mathop}{largesymbols}{"4C}
\DeclareMathSymbol\bigodot@ {\mathop}{largesymbols}{"4A}
\DeclareMathSymbol\bigsqcup@ {\mathop}{largesymbols}{"46}
\def\coprod{\DOTSB\coprod@\slimits@}
\def\bigvee{\DOTSB\bigvee@\slimits@}
\def\bigwedge{\DOTSB\bigwedge@\slimits@}
\def\biguplus{\DOTSB\biguplus@\slimits@}
\def\bigcap{\DOTSB\bigcap@\slimits@}
\def\bigcup{\DOTSB\bigcup@\slimits@}
\def\prod{\DOTSB\prod@\slimits@}
\def\sum{\DOTSB\sum@\slimits@}
\def\bigotimes{\DOTSB\bigotimes@\slimits@}
\def\bigoplus{\DOTSB\bigoplus@\slimits@}
\def\bigodot{\DOTSB\bigodot@\slimits@}
\def\bigsqcup{\DOTSB\bigsqcup@\slimits@}
\let\ilimits@\nolimits
\def\int{\DOTSI\intop\ilimits@}
\def\oint{\DOTSI\ointop\ilimits@}
\def\intic@{%
\mathchoice{\hskip.5em}{\hskip.4em}{\hskip.4em}{\hskip.4em}}
\def\negintic@{\mathchoice
{\hskip-.5em}{\hskip-.4em}{\hskip-.4em}{\hskip-.4em}}
\def\intkern@{\mathchoice{\!\!\!}{\!\!}{\!\!}{\!\!}}
\def\intdots@{\mathchoice{\@cdots}
{{\cdotp}\mkern1.5mu{\cdotp}\mkern1.5mu{\cdotp}}
{{\cdotp}\mkern1mu{\cdotp}\mkern1mu{\cdotp}}
{{\cdotp}\mkern1mu{\cdotp}\mkern1mu{\cdotp}}}
\newcount\intno@
\def\iint{\DOTSI\intno@\tw@\FN@\ints@}
\def\iiint{\DOTSI\intno@\thr@@\FN@\ints@}
\def\iiiint{\DOTSI\intno@4 \FN@\ints@}
\def\idotsint{\DOTSI\intno@\z@\FN@\ints@}
\def\ints@{\findlimits@\ints@@}
\newif\iflimtoken@
\newif\iflimits@
\def\findlimits@{\limtoken@true\ifx\next\limits\limits@true
\else\ifx\next\nolimits\limits@false\else
\limtoken@false\ifx\ilimits@\nolimits\limits@false\else
\ifinner\limits@false\else\limits@true\fi\fi\fi\fi}
\def\multint@{\int\ifnum\intno@=\z@\intdots@
\else\intkern@\fi
\ifnum\intno@>\tw@\int\intkern@\fi
\ifnum\intno@>\thr@@\int\intkern@\fi
\int}
\def\multintlimits@{\intop\ifnum\intno@=