summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'fonts')
-rw-r--r--fonts/bboldx/README5
-rw-r--r--fonts/bboldx/doc/Bboldx-doc.pdfbin149415 -> 156297 bytes
-rw-r--r--fonts/bboldx/doc/Bboldx-doc.tex17
-rw-r--r--fonts/bboldx/tex/bboldx.sty10
4 files changed, 22 insertions, 10 deletions
diff --git a/fonts/bboldx/README b/fonts/bboldx/README
index 0b5a62e3dd..7ecec00d83 100644
--- a/fonts/bboldx/README
+++ b/fonts/bboldx/README
@@ -7,7 +7,10 @@ The files are Copyright 2007 TeX Users Group, with license:
BBOLDX extends the original to a set of three weights with the original, whose weight was a good match to Computer Modern with stem of width 40 em units, now identified as the light member, with regular and bold having stem-widths of 56 em units and 90 em units respectively. The extension is Copyright (c) Michael Sharpe 2021 and the license continues to be as before.
-Current version 1.03 2021-10-29
+Current version 1.031 2021-10-29
+
+Changes in version 1.031
+Corrected some errors in the sty file so that \mathbb and \mathbfbb are now handled correctly in the default case.
Changes in version 1.03
1. New options, including one to force handling as a Symbol Font rather than as a Math Alphabet.
diff --git a/fonts/bboldx/doc/Bboldx-doc.pdf b/fonts/bboldx/doc/Bboldx-doc.pdf
index a382abfe1b..4ce18f31d6 100644
--- a/fonts/bboldx/doc/Bboldx-doc.pdf
+++ b/fonts/bboldx/doc/Bboldx-doc.pdf
Binary files differ
diff --git a/fonts/bboldx/doc/Bboldx-doc.tex b/fonts/bboldx/doc/Bboldx-doc.tex
index 3a39613844..fa8b42a6f3 100644
--- a/fonts/bboldx/doc/Bboldx-doc.tex
+++ b/fonts/bboldx/doc/Bboldx-doc.tex
@@ -40,10 +40,12 @@ Bold: {\usefont{U}{bboldx}{b}{n} \char"06\char"0C Hk1234567890}
\textsc{Font Table for BBOLDX-Regular}:\\
\fonttable{BBOLDX-Regular}
\newpage
-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|\textbfbb| 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: e.g., \verb|\textbb{(A)b[1].,!?<>-}| renders as \textbb{(A)b[1].,!?<>-}. Characters may also 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}. It also creates macros \verb|\mathbb|, \verb|\mathbfbb| that are specific to math mode but are more limited in scope but work as expected for all Roman alphabetic arguments.
+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|\textbfbb| 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: e.g., \verb|\textbb{(A)b[1].,!?<>-}| renders as \textbb{(A)b[1].,!?<>-}. Characters may also 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}. It also creates macros \verb|\mathbb|, \verb|\mathbfbb| that are specific to math mode but are more limited in scope but work as expected for all numeric and Roman alphabetic arguments.
+
+There are two ways this package may be used.
+
+\textbf{\textsc{1: Load the {\tt bboldx} package directly.}}
-There are two ways this package may be used.\\
-\textsc{1: Load the bboldx package directly.}\\
To do this, place one of the lines
\begin{verbatim}
\usepackage{bboldx} % for Regular and Bold weights
@@ -96,15 +98,16 @@ as well as their ``bold'' counterparts
\txtbfbbalpha ... \txtbfbbomega
\txtbfbbLparen \txtbfbbRparen \txtbfbbLbrack \txtbfbbRbrack \txtbfbbLangle \txtbfbbRangle
\end{verbatim}
-There are no special macros for digits because they are easily handled with \verb|\textbb{0}| through \verb|\textbb{9}| and \verb|\textbfbb{0}| through \verb|\textbfbb{9}|. (In this mode, \verb|\mathbb| and \verb|\mathbfbb| don't work as expected with numeric arguments.)
To use these in math you could use the \verb|\text| command from {\tt amsmath}, like
\begin{verbatim}
-\[\text{\txtbbalpha}+\text{\textbb{1}}\{\text{\txtbbbeta}>\delta\}}\]
+\[\text{\txtbbalpha}+\mathbb{1}_\{\text{\txtbbbeta}>\delta\}}\]
\end{verbatim}
which renders in MathAlphabet mode as
-\[\text{\txtbbalpha}+\text{\textbb{1}}_{\{\text{\txtbbbeta}>\delta\}}\]
-\textsc{2: Through the {\tt mathalpha} package}\\
+\[\text{\txtbbalpha}+\mathbb{1}_{\{\text{\txtbbbeta}>\delta\}}\]
+\textbf{\textsc{2: Through the {\tt mathalpha} package}}
+
+
Place one of the lines
\begin{verbatim}
\usepackage[bb=bboldx]{mathalpha}
diff --git a/fonts/bboldx/tex/bboldx.sty b/fonts/bboldx/tex/bboldx.sty
index b2432b1681..be345b1461 100644
--- a/fonts/bboldx/tex/bboldx.sty
+++ b/fonts/bboldx/tex/bboldx.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.03}
+\def\fileversion{1.031}
\def\filedate{2021/10/29}
\ProvidesPackage{bboldx}[%
\filedate\space v\fileversion\space (Michael Sharpe) Symbol package extending Bbold]
@@ -20,7 +20,8 @@
\DeclareOptionX{symbols}{\bboldx@symtrue}
\ProcessOptionsX\relax
-\let\mathbb\relax \let\mathbbb\relax
+
+\let\mathbb\relax \let\mathbfbb\relax
%\def\bbx@m{m}\def\bbx@b{b}
\if b\bboldx@m\else
\ifbboldx@light
@@ -91,6 +92,11 @@
\let\imathbb\bbdotlessi
\let\jmathbb\bbdotlessj
\else
+ \DeclareMathAlphabet{\mathbb}{U}{bboldx}{\bboldx@m}{n}
+ \if b\bboldx@m\else%
+ \SetMathAlphabet{\mathbb}{bold}{U}{bboldx}{\bboldx@b}{n}
+ \DeclareMathAlphabet{\mathbfbb} {U}{bboldx}{\bboldx@b}{n}
+ \fi
\def\bboldx@mpre{\usefont{U}{bboldx}{\bboldx@m}{n}\char}
\def\bboldx@bpre{\usefont{U}{bboldx}{\bboldx@b}{n}\char}
\def\bboldx@txt#1#2{\@namedef{txtbb#1}{{\bboldx@mpre #2}} \@namedef{txtbfbb#1}{{\bboldx@bpre #2}}}