summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mathalfa
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-18 23:12:21 +0000
committerKarl Berry <karl@freefriends.org>2011-08-18 23:12:21 +0000
commit9e6c3db576f3908b80eb70d378aca43a22c043b1 (patch)
tree06b0b7aac73a4e3925a7f1a16c41ab17d55c59c3 /Master/texmf-dist/tex/latex/mathalfa
parent772eadba7901fafcbe9bc24ffb32c4db25b83ea9 (diff)
mathalfa 1.02 (18aug11)
git-svn-id: svn://tug.org/texlive/trunk@23595 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mathalfa')
-rw-r--r--Master/texmf-dist/tex/latex/mathalfa/mathalfa.sty70
1 files changed, 60 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/mathalfa/mathalfa.sty b/Master/texmf-dist/tex/latex/mathalfa/mathalfa.sty
index 8da6dbbd489..e4e3446ab96 100644
--- a/Master/texmf-dist/tex/latex/mathalfa/mathalfa.sty
+++ b/Master/texmf-dist/tex/latex/mathalfa/mathalfa.sty
@@ -1,11 +1,11 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mathalfa}[2011/06/18 mathalfa (mjs)]
+\ProvidesPackage{mathalfa}[2011/08/17 mathalfa (mjs)]
\RequirePackage{xkeyval}
% available choices
-\def\bb@lst{ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox}
-\def\cal@lst{cm, euler, rsfso, rsfs, lucida, mathpi, mma, mt, mtc, zapfc, esstix, boondox, boondoxo,dutchcal}
-\def\frak@lst{euler, lucida, mathpi, mma, mt, esstix, boondox}
-\def\scr@lst{rsfs, rsfso, euler, lucida, mathpi, mma, mtc, zapfc, esstix, boondox, boondoxo,dutchcal}
+\def\bb@lst{ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox, px, tx, txof}
+\def\cal@lst{cm, euler, rsfso, rsfs, lucida, mathpi, mma, mt, mtc, zapfc, esstix, boondox, boondoxo, dutchcal, pxtx}
+\def\frak@lst{euler, lucida, mathpi, mma, mt, esstix, boondox, pxtx}
+\def\scr@lst{rsfs, rsfso, euler, lucida, mathpi, mma, mtc, zapfc, esstix, boondox, boondoxo, dutchcal, pxtx}
\def\mathalfa@bbnr{-1}\def\mathalfa@calnr{-1}
\def\mathalfa@fraknr{-1}\def\mathalfa@scrnr{-1}
% scaled
@@ -52,7 +52,7 @@
}{}%
% Code to set up the math alphabets specified, not necessarily using the fd files
% Blackboard Bold
-\ifcase\mathalfa@bbnr\relax% item 0 of {ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox}
+\ifcase\mathalfa@bbnr\relax% item 0 of {ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox, px, tx, txof}
\DeclareFontFamily{U}{msb}{}%
\DeclareFontShape{U}{msb}{m}{n}{<-7>\mathalfa@bbscaled msbm5
<7-9>\mathalfa@bbscaled msbm7
@@ -131,9 +131,32 @@
\DeclareMathAlphabet{\mathbb}{U}{BOONDOX-ds}{m}{n}
\SetMathAlphabet{\mathbb}{bold}{U}{BOONDOX-ds}{b}{n}
\DeclareMathAlphabet{\mathbbb} {U}{BOONDOX-ds}{b}{n}
+\or %px
+ \DeclareFontFamily{U}{px-math-ds}{\skewchar \font =45}% double-struck
+ \DeclareFontShape{U}{px-math-ds}{m}{n}{
+ <-> \mathalfa@bbscaled pxr-ds}{}
+ \DeclareFontShape{U}{px-math-ds}{b}{n}{
+ <-> \mathalfa@bbscaled pxb-ds}{}
+ \DeclareMathAlphabet{\mathbb}{U}{px-math-ds}{m}{n}
+ \SetMathAlphabet{\mathbb}{bold}{U}{px-math-ds}{b}{n}
+ \DeclareMathAlphabet{\mathbbb} {U}{px-math-ds}{b}{n}
+\or %tx
+ \DeclareFontFamily{U}{tx-math-ds}{\skewchar \font =45}% double-struck
+ \DeclareFontShape{U}{tx-math-ds}{m}{n}{
+ <-> \mathalfa@bbscaled txr-ds}{}
+ \DeclareMathAlphabet{\mathbb}{U}{tx-math-ds}{m}{n}
+\or %txof
+ \DeclareFontFamily{U}{tx-math-of}{\skewchar \font =45}% openface
+ \DeclareFontShape{U}{tx-math-of}{m}{n}{
+ <-> \mathalfa@bbscaled txr-of}{}
+ \DeclareFontShape{U}{tx-math-of}{b}{n}{
+ <-> \mathalfa@bbscaled txb-of}{}
+ \DeclareMathAlphabet{\mathbb}{U}{tx-math-of}{m}{n}
+ \SetMathAlphabet{\mathbb}{bold}{U}{tx-math-of}{b}{n}
+ \DeclareMathAlphabet{\mathbbb} {U}{tx-math-of}{b}{n}
\fi
% \mathcal
-\ifcase\mathalfa@calnr\relax% item 0 of {cm, euler, rsfso, rsfs, lucida, mathpi, mma, mt, mtc, zapfc, esstix, boondox, boondoxo, dutchcal}
+\ifcase\mathalfa@calnr\relax% item 0 of {cm, euler, rsfso, rsfs, lucida, mathpi, mma, mt, mtc, zapfc, esstix, boondox, boondoxo, dutchcal,tx}
\DeclareFontFamily{U}{cmsy}{\skewchar\font48 }
\DeclareFontShape{U}{cmsy}{m}{n}{%
<-5.5>\mathalfa@calscaled cmsy5%
@@ -259,6 +282,15 @@
\DeclareMathAlphabet{\mathcal}{U}{dutchcal}{m}{n}
\SetMathAlphabet{\mathcal}{bold}{U}{dutchcal}{b}{n}
\DeclareMathAlphabet{\mathbcal} {U}{dutchcal}{b}{n}
+\or %pxtx
+ \DeclareFontFamily{U}{txcal}{\skewchar \font =45}
+ \DeclareFontShape{U}{txcal}{m}{n}{
+ <-> \mathalfa@calscaled txr-cal}{}
+ \DeclareFontShape{U}{txcal}{b}{n}{
+ <-> \mathalfa@calscaled txb-cal}{}
+ \DeclareMathAlphabet{\mathcal}{U}{txcal}{m}{n}
+ \SetMathAlphabet{\mathcal}{bold}{U}{txcal}{b}{n}
+ \DeclareMathAlphabet{\mathbcal} {U}{txcal}{b}{n}
\fi
% \mathfrak
\ifcase\mathalfa@fraknr\relax% item 0 of {euler, lucida, mathpi, mma, mt, esstix, boondox}
@@ -317,6 +349,15 @@
\DeclareMathAlphabet{\mathfrak}{U}{BOONDOX-frak}{m}{n}
\SetMathAlphabet{\mathfrak}{bold}{U}{BOONDOX-frak}{b}{n}
\DeclareMathAlphabet{\mathbfrak} {U}{BOONDOX-frak}{b}{n}
+\or %pxtx
+ \DeclareFontFamily{U}{txfrak}{\skewchar \font =45}
+ \DeclareFontShape{U}{txfrak}{m}{n}{
+ <-> \mathalfa@frakscaled txr-frak}{}
+ \DeclareFontShape{U}{txfrak}{b}{n}{
+ <-> \mathalfa@frakscaled txb-frak}{}
+ \DeclareMathAlphabet{\mathfrak}{U}{txfrak}{m}{n}
+ \SetMathAlphabet{\mathfrak}{bold}{U}{txfrak}{b}{n}
+ \DeclareMathAlphabet{\mathbfrak} {U}{txfrak}{b}{n}
\fi
% \mathscr
\ifcase\mathalfa@scrnr\relax% item 0 of {rsfs, rsfso, euler, lucida, mathpi, mma, mtc, zapfc, esstix, boondox, boondoxo, dutchcal}
@@ -391,7 +432,7 @@
<-> \mathalfa@scrscaled BOONDOX-b-cal}{}
\DeclareMathAlphabet{\mathscr}{U}{BOONDOX-scr}{m}{n}
\SetMathAlphabet{\mathscr}{bold}{U}{BOONDOX-scr}{b}{n}
- \DeclareMathAlphabet{\mathbcal} {U}{BOONDOX-scr}{b}{n}
+ \DeclareMathAlphabet{\mathbscr} {U}{BOONDOX-scr}{b}{n}
\or %boondoxo
\DeclareFontFamily{U}{BOONDOX-scro}{\skewchar \font =45}
\DeclareFontShape{U}{BOONDOX-scro}{m}{n}{
@@ -399,8 +440,8 @@
\DeclareFontShape{U}{BOONDOX-scro}{b}{n}{
<-> \mathalfa@scrscaled BOONDOX-b-calo}{}
\DeclareMathAlphabet{\mathscr}{U}{BOONDOX-scro}{m}{n}
- \SetMathAlphabet{\mathcal}{bold}{U}{BOONDOX-scro}{b}{n}
- \DeclareMathAlphabet{\mathbcal} {U}{BOONDOX-scro}{b}{n}
+ \SetMathAlphabet{\mathscr}{bold}{U}{BOONDOX-scro}{b}{n}
+ \DeclareMathAlphabet{\mathbscr} {U}{BOONDOX-scro}{b}{n}
\or %dutchcal
\DeclareFontFamily{U}{dutchscr}{\skewchar \font =45}
\DeclareFontShape{U}{dutchscr}{m}{n}{
@@ -410,6 +451,15 @@
\DeclareMathAlphabet{\mathscr}{U}{dutchscr}{m}{n}
\SetMathAlphabet{\mathscr}{bold}{U}{dutchscr}{b}{n}
\DeclareMathAlphabet{\mathbscr}{U}{dutchscr}{b}{n}
+\or %pxtx
+ \DeclareFontFamily{U}{txscr}{\skewchar \font =45}
+ \DeclareFontShape{U}{txscr}{m}{n}{
+ <-> \mathalfa@scrscaled txr-cal}{}
+ \DeclareFontShape{U}{txscr}{b}{n}{
+ <-> \mathalfa@scrscaled txb-cal}{}
+ \DeclareMathAlphabet{\mathscr}{U}{txscr}{m}{n}
+ \SetMathAlphabet{\mathscr}{bold}{U}{txscr}{b}{n}
+ \DeclareMathAlphabet{\mathbscr} {U}{txscr}{b}{n}
\fi
\ifnum\mathalfa@bbnr>-1\relax \def\Bbb{}\let\Bbb\mathbb\fi
\ifx\mathbcal\@undefined\def\mathbcal{\PackageError{mathalfa}