summaryrefslogtreecommitdiff
path: root/fonts/bboldx/tex/bboldx.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-20 03:02:56 +0000
committerNorbert Preining <norbert@preining.info>2021-10-20 03:02:56 +0000
commit97a50891a87d07d3cc327188a2b00b5c11e3c309 (patch)
tree5a7ced967e974e870980fa25e42ac2de4d5c6394 /fonts/bboldx/tex/bboldx.sty
parentd045bcbc99b0eda65a444496d60d16ea2d063c65 (diff)
CTAN sync 202110200302
Diffstat (limited to 'fonts/bboldx/tex/bboldx.sty')
-rw-r--r--fonts/bboldx/tex/bboldx.sty68
1 files changed, 68 insertions, 0 deletions
diff --git a/fonts/bboldx/tex/bboldx.sty b/fonts/bboldx/tex/bboldx.sty
new file mode 100644
index 0000000000..622e4e127d
--- /dev/null
+++ b/fonts/bboldx/tex/bboldx.sty
@@ -0,0 +1,68 @@
+\ProvidesPackage{bboldx}[%
+ 2021/10/18 (Michael Sharpe) Symbol package extending Bbold]
+
+\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{xkeyval}
+
+\newif\ifbboldx@light \bboldx@lightfalse
+\newcommand*{\bboldx@scaled}{s*[1]}
+\DeclareOptionX{scaled}{\renewcommand*{\bboldx@scaled}{s*[#1]}}
+\DeclareOptionX{scale}{\renewcommand*{\bboldx@scaled}{s*[#1]}}
+\DeclareOptionX{light}[true]{\@nameuse{bboldx@light#1}}
+\ProcessOptionsX\relax
+
+\let\mathbb\relax \let\mathbbb\relax
+\def\bbx@m{m}\def\bbx@b{b}
+\ifbboldx@light\def\bbx@m{l}\def\bbx@b{m}\fi
+
+\newcommand{\bbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bbx@m}\fontshape{n}\selectfont}
+\newcommand{\bbbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bbx@b}\fontshape{n}\selectfont}
+% \DeclareMathAlphabet{\mathbb}{U}{bboldx}{l}{n}
+% \SetMathAlphabet{\mathbb}{bold}{U}{bboldx}{m}{n}
+% \DeclareMathAlphabet{\mathbbb}{U}{bboldx}{m}{n}
+\newcommand{\textbb}[1]{{\bbxfamily#1}}
+\newcommand{\textbbb}[1]{{\bbbxfamily#1}}
+
+\DeclareSymbolFont{bboldx}{U}{bboldx}{\bbx@m}{n}
+\SetSymbolFont{bboldx}{bold}{U}{bboldx}{\bbx@b}{n}
+\DeclareFontSubstitution{U}{bboldx}{\bbx@m}{n}
+\DeclareSymbolFontAlphabet{\mathbb}{bboldx}
+\DeclareMathAlphabet{\mathbbb}{U}{bboldx}{b}{n}
+
+\DeclareMathSymbol{\imathbb}{\mathord}{bboldx}{128}
+\DeclareMathSymbol{\jmathbb}{\mathord}{bboldx}{129}
+\DeclareMathSymbol{\Gammabb}{\mathord}{bboldx}{0}
+\DeclareMathSymbol{\Deltabb}{\mathord}{bboldx}{1}
+\DeclareMathSymbol{\Thetabb}{\mathord}{bboldx}{2}
+\DeclareMathSymbol{\Lambdabb}{\mathord}{bboldx}{3}
+\DeclareMathSymbol{\Xibb}{\mathord}{bboldx}{4}
+\DeclareMathSymbol{\Pibb}{\mathord}{bboldx}{5}
+\DeclareMathSymbol{\Sigmabb}{\mathord}{bboldx}{6}
+\DeclareMathSymbol{\Upsilonbb}{\mathord}{bboldx}{7}
+\DeclareMathSymbol{\Phibb}{\mathord}{bboldx}{8}
+\DeclareMathSymbol{\Psibb}{\mathord}{bboldx}{9}
+\DeclareMathSymbol{\Omegabb}{\mathord}{bboldx}{10}
+\DeclareMathSymbol{\alphabb}{\mathord}{bboldx}{11}
+\DeclareMathSymbol{\betabb}{\mathord}{bboldx}{12}
+\DeclareMathSymbol{\gammabb}{\mathord}{bboldx}{13}
+\DeclareMathSymbol{\deltabb}{\mathord}{bboldx}{14}
+\DeclareMathSymbol{\epsilonbb}{\mathord}{bboldx}{15}
+\DeclareMathSymbol{\zetabb}{\mathord}{bboldx}{16}
+\DeclareMathSymbol{\etabb}{\mathord}{bboldx}{17}
+\DeclareMathSymbol{\thetabb}{\mathord}{bboldx}{18}
+\DeclareMathSymbol{\iotabb}{\mathord}{bboldx}{19}
+\DeclareMathSymbol{\kappabb}{\mathord}{bboldx}{20}
+\DeclareMathSymbol{\lambdabb}{\mathord}{bboldx}{21}
+\DeclareMathSymbol{\mubb}{\mathord}{bboldx}{22}
+\DeclareMathSymbol{\nubb}{\mathord}{bboldx}{23}
+\DeclareMathSymbol{\xibb}{\mathord}{bboldx}{24}
+\DeclareMathSymbol{\pibb}{\mathord}{bboldx}{25}
+\DeclareMathSymbol{\rhobb}{\mathord}{bboldx}{26}
+\DeclareMathSymbol{\sigmabb}{\mathord}{bboldx}{27}
+\DeclareMathSymbol{\taubb}{\mathord}{bboldx}{28}
+\DeclareMathSymbol{\upsilonbb}{\mathord}{bboldx}{29}
+\DeclareMathSymbol{\phibb}{\mathord}{bboldx}{30}
+\DeclareMathSymbol{\chibb}{\mathord}{bboldx}{31}
+\DeclareMathSymbol{\psibb}{\mathord}{bboldx}{32}
+\DeclareMathSymbol{\omegabb}{\mathord}{bboldx}{127}
+\endinput