\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
