%% amstext.sty, temporary patch version 1.1x, 10-Mar-1994
%% American Mathematical Society, Technical Support Department,
%%   P. O. Box 6248, Providence, RI 02940, USA
%% 401-455-4080, 800-321-4AMS
%% tech-support@math.ams.org
%%
\expandafter\ifx\csname ds@amstext\endcsname\relax
\global\let\ds@amstext\@empty
\else\message{---already loaded}\endinput\fi
\def\filename{amstext.sty}
\def\fileversion{1.1x} \def\filedate{10-Mar-1994}
\immediate\write16{%
AMS-LaTeX option `\filename' (\fileversion, \filedate)}
\begingroup \newlinechar`\/
\errhelp{/%
Options:/%
1. Ask the person who installed LaTeX on your system for more help./%
2. If you installed LaTeX yourself, ask for help from the company/%
   from which you bought LaTeX./%
3. If you obtained LaTeX from a noncommercial source, consult the/%
   installation documentation./%
4. Try contacting one of the TeX user groups listed in your TeX/%
   system documentation./}
\expandafter\ifx\csname renewenvironment\endcsname\relax
\errmessage{%
  Non-LaTeX format file; amstext.sty can only be used with LaTeX./%
! Enter h if you need more information%
}
\fi
\expandafter\ifx\csname extract@font\endcsname\relax
\errmessage{%
  The style option `amstex' requires NFSS, which is not present in/%
! the current LaTeX format file. Enter h if you need more information%
}
\aftergroup\stop
\fi
\endgroup
%%% end of file header
\def\RIfM@{\relax\protect\ifmmode}
\def\text{\RIfM@\expandafter\text@\else\expandafter\mbox\fi}
\let\nfss@text\text
\def\text@#1{\mathchoice
   {\textdef@\displaystyle\f@size{#1}}%
   {\textdef@\textstyle\tf@size{\firstchoice@false #1}}%
   {\textdef@\textstyle\sf@size{\firstchoice@false #1}}%
   {\textdef@\textstyle \ssf@size{\firstchoice@false #1}}%
   \glb@settings}

\def\textdef@#1#2#3{\hbox{{%
                    \everymath{#1}%
                    \let\f@size#2\selectfont
                    #3}}}
\newif\iffirstchoice@
\firstchoice@true
\def\stepcounter#1{%
  \iffirstchoice@
     \global\expandafter\advance\csname c@#1\endcsname \@ne
     \begingroup
         \let\@elt\@stpelt
         \csname cl@#1\endcsname
     \endgroup
  \fi}
\def\ref#1{\@ifundefined{r@#1}%
         {{\bf ??}%
          \iffirstchoice@
             \@warning
                {Reference `#1' on page \thepage\space undefined}%
          \fi}%
         {\expandafter\expandafter\expandafter
          \@car \csname r@#1\endcsname \@nil\null}}
\def\pageref#1{\@ifundefined{r@#1}{{\bf ??}%
   \iffirstchoice@ \@warning
       {Reference `#1' on page \thepage \space
    undefined}\fi}{\expandafter\expandafter\expandafter
                   \@cdr\csname r@#1\endcsname\@nil\null}}
\def\@wrindex#1{\iffirstchoice@\let\thepage\relax
   \xdef\@gtempa{\write\@indexfile{\string
      \indexentry{#1}{\thepage}}}\endgroup\@gtempa
   \if@nobreak \ifvmode\nobreak\fi\fi\fi\@esphack}

\def\@wrglossary#1{\iffirstchoice@\let\thepage\relax
   \xdef\@gtempa{\write\@glossaryfile{\string
      \glossaryentry{#1}{\thepage}}}\endgroup\@gtempa
   \if@nobreak \ifvmode\nobreak\fi\fi\fi\@esphack}
\def\label#1{\@bsphack\iffirstchoice@\if@filesw {\let\thepage\relax
   \def\protect{\noexpand\noexpand\noexpand}%
\xdef\@gtempa{\write\@auxout{\string
      \newlabel{#1}{{\@currentlabel}{\thepage}}}}}\@gtempa
   \if@nobreak \ifvmode\nobreak\fi\fi\fi\fi\@esphack}
\def\mathhexbox#1#2#3{\text{$\m@th\mathchar"#1#2#3$}}
%% \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         \~}
\endinput
%% 
%% End of file `amstext.sty'.
