[Tex/LaTex] greater equal sign \leq in blackboard bold style
blackboard;
Is there any package that makes the math symbols with blackboard bold style?
For example, I want to have $mathbb{\leq}$
Best Answer
If you are using pdftex, then you can use \pdfliteral like this:
\def\spleq{\mathrel{\hbox to5pt{%
\pdfliteral{q .9963 0 0 .9963 0 0 cm .5 0 0 .5 0 1.5 cm 1 j 1 J .7 w
10 8 m 0 3 l 10 -3 l S 0 1 m 10 -5 l S 2 2 m 10 6 l S Q}\hss}}}
$A \spleq B < C$
\bye
If you need different sizes in \scriptstyle and scriptscriptstyle then you use this modification:
\def\spleq{\mathrel{\mathpalette\spleqA\relax}}
\def\spleqA#1#2{\mkern1mu\hbox to\spleqB#1em{%
\pdfliteral{q .9963 0 0 .9963 0 0 cm \spleqB#1 0 0 \spleqB#1 0 1\spleqB#1 cm
1 j 1 J .7 w 10 8 m 0 3 l 10 -3 l S 0 1 m 10 -5 l S 2 2 m 10 6 l S Q}\hss}%
\mkern1mu}
\def\spleqB#1{\ifx#1\displaystyle.5\fi \ifx#1\textstyle.5\fi
\ifx#1\scriptstyle.35\fi \ifx#1\scriptscriptstyle.25\fi}
This doesn't exactly answer your question (how to use bbold with AMS's black board bold characters). I believe that would require some TeX incantations.
A cheaper work around is to use either the package bbm or the package doublestroke. The former defines the \mathbbm command and the latter uses the \mathds command, so they don't conflict with the AMS \mathbb. Also asthetically I prefer the bbm fonts over bbold since the latter is sans serif, which doesn't quite fit in right against the AMS serifed fonts.
Best Answer
If you are using pdftex, then you can use
\pdfliteral
like this:If you need different sizes in
\scriptstyle
andscriptscriptstyle
then you use this modification: