% !TEX TS-program = pdflatexmk
% Template file for TeXShop by Michael Sharpe, LPPL
\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry} 
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
\pdfmapfile{+bboldx.map}
\usepackage{graphicx}
%\usepackage{amssymb}% don't use with newtxmath
%SetFonts
% libertine+newtxmath
\usepackage{newpxtext} % use sb in place of bold
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[varqu,varl]{zi4}% inconsolata
\usepackage[vvarbb]{newpxmath}
\usepackage{bboldx}
% option vvarbb gives you stix blackboard bold
\useosf % use oldstyle figures except in math
%\usepackage[cal=boondoxo]{mathalfa}% less slanted than STIX cal
\usepackage{bm}
%SetFonts
\usepackage{fonttable}
\title{{\tt BBOLDX}---an extension of {\tt BBOLD}}
\author{Michael Sharpe}
\date{\today}  % Activate to display a given date or no date

\begin{document}
\maketitle
In the 1990's, Alan Jeffrey developed an extensive Blackboard Bold font with weight a good match to Computer Modern, with upper and lower case Latin and Greek letters as well as punctuation and a number of symbols. The font was the property of Y\&{}Y, and, after their dissolution, the copyright was gifted to TUG in 2007, with the freest license imaginable. This package extends the original by adding a couple of glyphs and, more important, adding two new weights. Where the original stem widths were 40 units, the additions have stem widths of 56 units and 90 units respectively. For a comparison, here are the three, labelled {\tt Thin}, {\tt Regular} and {\tt Bold} respectively.

Thin: {\usefont{U}{bboldx}{l}{n} \char"06\char"0C Hk1234567890}\\
Regular: {\usefont{U}{bboldx}{m}{n} \char"06\char"0C Hk1234567890}\\
Bold: {\usefont{U}{bboldx}{b}{n} \char"06\char"0C Hk1234567890}

\textsc{Font Table for BBOLDX-Regular}:\\
\fonttable{BBOLDX-Regular}
\newpage
There are two ways these may be used.\\
\textsc{1: Load the bboldx package.}\\
To do this, place one of the lines
\begin{verbatim}
\usepackage{bboldx} % for Regular and Bold weights
\usepackage[light]{bboldx} % for Thin and Regular weights
\end{verbatim}
in your document preamble following any other lines that may load math alphabets. This package creates two basic commands, \verb|\bbxfamily| and \verb|\bbbxfamily| to identify the fonts that should be considered regular and bold, and uses them to define  macros \verb|\textbb| and \verb|\textbbb| by which you may access any character, though not necessarily by convenient means as the fonts do not completely follow any standard encoding. Nonetheless, it does understand Roman letters and digits, as well as some punctuation and symbols---\textbb{(A)b[1].,!?<>-}. Other characters may be accessed by consulting the above table for the position of the character. For example, lowercase psi is in slot 32 decimal={"20} (HEX), so \verb|\textbb{\char32}| or \verb|\textbb{\char"20}| yields \textbb{\char"20}. As a convenience, the package defines (as math symbols only) the following macros for use with the Greek letters as well as {\tt dotlessi} and {\tt dotlessj}.
\begin{verbatim}
\bbdotlessi, \bbdotlessj or \imathbb, \jmathbb
\bbGamma ... \bbOmega
\bbalpha ... \bbomega
\end{verbatim}
The package also [re]defines the macros \verb|\mathbb| and \verb|\mathbbb| to point the same glyphs as \verb|\textbb| and \verb|\textbbb|, but for use in math mode. 

There is also a {\tt scaled} (or {\tt scale}) option you may use to adjust the relative size of the {\tt bboldx} glyphs. For example,
\begin{verbatim}
\usepackage[scale=.98]{bboldx} 
\end{verbatim}
will lead to a 2\% reduction of the size of the rendered {\tt bboldx} characters.\

\textsc{2: Through the {\tt mathalpha} package}\\
Place one of the lines
\begin{verbatim}
\usepackage[bb=bboldx]{mathalpha}
\usepackage[bb=bboldx-light]{mathalpha}
\end{verbatim}
in your document preamble following any other lines that may load math alphabets. These have the same effect  as loading the {\tt bboldx} package described above. For example,
\begin{verbatim}
\usepackage[bb=bboldx-light,bbscaled=.97]{mathalpha}
\end{verbatim}
has the same effect as
\begin{verbatim}
\usepackage[light,scale=.97]{bboldx} 
\end{verbatim}
({\tt Mathalpha} does of course allow you to set many other math alphabet options.)
\end{document}  