Debian Codegraph @

texmf-dist/tex/latex/amsfonts/amsfonts.sty

raw
1 %%
2 %% This is file `amsfonts.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% amsfonts.dtx (with options: `sty')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright 2001, 2009, 2013 American Mathematical Society.
12 %%
13 %% American Mathematical Society
14 %% Technical Support
15 %% Publications Technical Group
16 %% 201 Charles Street
17 %% Providence, RI 02904
18 %% USA
19 %% tel: (401) 455-4080
20 %% (800) 321-4267 (USA and Canada only)
21 %% fax: (401) 331-3842
22 %% email: [email protected]
23 %%
24 %% Unlimited copying and redistribution of this file are permitted as
25 %% long as this file is not modified. Modifications, and distribution
26 %% of modified versions, are permitted, but only if the resulting file
27 %% is renamed.
28 %%
29 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
30 \ProvidesPackage{amsfonts}[2013/01/14 v3.01 Basic AMSFonts support]
31 \DeclareOption{psamsfonts}{%
32 \PackageWarningNoLine{amsfonts}{The 'psamsfonts' option is
33 obsolete in AMSFonts v3}
34 }
35 \ProcessOptions\relax
36 \DeclareFontShape{OMX}{cmex}{m}{n}{%
37 <-7.5>cmex7%
38 <7.5-8.5>cmex8%
39 <8.5-9.5>cmex9%
40 <9.5->cmex10%
41 }{}%
42
43 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
44
45 \def\cmex@opt{10}
46 \@ifpackageloaded{stix}{%
47 \def\ams@DeclareMathDelimiter#1#2#3#4#5#6{}%
48 \def\ams@DeclareMathSymbol#1#2#3#4{}%
49 }{%
50 \let\ams@DeclareMathDelimiter\DeclareMathDelimiter
51 \def\ams@DeclareMathSymbol#1#2#3#4{%
52 \global\let#1\undefined
53 \DeclareMathSymbol{#1}{#2}{#3}{#4}%
54 }%
55 }
56 \providecommand*{\@mathmeasure}[3]{%
57 \setbox#1\hbox{\frozen@everymath\@emptytoks\m@th$#2#3$}}
58 \@ifundefined{@emptytoks}{\csname newtoks\endcsname\@emptytoks}{}
59 \DeclareSymbolFont{AMSa}{U}{msa}{m}{n}
60 \DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
61 \@ifundefined{yen}{%
62 \edef\yen{\noexpand\mathhexbox{\hexnumber@\symAMSa}55}
63 }{}
64 \@ifundefined{checkmark}{%
65 \edef\checkmark{\noexpand\mathhexbox{\hexnumber@\symAMSa}58}
66 }{}
67 \@ifundefined{circledR}{%
68 \edef\circledR{\noexpand\mathhexbox{\hexnumber@\symAMSa}72}
69 }{}
70 \@ifundefined{maltese}{%
71 \edef\maltese{\noexpand\mathhexbox{\hexnumber@\symAMSa}7A}
72 }{}
73 \begingroup \catcode`\"=12
74 \ams@DeclareMathDelimiter{\ulcorner}{\mathopen} {AMSa}{"70}{AMSa}{"70}
75 \ams@DeclareMathDelimiter{\urcorner}{\mathclose}{AMSa}{"71}{AMSa}{"71}
76 \ams@DeclareMathDelimiter{\llcorner}{\mathopen} {AMSa}{"78}{AMSa}{"78}
77 \ams@DeclareMathDelimiter{\lrcorner}{\mathclose}{AMSa}{"79}{AMSa}{"79}
78 \@ifpackageloaded{stix}{}{%
79 \xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}%
80 \noexpand\ifdim\noexpand\wd\z@>\tw@ em%
81 \mathaccent"0\hexnumber@\symAMSb 5B{#1}%
82 \noexpand\else\mathaccent"0362{#1}\noexpand\fi}
83 \xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}%
84 \noexpand\ifdim\noexpand\wd\z@>\tw@ em%
85 \mathaccent"0\hexnumber@\symAMSb 5D{#1}%
86 \noexpand\else\mathaccent"0365{#1}\noexpand\fi}
87 }
88 \@ifpackageloaded{stix}{}{%
89 \DeclareMathSymbol{\dabar@}{\mathord}{AMSa}{"39}
90 \xdef\dashrightarrow{\mathrel{\dabar@\dabar@
91 \mathchar"0\hexnumber@\symAMSa 4B}}%
92 \xdef\dashleftarrow{\mathrel{\mathchar"0\hexnumber@\symAMSa 4C\dabar@
93 \dabar@}}%
94 \global\let\dasharrow\dashrightarrow
95 }
96 \ams@DeclareMathSymbol{\rightleftharpoons}{\mathrel}{AMSa}{"0A}
97 \ams@DeclareMathSymbol{\angle} {\mathord}{AMSa}{"5C}
98 \ams@DeclareMathSymbol{\hbar} {\mathord}{AMSb}{"7E}
99 \ams@DeclareMathSymbol{\sqsubset} {\mathrel}{AMSa}{"40}
100 \ams@DeclareMathSymbol{\sqsupset} {\mathrel}{AMSa}{"41}
101 \ams@DeclareMathSymbol{\mho} {\mathord}{AMSb}{"66}
102 \endgroup
103 \@ifundefined{mathfrak}{%
104 \DeclareMathAlphabet{\mathfrak}{U}{euf}{m}{n}
105 \SetMathAlphabet{\mathfrak}{bold}{U}{euf}{b}{n}
106 }{}
107 \@ifundefined{mathbb}{%
108 \DeclareSymbolFontAlphabet{\mathbb}{AMSb}%
109 }{}
110 \DeclareFontEncodingDefaults{\relax}{\def\accentclass@{7}}
111 \DeclareRobustCommand{\frak}[1]{%
112 {\@subst@obsolete{amsfonts}\frak\mathfrak{#1}}}
113 \DeclareRobustCommand{\Bbb}[1]{%
114 {\@subst@obsolete{amsfonts}\Bbb\mathbb{#1}}}
115 \DeclareRobustCommand{\bold}[1]{%
116 {\@subst@obsolete{amsfonts}\bold\mathbf{#1}}}
117 \begingroup \catcode`\"=12 \relax
118 \gdef\newsymbol#1#2#3#4#5{%
119 \@obsolete{amsfonts}\newsymbol\DeclareMathSymbol
120 \@ifdefinable#1{%
121 \edef\next@
122 {\ifcase #2 \or
123 \hexnumber@\symAMSa\or
124 \hexnumber@\symAMSb\fi}%
125 \ifx\next@\@empty
126 \PackageError{amsfonts}{\Invalid@@\newsymbol}\@ehd%
127 \else
128 \global\mathchardef#1"#3\next@#4#5
129 \fi}}
130 \endgroup
131 \long\def\@gobblethree#1#2#3{}
132 \if@compatibility
133 \let\@obsolete\@gobblethree
134 \else
135 \def\@obsolete#1#2#3{\PackageWarning{#1}{%
136 Obsolete command \protect#2; \protect#3 should be used instead}}%
137 \fi
138 \def\@subst@obsolete#1#2#3{\@obsolete{#1}#2#3\gdef#2{#3}#2}
139 \@ifpackageloaded{stix}{\endinput}{}
140 \begingroup \catcode`\"=12
141 \DeclareMathSymbol{\square} {\mathord}{AMSa}{"03}
142 \DeclareMathSymbol{\lozenge} {\mathord}{AMSa}{"06}
143 \ams@DeclareMathSymbol{\vartriangleright} {\mathrel}{AMSa}{"42}
144 \ams@DeclareMathSymbol{\vartriangleleft} {\mathrel}{AMSa}{"43}
145 \ams@DeclareMathSymbol{\trianglerighteq} {\mathrel}{AMSa}{"44}
146 \ams@DeclareMathSymbol{\trianglelefteq} {\mathrel}{AMSa}{"45}
147 \ams@DeclareMathSymbol{\rightsquigarrow} {\mathrel}{AMSa}{"20}
148 \@ifpackageloaded{latexsym}{\@tempswafalse}{\@tempswatrue}
149 \if@tempswa
150 \global\let\Box\square
151 \global\let\Diamond\lozenge
152 \global\let\leadsto\rightsquigarrow
153 \global\let\lhd\@@undefined
154 \global\let\unlhd\@@undefined
155 \global\let\rhd\@@undefined
156 \global\let\unrhd\@@undefined
157 \DeclareMathSymbol{\lhd} {\mathbin}{AMSa}{"43}
158 \DeclareMathSymbol{\unlhd} {\mathbin}{AMSa}{"45}
159 \DeclareMathSymbol{\rhd} {\mathbin}{AMSa}{"42}
160 \DeclareMathSymbol{\unrhd} {\mathbin}{AMSa}{"44}
161 \xdef\Join{\mathrel{\mathchar"0\hexnumber@\symAMSb 6F\mkern-13.8mu%
162 \mathchar"0\hexnumber@\symAMSb 6E}}
163 \fi
164 \endgroup
165 \endinput
166 %%
167 %% End of file `amsfonts.sty'.