[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}$

enter image description here

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

spleq

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} 
Related Question