% This style file makes it possible to work with the AmS fonts
% in LaTeX
% calling sequence: \documentstyle[...,amsfonts,...]{....}
% Slightly modified from a version snarfed from LISTSERV at DHDURZ1
% One modification is that \Huge also uses the same sizes
% like the CMR family  of fonts.
% The other modification is using the command \@addto to
% modify the virtual font size definitions later used
% by ARTxx.STY or REPxx.STy or so on.
% I found \@addto in VDM.STY by Mario Wolcko.
% The advantage is that using this trick you can add
% different families of fonts to the existing LATEX fonts
% and the later style options do not remove font families added
% by previous style option.  SO you an add selectively
% e.g. the MSXMxx and MSYMxx families and later also
% the Euler Fraktur and the cyrillic fonts without anz changes
% in the style files. Without \@addto this is rather difficult
% to accomplish.
% Updates 11/20/1988 by E. Neuwirth (A4422DAB at AWIUNI11)
 
    \def\@addto#1#2{\ifx#1\undefined % do nothing
                \else    \toks0=\expandafter{#1}\toks1={#2}%
                \global\edef#1{\the\toks0 \the\toks1 }\fi}
 
\catcode`@=11
 
 \font\twtymsx=msxm10   \@magscale4
 \font\svtnmsx=msxm10   \@magscale3
 \font\frtnmsx=msxm10   \@magscale2
 \font\twelvemsx=msxm10 \@magscale1
 \font\elevenmsx=msxm10 \@halfmag
 \font\tenmsx=msxm10
 \font\ninemsx=msxm9
 \font\eightmsx=msxm8
 \font\sevenmsx=msxm7
 \font\sixmsx=msxm6
 \font\fivemsx=msxm5
 %
 \font\twtymsy=msym10      \@magscale4
 \font\svtnmsy=msym10      \@magscale3
 \font\frtnmsy=msym10      \@magscale2
 \font\twelvemsy=msym10    \@magscale1
 \font\elevenmsy=msym10    \@halfmag
 \font\tenmsy=msym10
 \font\ninemsy=msym9
 \font\eightmsy=msym8
 \font\sevenmsy=msym7
 \font\sixmsy=msym6
 \font\fivemsy=msym5
 
 
\newfam\msxfam
\newfam\msyfam
 
% Hier sind jetzt geaenderte LFONTS Definitionen (fuer LaTeX)
 
\@addto\@vpt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\fivemsx}\textfont\msxfam=\fivemsx
     \scriptfont\msxfam=\fivemsx \scriptscriptfont\msxfam=\fivemsx
\def\msy{\fam\msyfam\fivemsy}\textfont\msyfam=\fivemsy
     \scriptfont\msyfam=\fivemsy \scriptscriptfont\msyfam=\fivemsy
\@setstrut\rm}
 
 
\@addto\@vipt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\sixmsx}\textfont\msxfam=\sixmsx
     \scriptfont\msxfam=\sixmsx \scriptscriptfont\msxfam=\sixmsx
\def\msy{\fam\msyfam\sixmsy}\textfont\msyfam=\sixmsy
     \scriptfont\msyfam=\sixmsy \scriptscriptfont\msyfam=\sixmsy
\@setstrut\rm}
 
 
\@addto\@viipt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\sevenmsx}\textfont\msxfam=\sevenmsx
     \scriptfont\msxfam=\fivemsx \scriptscriptfont\msxfam=\fivemsx
\def\msy{\fam\msyfam\sevenmsy}\textfont\msyfam=\sevenmsy
     \scriptfont\msyfam=\fivemsy \scriptscriptfont\msyfam=\fivemsy
\@setstrut \rm}
 
 
\@addto\@viiipt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\eightmsx}\textfont\msxfam=\eightmsx
     \scriptfont\msxfam=\sixmsx \scriptscriptfont\msxfam=\fivemsx
\def\msy{\fam\msyfam\eightmsy}\textfont\msyfam=\eightmsy
     \scriptfont\msyfam=\sixmsy \scriptscriptfont\msyfam=\fivemsy
\@setstrut \rm}
 
 
\@addto\@ixpt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\ninemsx}\textfont\msxfam=\ninemsx
     \scriptfont\msxfam=\sixmsx \scriptscriptfont\msxfam=\fivemsx
\def\msy{\fam\msyfam\ninemsy}\textfont\msyfam=\ninemsy
     \scriptfont\msyfam=\sixmsy \scriptscriptfont\msyfam=\fivemsy
\@setstrut \rm}
 
 
\@addto\@xpt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\tenmsx}\textfont\msxfam=\tenmsx
    \scriptfont\msxfam=\sevenmsx \scriptscriptfont\msxfam=\fivemsx
\def\msy{\fam\msyfam\tenmsy}\textfont\msyfam=\tenmsy
    \scriptfont\msyfam=\sevenmsy \scriptscriptfont\msyfam=\fivemsy
\@setstrut \rm}
 
 
\@addto\@xipt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\elevenmsx}\textfont\msxfam=\elevenmsx
    \scriptfont\msxfam=\eightmsx \scriptscriptfont\msxfam=\sixmsx
\def\msy{\fam\msyfam\elevenmsy}\textfont\msyfam=\elevenmsy
    \scriptfont\msyfam=\eightmsy \scriptscriptfont\msyfam=\sixmsy
\@setstrut \rm}
 
 
\@addto\@xiipt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\twelvemsx}\textfont\msxfam=\twelvemsx
    \scriptfont\msxfam=\eightmsx \scriptscriptfont\msxfam=\sixmsx
\def\msy{\fam\msyfam\twelvemsy}\textfont\msyfam=\twelvemsy
    \scriptfont\msyfam=\eightmsy \scriptscriptfont\msyfam=\sixmsy
 \@setstrut \rm}
 
 
\@addto\@xivpt{\textfont\z@\frtnrm
% Hier AmS-Fonts
\def\msx{\fam\msxfam\frtnmsx}\textfont\msxfam=\frtnmsx
    \scriptfont\msxfam=\tenmsx \scriptscriptfont\msxfam=\sevenmsx
\def\msy{\fam\msyfam\frtnmsy}\textfont\msyfam=\frtnmsy
    \scriptfont\msyfam=\tenmsy \scriptscriptfont\msyfam=\sevenmsy
\@setstrut \rm}
 
 
\@addto\@xviipt{\textfont\z@\svtnrm
% Hier AmS-Fonts
\def\msx{\fam\msxfam\svtnmsx}\textfont\msxfam=\svtnmsx
    \scriptfont\msxfam=\twelvemsx \scriptscriptfont\msxfam=\tenmsx
\def\msy{\fam\msyfam\svtnmsy}\textfont\msyfam=\svtnmsy
    \scriptfont\msyfam=\twelvemsy \scriptscriptfont\msyfam=\tenmsy
\@setstrut \rm}
 
 
\@addto\@xxpt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\twtymsx}\textfont\msxfam=\twtymsx
    \scriptfont\msxfam=\frtnmsx \scriptscriptfont\msxfam=\twelvemsx
\def\msy{\fam\msyfam\twtymsy}\textfont\msyfam=\twtymsy
    \scriptfont\msyfam=\frtnmsy \scriptscriptfont\msyfam=\twelvemsy
\@setstrut \rm}
 
 
\@addto\@xxvpt{
% Hier AmS-Fonts
\def\msx{\fam\msxfam\twtymsx}\textfont\msxfam=\twtymsx
    \scriptfont\msxfam=\twtymsx \scriptscriptfont\msxfam=\svtnmsx
\def\msy{\fam\msyfam\twtymsy}\textfont\msyfam=\twtymsy
    \scriptfont\msyfam=\twtymsy \scriptscriptfont\msyfam=\svtnmsy
\@setstrut \rm}
 
 
%\def\text{\relaxnext@\ifmmode\let\next\text@\else\let\next\text@@\fi\next}
%\def\text@@#1{\leavevmode\hbox{#1}}
 
\def\relaxnext@{\let\next\relax}
 
\def\accentfam@{7}
\def\noaccents@{\def\accentfam@{0}}
 
\def\hexnumber@#1{\ifnum#1<10 \number#1\else
 \ifnum#1=10 A\else\ifnum#1=11 B\else\ifnum#1=12 C\else
 \ifnum#1=13 D\else\ifnum#1=14 E\else\ifnum#1=15 F\fi\fi\fi\fi\fi\fi\fi}
 
\def\mathhexbox@#1#2#3{\hbox{$\m@th\mathchar"#1#2#3$}}
 
\edef\msx@{\hexnumber@\msxfam}
\edef\msy@{\hexnumber@\msyfam}
 
\mathchardef\boxdot="2\msx@00
\mathchardef\boxplus="2\msx@01
\mathchardef\boxtimes="2\msx@02
\mathchardef\square="0\msx@03
\mathchardef\blacksquare="0\msx@04
\mathchardef\centerdot="2\msx@05
\mathchardef\lozenge="0\msx@06
\mathchardef\blacklozenge="0\msx@07
\mathchardef\circlearrowright="3\msx@08
\mathchardef\circlearrowleft="3\msx@09
\mathchardef\rightleftharpoons="3\msx@0A
\mathchardef\leftrightharpoons="3\msx@0B
\mathchardef\boxminus="2\msx@0C
\mathchardef\Vdash="3\msx@0D
\mathchardef\Vvdash="3\msx@0E
\mathchardef\vDash="3\msx@0F
\mathchardef\twoheadrightarrow="3\msx@10
\mathchardef\twoheadleftarrow="3\msx@11
\mathchardef\leftleftarrows="3\msx@12
\mathchardef\rightrightarrows="3\msx@13
\mathchardef\upuparrows="3\msx@14
\mathchardef\downdownarrows="3\msx@15
\mathchardef\upharpoonright="3\msx@16
\let\restriction\upharpoonright
\mathchardef\downharpoonright="3\msx@17
\mathchardef\upharpoonleft="3\msx@18
\mathchardef\downharpoonleft="3\msx@19
\mathchardef\rightarrowtail="3\msx@1A
\mathchardef\leftarrowtail="3\msx@1B
\mathchardef\leftrightarrows="3\msx@1C
\mathchardef\rightleftarrows="3\msx@1D
\mathchardef\Lsh="3\msx@1E
\mathchardef\Rsh="3\msx@1F
\mathchardef\rightsquigarrow="3\msx@20
\mathchardef\leftrightsquigarrow="3\msx@21
\mathchardef\looparrowleft="3\msx@22
\mathchardef\looparrowright="3\msx@23
\mathchardef\circeq="3\msx@24
\mathchardef\succsim="3\msx@25
\mathchardef\gtrsim="3\msx@26
\mathchardef\gtrapprox="3\msx@27
\mathchardef\multimap="3\msx@28
\mathchardef\therefore="3\msx@29
\mathchardef\because="3\msx@2A
\mathchardef\doteqdot="3\msx@2B
\let\Doteq\doteqdot
\mathchardef\triangleq="3\msx@2C
\mathchardef\precsim="3\msx@2D
\mathchardef\lesssim="3\msx@2E
\mathchardef\lessapprox="3\msx@2F
\mathchardef\eqslantless="3\msx@30
\mathchardef\eqslantgtr="3\msx@31
\mathchardef\curlyeqprec="3\msx@32
\mathchardef\curlyeqsucc="3\msx@33
\mathchardef\preccurlyeq="3\msx@34
\mathchardef\leqq="3\msx@35
\mathchardef\leqslant="3\msx@36
\mathchardef\lessgtr="3\msx@37
\mathchardef\backprime="0\msx@38
\mathchardef\risingdotseq="3\msx@3A
\mathchardef\fallingdotseq="3\msx@3B
\mathchardef\succcurlyeq="3\msx@3C
\mathchardef\geqq="3\msx@3D
\mathchardef\geqslant="3\msx@3E
\mathchardef\gtrless="3\msx@3F
\mathchardef\sqsubset="3\msx@40
\mathchardef\sqsupset="3\msx@41
\mathchardef\vartriangleright="3\msx@42
\mathchardef\vartriangleleft ="3\msx@43
\mathchardef\trianglerighteq="3\msx@44
\mathchardef\trianglelefteq="3\msx@45
\mathchardef\bigstar="0\msx@46
\mathchardef\between="3\msx@47
\mathchardef\blacktriangledown="0\msx@48
\mathchardef\blacktriangleright="3\msx@49
\mathchardef\blacktriangleleft="3\msx@4A
\mathchardef\vartriangle="0\msx@4D
\mathchardef\blacktriangle="0\msx@4E
\mathchardef\triangledown="0\msx@4F
\mathchardef\eqcirc="3\msx@50
\mathchardef\lesseqgtr="3\msx@51
\mathchardef\gtreqless="3\msx@52
\mathchardef\lesseqqgtr="3\msx@53
\mathchardef\gtreqqless="3\msx@54
\mathchardef\Rrightarrow="3\msx@56
\mathchardef\Lleftarrow="3\msx@57
\mathchardef\veebar="2\msx@59
\mathchardef\barwedge="2\msx@5A
\mathchardef\doublebarwedge="2\msx@5B
\mathchardef\angle="0\msx@5C
\mathchardef\measuredangle="0\msx@5D
\mathchardef\sphericalangle="0\msx@5E
\mathchardef\varpropto="3\msx@5F
\mathchardef\smallsmile="3\msx@60
\mathchardef\smallfrown="3\msx@61
\mathchardef\Subset="3\msx@62
\mathchardef\Supset="3\msx@63
\mathchardef\Cup="2\msx@64
\let\doublecup\Cup
\mathchardef\Cap="2\msx@65
\let\doublecap\Cap
\mathchardef\curlywedge="2\msx@66
\mathchardef\curlyvee="2\msx@67
\mathchardef\leftthreetimes="2\msx@68
\mathchardef\rightthreetimes="2\msx@69
\mathchardef\subseteqq="3\msx@6A
\mathchardef\supseteqq="3\msx@6B
\mathchardef\bumpeq="3\msx@6C
\mathchardef\Bumpeq="3\msx@6D
\mathchardef\lll="3\msx@6E
\let\llless\lll
\mathchardef\ggg="3\msx@6F
\let\gggtr\ggg
\mathchardef\circledS="0\msx@73
\mathchardef\pitchfork="3\msx@74
\mathchardef\dotplus="2\msx@75
\mathchardef\backsim="3\msx@76
\mathchardef\backsimeq="3\msx@77
\mathchardef\complement="0\msx@7B
\mathchardef\intercal="2\msx@7C
\mathchardef\circledcirc="2\msx@7D
\mathchardef\circledast="2\msx@7E
\mathchardef\circleddash="2\msx@7F
\def\ulcorner{\delimiter"4\msx@70\msx@70 }
\def\urcorner{\delimiter"5\msx@71\msx@71 }
\def\llcorner{\delimiter"4\msx@78\msx@78 }
\def\lrcorner{\delimiter"5\msx@79\msx@79 }
\def\yen{{\mathhexbox@\msx@55 }}
\def\checkmark{{\mathhexbox@\msx@58 }}
\def\circledR{{\mathhexbox@\msx@72 }}
\def\maltese{{\mathhexbox@\msx@7A }}
\mathchardef\lvertneqq="3\msy@00
\mathchardef\gvertneqq="3\msy@01
\mathchardef\nleq="3\msy@02
\mathchardef\ngeq="3\msy@03
\mathchardef\nless="3\msy@04
\mathchardef\ngtr="3\msy@05
\mathchardef\nprec="3\msy@06
\mathchardef\nsucc="3\msy@07
\mathchardef\lneqq="3\msy@08
\mathchardef\gneqq="3\msy@09
\mathchardef\nleqslant="3\msy@0A
\mathchardef\ngeqslant="3\msy@0B
\mathchardef\lneq="3\msy@0C
\mathchardef\gneq="3\msy@0D
\mathchardef\npreceq="3\msy@0E
\mathchardef\nsucceq="3\msy@0F
\mathchardef\precnsim="3\msy@10
\mathchardef\succnsim="3\msy@11
\mathchardef\lnsim="3\msy@12
\mathchardef\gnsim="3\msy@13
\mathchardef\nleqq="3\msy@14
\mathchardef\ngeqq="3\msy@15
\mathchardef\precneqq="3\msy@16
\mathchardef\succneqq="3\msy@17
\mathchardef\precnapprox="3\msy@18
\mathchardef\succnapprox="3\msy@19
\mathchardef\lnapprox="3\msy@1A
\mathchardef\gnapprox="3\msy@1B
\mathchardef\nsim="3\msy@1C
\mathchardef\napprox="3\msy@1D
\mathchardef\varsubsetneq="3\msy@20
\mathchardef\varsupsetneq="3\msy@21
\mathchardef\nsubseteqq="3\msy@22
\mathchardef\nsupseteqq="3\msy@23
\mathchardef\subsetneqq="3\msy@24
\mathchardef\supsetneqq="3\msy@25
\mathchardef\varsubsetneqq="3\msy@26
\mathchardef\varsupsetneqq="3\msy@27
\mathchardef\subsetneq="3\msy@28
\mathchardef\supsetneq="3\msy@29
\mathchardef\nsubseteq="3\msy@2A
\mathchardef\nsupseteq="3\msy@2B
\mathchardef\nparallel="3\msy@2C
\mathchardef\nmid="3\msy@2D
\mathchardef\nshortmid="3\msy@2E
\mathchardef\nshortparallel="3\msy@2F
\mathchardef\nvdash="3\msy@30
\mathchardef\nVdash="3\msy@31
\mathchardef\nvDash="3\msy@32
\mathchardef\nVDash="3\msy@33
\mathchardef\ntrianglerighteq="3\msy@34
\mathchardef\ntrianglelefteq="3\msy@35
\mathchardef\ntriangleleft="3\msy@36
\mathchardef\ntriangleright="3\msy@37
\mathchardef\nleftarrow="3\msy@38
\mathchardef\nrightarrow="3\msy@39
\mathchardef\nLeftarrow="3\msy@3A
\mathchardef\nRightarrow="3\msy@3B
\mathchardef\nLeftrightarrow="3\msy@3C
\mathchardef\nleftrightarrow="3\msy@3D
\mathchardef\divideontimes="2\msy@3E
\mathchardef\varnothing="0\msy@3F
\mathchardef\nexists="0\msy@40
\mathchardef\mho="0\msy@66
\mathchardef\eth="0\msy@67
\mathchardef\beth="0\msy@69
\mathchardef\gimel="0\msy@6A
\mathchardef\daleth="0\msy@6B
\mathchardef\lessdot="3\msy@6C
\mathchardef\gtrdot="3\msy@6D
\mathchardef\ltimes="2\msy@6E
\mathchardef\rtimes="2\msy@6F
\mathchardef\shortmid="3\msy@70
\mathchardef\shortparallel="3\msy@71
\mathchardef\smallsetminus="2\msy@72
\mathchardef\thicksim="3\msy@73
\mathchardef\thickapprox="3\msy@74
\mathchardef\approxeq="3\msy@75
\mathchardef\succapprox="3\msy@76
\mathchardef\precapprox="3\msy@77
\mathchardef\curvearrowleft="3\msy@78
\mathchardef\curvearrowright="3\msy@79
\mathchardef\digamma="0\msy@7A
\mathchardef\varkappa="0\msy@7B
\mathchardef\hslash="0\msy@7D
\mathchardef\hbar="0\msy@7E
\mathchardef\backepsilon="3\msy@7F
\def\Bbb{\relaxnext@\ifmmode\let\next\Bbb@\else
 \def\next{\Err@{Use \string\Bbb\space only in math mode}}\fi\next}
\def\Bbb@#1{{\Bbb@@{#1}}}
\def\Bbb@@#1{\noaccents@\fam\msyfam#1}
%\def\fontlist@{\\{\tenrm}\\{\sevenrm}\\{\fiverm}\\{\teni}\\{\seveni}%
%\\{\fivei}\\{\tensy}\\{\sevensy}\\{\fivesy}\\{\tenex}\\{\tenbf}\\{\sevenbf}%
%\\{\fivebf}\\{\tensl}\\{\tenit}%
% AmS-Fonts Anfang
%\\{\tenmsx}\\{\sevenmsx}\\{\fivemsx}\\{\tenmsy}\\{\sevenmsy}\\{\fivemsy }%
% AmS-Fonts Anfang
 
\def\AmSTeX{{$\cal A$}\kern-.1667em\lower.5ex\hbox
 {$\cal M$}\kern-.125em{$\cal S$}-\TeX}
 
\catcode`@=12 % at signs are no longer letters