% Adapted by Charles Karney (Karney%PPC.MFENET@NMFECC.ARPA) 1986/07/28.
% This style option loads up the AMS symbol fonts and associated symbol
% definitions.  See the Nov 85 issue of TUGBoat for a listing of these
% symbols.  Only \textfont, \scriptfont, and \scriptscriptfont sizes are
% provided.  10pt, 11pt, 12pt styles are supported.

\ifcase\@ptsize
 \font\tenzd=zd scaled \magstephalf
 \font\sevenzd=zd
 \font\fivezd=zd
\or
 \font\tenzd=zd scaled \magstep1
 \font\sevenzd=zd scaled \magstephalf
 \font\fivezd=zd
\or
 \font\tenzd=zd scaled \magstep2
 \font\sevenzd=zd scaled \magstep1
 \font\fivezd=zd scaled \magstephalf
\fi

\newfam\zapfdingfam
\textfont\zapfdingfam=\tenzd  \scriptfont\zapfdingfam=\sevenzd
  \scriptscriptfont\zapfdingfam=\fivezd

\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\zding@{\hexnumber@\zapfdingfam}
\mathchardef\overscissors="1\zding@21
\mathchardef\scissors="1\zding@22
\mathchardef\underscissors="1\zding@23
\mathchardef\outlinescissors="1\zding@24
\mathchardef\telephone="1\zding@25
\mathchardef\mabell="1\zding@26
\mathchardef\magtape="1\zding@27
\mathchardef\airplane="1\zding@28
\mathchardef\postoffice="1\zding@29
\mathchardef\blackhand="3\zding@2A
\mathchardef\whitehand="3\zding@2B
\mathchardef\victoryhand="1\zding@2C
\mathchardef\penhand="1\zding@2D
\mathchardef\drpencil="1\zding@2E
\mathchardef\rpencil="1\zding@2F
\mathchardef\urpencil="1\zding@30
\mathchardef\whitenib="1\zding@31
\mathchardef\blacknib="1\zding@32
\mathchardef\thincheckmark="1\zding@33
\mathchardef\thickcheckmark="1\zding@34
\mathchardef\thinx="1\zding@35
\mathchardef\thickx="1\zding@36
\mathchardef\thinscriptx="1\zding@37
\mathchardef\thickscriptx="1\zding@38
\mathchardef\outlineplus="1\zding@39
\mathchardef\thickplus="1\zding@3A
\mathchardef\thinplusdot="1\zding@3B
\mathchardef\thickplusdot="1\zding@3C
\mathchardef\thincross="1\zding@3D
\mathchardef\threedcross="1\zding@3E
\mathchardef\outlinecross="1\zding@3F
\mathchardef\lightmaltese="1\zding@40
\mathchardef\davidstar="1\zding@41
\mathchardef\roundcross="1\zding@42
\mathchardef\thinroundcross="1\zding@43
\mathchardef\thickroundcross="1\zding@44
\mathchardef\pointroundcross="1\zding@45
\mathchardef\starpoint="1\zding@46
\mathchardef\starpointoutline="1\zding@47
\mathchardef\blackstar="1\zding@48
\mathchardef\whitestar="1\zding@49
\mathchardef\circlewhitestar="1\zding@4A
\mathchardef\starwhitecircle="1\zding@4B
\mathchardef\starblackcircle="1\zding@4C
\mathchardef\outlinebigstar="1\zding@4D
\mathchardef\outlinesmallstar="1\zding@4E
\mathchardef\fancyfivepointstar="1\zding@4F
\mathchardef\threedstar="1\zding@50
\mathchardef\thickstar="1\zding@51
\mathchardef\thickstarcircle="1\zding@52
\mathchardef\thinsixpointstar="1\zding@53
\mathchardef\mediumsixpointstar="1\zding@54
\mathchardef\fancysixpointstar="1\zding@56
\mathchardef\mediumeightpointstar="1\zding@57
\mathchardef\thickeightpointstar="1\zding@59
\mathchardef\twelvepointstar="1\zding@5A
\mathchardef\thinroundstar="1\zding@5B
\mathchardef\roundstar="1\zding@5C
\mathchardef\thickroundstar="1\zding@5D
\mathchardef\altflower="1\zding@5E
\mathchardef\blackflower="1\zding@5F
\mathchardef\outlineflower="1\zding@60
\mathchardef\outlineblackflower="1\zding@61
\mathchardef\circlesun="1\zding@62
\mathchardef\roundsixpointstar="1\zding@63
\mathchardef\snowflake="1\zding@64
\mathchardef\fancysnowflake="1\zding@65
\mathchardef\thicksnowflake="1\zding@66
\mathchardef\thincrossplus="1\zding@67
\mathchardef\thickcrossplus="1\zding@68
\mathchardef\circlepointstar="1\zding@69
\mathchardef\thinstarcentercircle="1\zding@6A
\mathchardef\thickstarcentercircle="1\zding@6B
\mathchardef\blackcircle="1\zding@6C
\mathchardef\eclipsecircle="1\zding@6D
\mathchardef\blacksquare="1\zding@6E
\mathchardef\whiteboxup="1\zding@6F
\mathchardef\whiteboxdown="1\zding@70
\mathchardef\threedboxup="1\zding@71
\mathchardef\threedboxdown="1\zding@72
\mathchardef\upblacktriangle="1\zding@73
\mathchardef\downblacktriangle="1\zding@74
\mathchardef\blackdiamond="1\zding@75
\mathchardef\fourdiamonds="1\zding@76
\mathchardef\righthalfcircle="1\zding@77
\mathchardef\thinbar="1\zding@78
\mathchardef\mediumbar="1\zding@79
\mathchardef\thickbar="1\zding@7A
\mathchardef\blq="1\zding@7B
\mathchardef\brq="1\zding@7C
\mathchardef\blqq="1\zding@7D
\mathchardef\brqq="1\zding@7E

% Use the next 4 lines if NOT using AMS-TeX:
\def\Bbb{\ifmmode\let\next\Bbb@\else
 \def\next{\errmessage{Use \string\Bbb\space only in math mode}}\fi\next}
\def\Bbb@#1{{\Bbb@@{#1}}}
\def\Bbb@@#1{\fam\zapfdingfam#1}
