summaryrefslogtreecommitdiff
path: root/fonts/bboldx/tex/bboldx.sty
blob: a8406412226e1c1fb919f82fc3870e45ef38d629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
\NeedsTeXFormat{LaTeX2e}
\def\fileversion{1.422}
\def\filedate{2021/05/29}

\def\fileversion{1.01}
\def\filedate{2021/10/21}
\ProvidesPackage{bboldx}[\filedate\space v\fileversion]

\message{`bboldx' v\fileversion, \filedate\space (Michael Sharpe) Symbol package extending Bbold} 

\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{\bbdotlessi}{\mathord}{bboldx}{128}
\DeclareMathSymbol{\bbdotlessj}{\mathord}{bboldx}{129}
\DeclareMathSymbol{\bbGamma}{\mathord}{bboldx}{0}
\DeclareMathSymbol{\bbDelta}{\mathord}{bboldx}{1}
\DeclareMathSymbol{\bbTheta}{\mathord}{bboldx}{2}
\DeclareMathSymbol{\bbLambda}{\mathord}{bboldx}{3}
\DeclareMathSymbol{\bbXi}{\mathord}{bboldx}{4}
\DeclareMathSymbol{\bbPi}{\mathord}{bboldx}{5}
\DeclareMathSymbol{\bbSigma}{\mathord}{bboldx}{6}
\DeclareMathSymbol{\bbUpsilon}{\mathord}{bboldx}{7}
\DeclareMathSymbol{\bbPhi}{\mathord}{bboldx}{8}
\DeclareMathSymbol{\bbPsi}{\mathord}{bboldx}{9}
\DeclareMathSymbol{\bbOmega}{\mathord}{bboldx}{10}
\DeclareMathSymbol{\bbalpha}{\mathord}{bboldx}{11}
\DeclareMathSymbol{\bbbeta}{\mathord}{bboldx}{12}
\DeclareMathSymbol{\bbgamma}{\mathord}{bboldx}{13}
\DeclareMathSymbol{\bbdelta}{\mathord}{bboldx}{14}
\DeclareMathSymbol{\bbepsilon}{\mathord}{bboldx}{15}
\DeclareMathSymbol{\bbzeta}{\mathord}{bboldx}{16}
\DeclareMathSymbol{\bbeta}{\mathord}{bboldx}{17}
\DeclareMathSymbol{\bbtheta}{\mathord}{bboldx}{18}
\DeclareMathSymbol{\bbiota}{\mathord}{bboldx}{19}
\DeclareMathSymbol{\bbkappa}{\mathord}{bboldx}{20}
\DeclareMathSymbol{\bblambda}{\mathord}{bboldx}{21}
\DeclareMathSymbol{\bbmu}{\mathord}{bboldx}{22}
\DeclareMathSymbol{\bbnu}{\mathord}{bboldx}{23}
\DeclareMathSymbol{\bbxi}{\mathord}{bboldx}{24}
\DeclareMathSymbol{\bbpi}{\mathord}{bboldx}{25}
\DeclareMathSymbol{\bbrho}{\mathord}{bboldx}{26}
\DeclareMathSymbol{\bbsigma}{\mathord}{bboldx}{27}
\DeclareMathSymbol{\bbtau}{\mathord}{bboldx}{28}
\DeclareMathSymbol{\bbupsilon}{\mathord}{bboldx}{29}
\DeclareMathSymbol{\bbphi}{\mathord}{bboldx}{30}
\DeclareMathSymbol{\bbchi}{\mathord}{bboldx}{31}
\DeclareMathSymbol{\bbpsi}{\mathord}{bboldx}{32}
\DeclareMathSymbol{\bbomega}{\mathord}{bboldx}{127}
\let\imathbb\bbdotlessi
\let\jmathbb\bbdotlessj
\endinput