2 %% This is file `amsfonts.sty',
3 %% generated with the docstrip utility.
5 %% The original source files were:
9 %%% ====================================================================
11 %%% filename = "amsfonts.dtx",
13 %%% date = "2001/10/25",
14 %%% time = "11:51:34 EDT",
15 %%% checksum = "12894 459 2125 19071",
16 %%% author = "American Mathematical Society",
17 %%% copyright = "Copyright 2001 American Mathematical Society,
18 %%% all rights reserved. Copying of this file is
19 %%% authorized only if either:
20 %%% (1) you make absolutely no changes to your copy,
21 %%% including name; OR
22 %%% (2) if you do make changes, you first rename it
23 %%% to some other name.",
24 %%% address = "American Mathematical Society,
25 %%% Technical Support,
26 %%% Publications Technical Group,
28 %%% Providence, RI 02940,
30 %%% telephone = "401-455-4080 or (in the USA and Canada)
31 %%% 800-321-4AMS (321-4267)",
32 %%% FAX = "401-331-3842",
33 %%% email = "tech-support@ams.org (Internet)",
34 %%% codetable = "ISO/ASCII",
35 %%% keywords = "latex, amslatex, ams-latex, amsfonts, msam,
36 %%% msbm, eufm, blackboard bold",
37 %%% supported = "yes",
38 %%% abstract = "This file is part of the AMSFonts distribution.
39 %%% It provides easy access in \LaTeXe{} to certain
40 %%% math fonts for extra math symbols, fraktur
41 %%% letters, and blackboard bold letters. See the
42 %%% AMSFonts user's guide for more information.",
43 %%% docstring = "The checksum field above contains a CRC-16
44 %%% checksum as the first value, followed by the
45 %%% equivalent of the standard UNIX wc (word
46 %%% count) utility output of lines, words, and
47 %%% characters. This is produced by Robert
48 %%% Solovay's checksum utility.",
50 %%% ====================================================================
51 \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
52 [1994/12/01]% LaTeX date must be December 1994 or later
53 \ProvidesPackage{amsfonts}[2001/10/25 v2.2f]
54 \DeclareOption{psamsfonts}{%
55 \ifnum\cmex@opt=7 \def\cmex@opt{10}%
56 \else \def\cmex@opt{0}\fi
57 \DeclareFontFamily{U}{msa}{}%
58 \DeclareFontShape{U}{msa}{m}{n}{<-6>msam5<6-8>msam7<8->msam10}{}%
59 \DeclareFontFamily{U}{msb}{}%
60 \DeclareFontShape{U}{msb}{m}{n}{<-6>msbm5<6-8>msbm7<8->msbm10}{}%
61 \DeclareFontFamily{U}{euf}{}%
62 \DeclareFontShape{U}{euf}{m}{n}{<-6>eufm5<6-8>eufm7<8->eufm10}{}%
63 \DeclareFontShape{U}{euf}{b}{n}{<-6>eufb5<6-8>eufb7<8->eufb10}{}%
65 \@ifundefined{cmex@opt}{\def\cmex@opt{1}}{}
67 \ifnum\cmex@opt=1 \relax
68 \DeclareFontShape{OMX}{cmex}{m}{n}{<-8>cmex7<8>cmex8<9>cmex9%
69 <10><10.95><12><14.4><17.28><20.74><24.88>cmex10}{}%
70 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
72 \ifnum\cmex@opt=10 % need to override cmex7 fontdef from amsmath
74 \expandafter\let\csname OMX+cmex\endcsname\relax
75 \fontencoding{OMX}\fontfamily{cmex}%
78 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
82 \providecommand*{\@mathmeasure}[3]{%
83 \setbox#1\hbox{\frozen@everymath\@emptytoks\m@th$#2#3$}}
84 \@ifundefined{@emptytoks}{\csname newtoks\endcsname\@emptytoks}{}
85 \DeclareSymbolFont{AMSa}{U}{msa}{m}{n}
86 \DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
88 \edef\yen{\noexpand\mathhexbox{\hexnumber@\symAMSa}55}
90 \@ifundefined{checkmark}{%
91 \edef\checkmark{\noexpand\mathhexbox{\hexnumber@\symAMSa}58}
93 \@ifundefined{circledR}{%
94 \edef\circledR{\noexpand\mathhexbox{\hexnumber@\symAMSa}72}
96 \@ifundefined{maltese}{%
97 \edef\maltese{\noexpand\mathhexbox{\hexnumber@\symAMSa}7A}
99 \begingroup \catcode`\"=12
100 \DeclareMathDelimiter{\ulcorner}{\mathopen} {AMSa}{"70}{AMSa}{"70}
101 \DeclareMathDelimiter{\urcorner}{\mathclose}{AMSa}{"71}{AMSa}{"71}
102 \DeclareMathDelimiter{\llcorner}{\mathopen} {AMSa}{"78}{AMSa}{"78}
103 \DeclareMathDelimiter{\lrcorner}{\mathclose}{AMSa}{"79}{AMSa}{"79}
104 \xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}%
105 \noexpand\ifdim\noexpand\wd\z@>\tw@ em%
106 \mathaccent"0\hexnumber@\symAMSb 5B{#1}%
107 \noexpand\else\mathaccent"0362{#1}\noexpand\fi}
108 \xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}%
109 \noexpand\ifdim\noexpand\wd\z@>\tw@ em%
110 \mathaccent"0\hexnumber@\symAMSb 5D{#1}%
111 \noexpand\else\mathaccent"0365{#1}\noexpand\fi}
112 \DeclareMathSymbol{\dabar@}{\mathord}{AMSa}{"39}
113 \xdef\dashrightarrow{\mathrel{\dabar@\dabar@
114 \mathchar"0\hexnumber@\symAMSa 4B}}%
115 \xdef\dashleftarrow{\mathrel{\mathchar"0\hexnumber@\symAMSa 4C\dabar@
117 \global\let\dasharrow\dashrightarrow
118 \global\let\rightleftharpoons\undefined
119 \DeclareMathSymbol{\rightleftharpoons}{\mathrel}{AMSa}{"0A}
120 \global\let\angle\undefined
121 \DeclareMathSymbol{\angle} {\mathord}{AMSa}{"5C}
122 \global\let\hbar\undefined
123 \DeclareMathSymbol{\hbar} {\mathord}{AMSb}{"7E}
124 \global\let\sqsubset\undefined
125 \DeclareMathSymbol{\sqsubset} {\mathrel}{AMSa}{"40}
126 \global\let\sqsupset\undefined
127 \DeclareMathSymbol{\sqsupset} {\mathrel}{AMSa}{"41}
128 \global\let\mho\undefined
129 \DeclareMathSymbol{\mho} {\mathord}{AMSb}{"66}
131 \DeclareMathAlphabet{\mathfrak}{U}{euf}{m}{n}
132 \SetMathAlphabet{\mathfrak}{bold}{U}{euf}{b}{n}
133 \DeclareSymbolFontAlphabet{\mathbb}{AMSb}
134 \DeclareFontEncodingDefaults{\relax}{\def\accentclass@{7}}
135 \DeclareRobustCommand{\frak}[1]{%
136 {\@subst@obsolete{amsfonts}\frak\mathfrak{#1}}}
137 \DeclareRobustCommand{\Bbb}[1]{%
138 {\@subst@obsolete{amsfonts}\Bbb\mathbb{#1}}}
139 \DeclareRobustCommand{\bold}[1]{%
140 {\@subst@obsolete{amsfonts}\bold\mathbf{#1}}}
141 \begingroup \catcode`\"=12 \relax
142 \gdef\newsymbol#1#2#3#4#5{%
143 \@obsolete{amsfonts}\newsymbol\DeclareMathSymbol
147 \hexnumber@\symAMSa\or
148 \hexnumber@\symAMSb\fi}%
150 \PackageError{amsfonts}{\Invalid@@\newsymbol}\@ehd%
152 \global\mathchardef#1"#3\next@#4#5
155 \long\def\@gobblethree#1#2#3{}
157 \let\@obsolete\@gobblethree
159 \def\@obsolete#1#2#3{\PackageWarning{#1}{%
160 Obsolete command \protect#2; \protect#3 should be used instead}}%
162 \def\@subst@obsolete#1#2#3{\@obsolete{#1}#2#3\gdef#2{#3}#2}
163 \begingroup \catcode`\"=12
164 \DeclareMathSymbol{\square} {\mathord}{AMSa}{"03}
165 \DeclareMathSymbol{\lozenge} {\mathord}{AMSa}{"06}
166 \DeclareMathSymbol{\vartriangleright} {\mathrel}{AMSa}{"42}
167 \DeclareMathSymbol{\vartriangleleft} {\mathrel}{AMSa}{"43}
168 \DeclareMathSymbol{\trianglerighteq} {\mathrel}{AMSa}{"44}
169 \DeclareMathSymbol{\trianglelefteq} {\mathrel}{AMSa}{"45}
170 \DeclareMathSymbol{\rightsquigarrow} {\mathrel}{AMSa}{"20}
171 \@ifpackageloaded{latexsym}{\@tempswafalse}{\@tempswatrue}
173 \global\let\Box\square
174 \global\let\Diamond\lozenge
175 \global\let\leadsto\rightsquigarrow
176 \global\let\lhd\@@undefined
177 \global\let\unlhd\@@undefined
178 \global\let\rhd\@@undefined
179 \global\let\unrhd\@@undefined
180 \DeclareMathSymbol{\lhd} {\mathbin}{AMSa}{"43}
181 \DeclareMathSymbol{\unlhd} {\mathbin}{AMSa}{"45}
182 \DeclareMathSymbol{\rhd} {\mathbin}{AMSa}{"42}
183 \DeclareMathSymbol{\unrhd} {\mathbin}{AMSa}{"44}
184 \xdef\Join{\mathrel{\mathchar"0\hexnumber@\symAMSb 6F\mkern-13.8mu%
185 \mathchar"0\hexnumber@\symAMSb 6E}}
190 %% End of file `amsfonts.sty'.