diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:51:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:51:21 +0000 |
commit | f8ca76634d8484b3c81c5bffd50a918a9cb0b490 (patch) | |
tree | 4ebc7b06cb52e7313988f199f2d07d986f072b25 /Master/texmf-dist/tex/latex/amsfonts/amsfonts.sty | |
parent | 16f389f73fa6306e91c612b0bc226e90d841c1c6 (diff) |
amsfonts
git-svn-id: svn://tug.org/texlive/trunk@661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/amsfonts/amsfonts.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/amsfonts/amsfonts.sty | 190 |
1 files changed, 190 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/amsfonts/amsfonts.sty b/Master/texmf-dist/tex/latex/amsfonts/amsfonts.sty new file mode 100644 index 00000000000..50e334cee81 --- /dev/null +++ b/Master/texmf-dist/tex/latex/amsfonts/amsfonts.sty @@ -0,0 +1,190 @@ +%% +%% This is file `amsfonts.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% amsfonts.dtx +%% +%%% ==================================================================== +%%% @LaTeX-file{ +%%% filename = "amsfonts.dtx", +%%% version = "2.2f", +%%% date = "2001/10/25", +%%% time = "11:51:34 EDT", +%%% checksum = "12894 459 2125 19071", +%%% author = "American Mathematical Society", +%%% copyright = "Copyright 2001 American Mathematical Society, +%%% all rights reserved. Copying of this file is +%%% authorized only if either: +%%% (1) you make absolutely no changes to your copy, +%%% including name; OR +%%% (2) if you do make changes, you first rename it +%%% to some other name.", +%%% address = "American Mathematical Society, +%%% Technical Support, +%%% Publications Technical Group, +%%% P. O. Box 6248, +%%% Providence, RI 02940, +%%% USA", +%%% telephone = "401-455-4080 or (in the USA and Canada) +%%% 800-321-4AMS (321-4267)", +%%% FAX = "401-331-3842", +%%% email = "tech-support@ams.org (Internet)", +%%% codetable = "ISO/ASCII", +%%% keywords = "latex, amslatex, ams-latex, amsfonts, msam, +%%% msbm, eufm, blackboard bold", +%%% supported = "yes", +%%% abstract = "This file is part of the AMSFonts distribution. +%%% It provides easy access in \LaTeXe{} to certain +%%% math fonts for extra math symbols, fraktur +%%% letters, and blackboard bold letters. See the +%%% AMSFonts user's guide for more information.", +%%% docstring = "The checksum field above contains a CRC-16 +%%% checksum as the first value, followed by the +%%% equivalent of the standard UNIX wc (word +%%% count) utility output of lines, words, and +%%% characters. This is produced by Robert +%%% Solovay's checksum utility.", +%%% } +%%% ==================================================================== +\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) +[1994/12/01]% LaTeX date must be December 1994 or later +\ProvidesPackage{amsfonts}[2001/10/25 v2.2f] +\DeclareOption{psamsfonts}{% + \ifnum\cmex@opt=7 \def\cmex@opt{10}% + \else \def\cmex@opt{0}\fi + \DeclareFontFamily{U}{msa}{}% + \DeclareFontShape{U}{msa}{m}{n}{<-6>msam5<6-8>msam7<8->msam10}{}% + \DeclareFontFamily{U}{msb}{}% + \DeclareFontShape{U}{msb}{m}{n}{<-6>msbm5<6-8>msbm7<8->msbm10}{}% + \DeclareFontFamily{U}{euf}{}% + \DeclareFontShape{U}{euf}{m}{n}{<-6>eufm5<6-8>eufm7<8->eufm10}{}% + \DeclareFontShape{U}{euf}{b}{n}{<-6>eufb5<6-8>eufb7<8->eufb10}{}% +} +\@ifundefined{cmex@opt}{\def\cmex@opt{1}}{} +\ProcessOptions\relax +\ifnum\cmex@opt=1 \relax + \DeclareFontShape{OMX}{cmex}{m}{n}{<-8>cmex7<8>cmex8<9>cmex9% + <10><10.95><12><14.4><17.28><20.74><24.88>cmex10}{}% + \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax +\else + \ifnum\cmex@opt=10 % need to override cmex7 fontdef from amsmath + \begingroup + \expandafter\let\csname OMX+cmex\endcsname\relax + \fontencoding{OMX}\fontfamily{cmex}% + \try@load@fontshape + \endgroup + \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax + \def\cmex@opt{0}% + \fi +\fi +\providecommand*{\@mathmeasure}[3]{% + \setbox#1\hbox{\frozen@everymath\@emptytoks\m@th$#2#3$}} +\@ifundefined{@emptytoks}{\csname newtoks\endcsname\@emptytoks}{} +\DeclareSymbolFont{AMSa}{U}{msa}{m}{n} +\DeclareSymbolFont{AMSb}{U}{msb}{m}{n} +\@ifundefined{yen}{% + \edef\yen{\noexpand\mathhexbox{\hexnumber@\symAMSa}55} +}{} +\@ifundefined{checkmark}{% + \edef\checkmark{\noexpand\mathhexbox{\hexnumber@\symAMSa}58} +}{} +\@ifundefined{circledR}{% + \edef\circledR{\noexpand\mathhexbox{\hexnumber@\symAMSa}72} +}{} +\@ifundefined{maltese}{% + \edef\maltese{\noexpand\mathhexbox{\hexnumber@\symAMSa}7A} +}{} +\begingroup \catcode`\"=12 +\DeclareMathDelimiter{\ulcorner}{\mathopen} {AMSa}{"70}{AMSa}{"70} +\DeclareMathDelimiter{\urcorner}{\mathclose}{AMSa}{"71}{AMSa}{"71} +\DeclareMathDelimiter{\llcorner}{\mathopen} {AMSa}{"78}{AMSa}{"78} +\DeclareMathDelimiter{\lrcorner}{\mathclose}{AMSa}{"79}{AMSa}{"79} +\xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}% + \noexpand\ifdim\noexpand\wd\z@>\tw@ em% + \mathaccent"0\hexnumber@\symAMSb 5B{#1}% + \noexpand\else\mathaccent"0362{#1}\noexpand\fi} +\xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}% + \noexpand\ifdim\noexpand\wd\z@>\tw@ em% + \mathaccent"0\hexnumber@\symAMSb 5D{#1}% + \noexpand\else\mathaccent"0365{#1}\noexpand\fi} +\DeclareMathSymbol{\dabar@}{\mathord}{AMSa}{"39} +\xdef\dashrightarrow{\mathrel{\dabar@\dabar@ + \mathchar"0\hexnumber@\symAMSa 4B}}% +\xdef\dashleftarrow{\mathrel{\mathchar"0\hexnumber@\symAMSa 4C\dabar@ + \dabar@}}% +\global\let\dasharrow\dashrightarrow +\global\let\rightleftharpoons\undefined +\DeclareMathSymbol{\rightleftharpoons}{\mathrel}{AMSa}{"0A} +\global\let\angle\undefined +\DeclareMathSymbol{\angle} {\mathord}{AMSa}{"5C} +\global\let\hbar\undefined +\DeclareMathSymbol{\hbar} {\mathord}{AMSb}{"7E} +\global\let\sqsubset\undefined +\DeclareMathSymbol{\sqsubset} {\mathrel}{AMSa}{"40} +\global\let\sqsupset\undefined +\DeclareMathSymbol{\sqsupset} {\mathrel}{AMSa}{"41} +\global\let\mho\undefined +\DeclareMathSymbol{\mho} {\mathord}{AMSb}{"66} +\endgroup +\DeclareMathAlphabet{\mathfrak}{U}{euf}{m}{n} +\SetMathAlphabet{\mathfrak}{bold}{U}{euf}{b}{n} +\DeclareSymbolFontAlphabet{\mathbb}{AMSb} +\DeclareFontEncodingDefaults{\relax}{\def\accentclass@{7}} +\DeclareRobustCommand{\frak}[1]{% + {\@subst@obsolete{amsfonts}\frak\mathfrak{#1}}} +\DeclareRobustCommand{\Bbb}[1]{% + {\@subst@obsolete{amsfonts}\Bbb\mathbb{#1}}} +\DeclareRobustCommand{\bold}[1]{% + {\@subst@obsolete{amsfonts}\bold\mathbf{#1}}} +\begingroup \catcode`\"=12 \relax +\gdef\newsymbol#1#2#3#4#5{% + \@obsolete{amsfonts}\newsymbol\DeclareMathSymbol + \@ifdefinable#1{% + \edef\next@ + {\ifcase #2 \or + \hexnumber@\symAMSa\or + \hexnumber@\symAMSb\fi}% + \ifx\next@\@empty + \PackageError{amsfonts}{\Invalid@@\newsymbol}\@ehd% + \else + \global\mathchardef#1"#3\next@#4#5 + \fi}} +\endgroup +\long\def\@gobblethree#1#2#3{} +\if@compatibility + \let\@obsolete\@gobblethree +\else + \def\@obsolete#1#2#3{\PackageWarning{#1}{% + Obsolete command \protect#2; \protect#3 should be used instead}}% +\fi +\def\@subst@obsolete#1#2#3{\@obsolete{#1}#2#3\gdef#2{#3}#2} +\begingroup \catcode`\"=12 +\DeclareMathSymbol{\square} {\mathord}{AMSa}{"03} +\DeclareMathSymbol{\lozenge} {\mathord}{AMSa}{"06} +\DeclareMathSymbol{\vartriangleright} {\mathrel}{AMSa}{"42} +\DeclareMathSymbol{\vartriangleleft} {\mathrel}{AMSa}{"43} +\DeclareMathSymbol{\trianglerighteq} {\mathrel}{AMSa}{"44} +\DeclareMathSymbol{\trianglelefteq} {\mathrel}{AMSa}{"45} +\DeclareMathSymbol{\rightsquigarrow} {\mathrel}{AMSa}{"20} +\@ifpackageloaded{latexsym}{\@tempswafalse}{\@tempswatrue} +\if@tempswa + \global\let\Box\square + \global\let\Diamond\lozenge + \global\let\leadsto\rightsquigarrow + \global\let\lhd\@@undefined + \global\let\unlhd\@@undefined + \global\let\rhd\@@undefined + \global\let\unrhd\@@undefined + \DeclareMathSymbol{\lhd} {\mathbin}{AMSa}{"43} + \DeclareMathSymbol{\unlhd} {\mathbin}{AMSa}{"45} + \DeclareMathSymbol{\rhd} {\mathbin}{AMSa}{"42} + \DeclareMathSymbol{\unrhd} {\mathbin}{AMSa}{"44} +\xdef\Join{\mathrel{\mathchar"0\hexnumber@\symAMSb 6F\mkern-13.8mu% + \mathchar"0\hexnumber@\symAMSb 6E}} +\fi +\endgroup +\endinput +%% +%% End of file `amsfonts.sty'. |