summaryrefslogtreecommitdiff
path: root/fonts/bboldx/tex/bboldx.sty
blob: be345b14617cf198c1adb6b586ce60bd03f8b916 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
\NeedsTeXFormat{LaTeX2e}
\def\fileversion{1.031}
\def\filedate{2021/10/29}
\ProvidesPackage{bboldx}[%
 \filedate\space v\fileversion\space (Michael Sharpe) Symbol package extending Bbold] 

\NeedsTeXFormat{LaTeX2e}
\RequirePackage{xkeyval}

\newif\ifbboldx@light \bboldx@lightfalse
\newif\ifbboldx@sym
\newcommand*{\bboldx@scaled}{s*[1]}
\newcommand*{\bboldx@m}{m} 
\newcommand*{\bboldx@b}{b} 
\DeclareOptionX{scaled}{\renewcommand*{\bboldx@scaled}{s*[#1]}}
\DeclareOptionX{scale}{\renewcommand*{\bboldx@scaled}{s*[#1]}}
\DeclareOptionX{bfbb}{\renewcommand*{\bboldx@m}{b}}
\DeclareOptionX{light}[true]{\@nameuse{bboldx@light#1}}
\DeclareOptionX{bbsymbols}{\bboldx@symtrue}
\DeclareOptionX{symbols}{\bboldx@symtrue}
\ProcessOptionsX\relax


\let\mathbb\relax \let\mathbfbb\relax
%\def\bbx@m{m}\def\bbx@b{b}
\if b\bboldx@m\else
  \ifbboldx@light
    \renewcommand*{\bboldx@m}{l}
    \renewcommand*{\bboldx@b}{m}
  \fi
\fi

\newcommand{\bbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bboldx@m}\fontshape{n}\selectfont}
\newcommand{\bbbxfamily}{\fontencoding{U}\fontfamily{bboldx}\fontseries{\bboldx@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{\textbfbb}[1]{{\bbbxfamily#1}}

\ifbboldx@sym%
    \DeclareSymbolFont{bboldx}{U}{bboldx}{\bboldx@m}{n}
    \DeclareSymbolFontAlphabet{\mathbb}{bboldx}
    \DeclareFontSubstitution{U}{bboldx}{\bboldx@m}{n}
    \if b\bboldx@m\else
      \SetSymbolFont{bboldx}{bold}{U}{bboldx}{\bboldx@b}{n}
      \DeclareMathAlphabet{\mathbfbb}{U}{bboldx}{\bboldx@b}{n}
    \fi
    \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}
    \DeclareMathSymbol{\bbLbrack}{\mathopen}{bboldx}{`[}
    \DeclareMathSymbol{\bbRbrack}{\mathclose}{bboldx}{`]}
    \DeclareMathSymbol{\bbLangle}{\mathopen}{bboldx}{`<}
    \DeclareMathSymbol{\bbRangle}{\mathclose}{bboldx}{`>}
    \DeclareMathSymbol{\bbLparen}{\mathopen}{bboldx}{`(}
    \DeclareMathSymbol{\bbRparen}{\mathclose}{bboldx}{`)}
    
    \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}}}

  \bboldx@txt{Gamma}{0}
  \bboldx@txt{Delta}{1}
  \bboldx@txt{Theta}{2}
  \bboldx@txt{Lambda}{3}
  \bboldx@txt{Xi}{4}
  \bboldx@txt{Pi}{5}
  \bboldx@txt{Sigma}{6}
  \bboldx@txt{Upsilon}{7}
  \bboldx@txt{Phi}{8}
  \bboldx@txt{Psi}{9}
  \bboldx@txt{Omega}{10}
\bboldx@txt{alpha}{11}
\bboldx@txt{beta}{12}
\bboldx@txt{gamma}{13}
\bboldx@txt{delta}{14}
\bboldx@txt{epsilon}{15}
\bboldx@txt{zeta}{16}
\bboldx@txt{eta}{17}
\bboldx@txt{theta}{18}
\bboldx@txt{iota}{19}
\bboldx@txt{kappa}{20}
\bboldx@txt{lambda}{21}
\bboldx@txt{mu}{22}
\bboldx@txt{nu}{23}
\bboldx@txt{xi}{24}
\bboldx@txt{pi}{25}
\bboldx@txt{rho}{26}
\bboldx@txt{sigma}{27}
\bboldx@txt{tau}{28}
\bboldx@txt{upsilon}{29}
\bboldx@txt{phi}{30}
\bboldx@txt{chi}{31}
\bboldx@txt{psi}{32}
\bboldx@txt{omega}{127}
\bboldx@txt{dotlessi}{128}
\bboldx@txt{dotlessj}{129}
\bboldx@txt{Lparen}{40}
\bboldx@txt{Rparen}{41}
\bboldx@txt{Lbrack}{91}
\bboldx@txt{Rbrack}{93}
\bboldx@txt{Rangle}{94}
\bboldx@txt{Rangle}{95}

 %  \newcommand*{\txtbbGamma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char0 }}
%  \newcommand*{\txtbbDelta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char1 }}
%  \newcommand*{\txtbbTheta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char2 }}
%  \newcommand*{\txtbbLambda}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char3 }}
%  \newcommand*{\txtbbXi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char4 }}
%  \newcommand*{\txtbbPi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char5 }}
%  \newcommand*{\txtbbSigma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char6 }}
%  \newcommand*{\txtbbUpsilon}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char7 }}
%  \newcommand*{\txtbbPhi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char8 }}
%  \newcommand*{\txtbbPsi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char9 }}
%  \newcommand*{\txtbbOmega}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char10 }}
%  \newcommand*{\txtbbalpha}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char11 }}
%  \newcommand*{\txtbbbeta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char12 }}
%  \newcommand*{\txtbbgamma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char13 }}
%  \newcommand*{\txtbbdelta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char14 }}
%  \newcommand*{\txtbbepsilon}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char15 }}
%  \newcommand*{\txtbbzeta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char16 }}
%  \newcommand*{\txtbbeta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char17 }}
%  \newcommand*{\txtbbtheta}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char18 }}
%  \newcommand*{\txtbbiota}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char19 }}
%  \newcommand*{\txtbbkappa}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char20 }}
%  \newcommand*{\txtbblambda}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char21}}
%  \newcommand*{\txtbbmu}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char22 }}
%  \newcommand*{\txtbbnu}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char23 }}
%  \newcommand*{\txtbbxi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char24 }}
%  \newcommand*{\txtbbpi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char25 }}
%  \newcommand*{\txtbbrho}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char26 }}
%  \newcommand*{\txtbbsigma}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char27 }}
%  \newcommand*{\txtbbtau}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char28 }}
%  \newcommand*{\txtbbupsilon}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char29 }}
%  \newcommand*{\txtbbphi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char30 }}
%  \newcommand*{\txtbbchi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char31 }}
%  \newcommand*{\txtbbpsi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char32 }}
%  \newcommand*{\txtbbomega}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char127 }}
%  \newcommand*{\txtbbdotlessi}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char128 }}
%  \newcommand*{\txtbbdotlessj}{{\usefont{U}{bboldx}{\bboldx@m}{n}\char129 }}
\fi
% 
    
    
\endinput