summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-01-18 21:04:51 +0000
committerKarl Berry <karl@freefriends.org>2025-01-18 21:04:51 +0000
commit389e1d5a29d2f19905379e867a8417fc2c861ad7 (patch)
treec84716aff351924ed7778887c174a03afc49e3b4 /Master/texmf-dist/tex
parent19abdb051d817233ad2a9c74fb7b4d780603ff0c (diff)
mathalpha (18jan25)
git-svn-id: svn://tug.org/texlive/trunk@73505 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/mathalpha/mathalpha.sty35
1 files changed, 30 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/mathalpha/mathalpha.sty b/Master/texmf-dist/tex/latex/mathalpha/mathalpha.sty
index c32088ce658..bab8cba86d0 100644
--- a/Master/texmf-dist/tex/latex/mathalpha/mathalpha.sty
+++ b/Master/texmf-dist/tex/latex/mathalpha/mathalpha.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
-\def\mathalphaVersion{1.143}
-\def\mathalphaDate{2021/11/18}
+\def\mathalphaVersion{1.145}
+\def\mathalphaDate{2025/01/17}
\ProvidesPackage{mathalpha}[\mathalphaDate\space-\space\mathalphaVersion
mathalpha (License LPPL) Michael Sharpe]
\message{`mathalpha' v\mathalphaVersion, \mathalphaDate, a renaming of mathalfa (msharpe)}
@@ -21,7 +21,7 @@
\def\mathalfa@scrm{m}
% available choices
-\def\bb@lst{ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox, px, tx, txof, libus, dsserif, bboldxLight, bboldx, dsfontserif, dsfontsans, stixtwo, stix}
+\def\bb@lst{ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox, px, tx, txof, libus, dsserif, bboldxLight, bboldx, dsfontserif, dsfontsans, stixtwo, stix, ncmbbr, ncmbbk}
\def\cal@lst{cm, euler, rsfso, rsfs, lucida, mathpi, mma, mt, mtc, zapfc, esstix, boondox, boondoxo, dutchcal, pxtx, bickham, bickhams, stix, txupr, boondoxupr, kp, stixplain, stixfancy, stixtwoplain, stixtwofancy}
\def\frak@lst{euler, lucida, mathpi, mma, mt, esstix, boondox, pxtx, stixtwo}
\def\mathalfa@bbnr{-1}\def\mathalfa@calnr{-1}
@@ -66,7 +66,7 @@
\define@boolkey{mathalfa}{bfbb}[true]{\def\mathalfa@bbm{b}\@nameuse{mathalfa@bbb#1}}
% showoptions
\DeclareOption{showoptions}{\PackageError{mathalpha}{Package Options:^^J bb=\bb@lst^^J cal=\cal@lst^^J frak=\frak@lst^^J scr=\cal@lst^^J bbscaled=1.0, calscaled=1.0, frakscaled=1.0, scrscaled=1.0^^J Bold versions may be forced by one of options bfbb, bfcal, bffrak, bfscr.^^J The following exceptions should be noted:^^J
-bb: stix2, dsfontsans, dsfontserif, libusbb, tx, esstix,^^J\space\space pazo, mathpi, ams^^J
+bb: stixtwo, dsfontsans, dsfontserif, libusbb, tx, esstix,^^J\space\space pazo, mathpi, ams, stix, ncmbbr, ncmbbk^^J
cal and scr: esstix, zapfc, mtc, mathpical, rsfs, rsfso^^J
frak: lucida, esstix, mathpi^^J
}{}}%was scr=\scr@lst
@@ -108,7 +108,7 @@ frak: lucida, esstix, mathpi^^J
% Blackboard Bold
%%%%%%%%%%%%%%%%%% START \mathbb
%
-\ifcase\mathalfa@bbnr\relax% item 0 of {ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox, px, tx, txof, libus, dsserif, bboldx-light, bboldx, dsfont-serif, dsfont-sans, stix}
+\ifcase\mathalfa@bbnr\relax% item 0 of {ams, lucida, mathpi, mma, mt, mth, pazo, fourier, esstix, boondox, px, tx, txof, libus, dsserif, bboldx-light, bboldx, dsfont-serif, dsfont-sans, stix, stixtwo, ncmbbr, ncmbbk}
% ams
\ifmathalfa@bbb\mathalpha@boldError{ams}{bb}\fi
\DeclareFontFamily{U}{msb}{}%
@@ -408,6 +408,31 @@ frak: lucida, esstix, mathpi^^J
% \def\txtbbeight{{\usefont{U}{stixonebb}{m}{n}8}}
% \def\txtbbnine{{\usefont{U}{stixonebb}{m}{n}9}}
\fi
+\or %ncmbbr
+ \DeclareFontFamily{U}{ncmbbr}{\skewchar \font =45}
+ \DeclareFontShape{U}{ncmbbr}{m}{n}{
+ <-> \mathalfa@bbscaled mathalpha-ncmbb-regular}{}
+ \DeclareFontShape{U}{ncmbbr}{b}{n}{
+ <-> \mathalfa@bbscaled mathalpha-ncmbb-bold}{}
+ \DeclareMathAlphabet{\mathbb}{U}{ncmbbr}{\mathalfa@bbm}{n}
+ \ifmathalfa@bbb\else
+ \SetMathAlphabet{\mathbb}{bold}{U}{ncmbbr}{b}{n}
+ \DeclareMathAlphabet{\mathbfbb} {U}{ncmbbr}{b}{n}
+ \fi
+\or %ncmbbk
+ \DeclareFontFamily{U}{ncmbbk}{\skewchar \font =45}
+ \DeclareFontShape{U}{ncmbbk}{m}{n}{
+ <-> \mathalfa@bbscaled mathalpha-ncmbb-book}{}
+ \DeclareFontShape{U}{ncmbbk}{b}{n}{
+ <-> \mathalfa@bbscaled mathalpha-ncmbb-bold}{}
+ \DeclareMathAlphabet{\mathbb}{U}{ncmbbk}{\mathalfa@bbm}{n}
+ \ifmathalfa@bbb\else
+ \SetMathAlphabet{\mathbb}{bold}{U}{ncmbbk}{b}{n}
+ \DeclareMathAlphabet{\mathbfbb} {U}{ncmbbk}{b}{n}
+ \fi
+
+
+
\fi
%%%%%%%%%%%%%%%%%% END \mathbb