I am using in my document the concmath
package, but there is no blackboard bold font linked to the command \mathbb{}
with this font package. I already asked this question elsewhere and I got this solution :
\makeatletter
\def\afterfi#1#2\fi{\fi#1}
\def\map#1#2{\mapA{}#1#2\@nnil}
\def\mapA#1#2#3{\ifx\@nnil#3\empty \afterfi{#1}\else \afterfi {\mapA{#1#2{#3}}#2}\fi}
\protected\def\mathbb#1{\leavevmode\textup{\map\mathbbA{#1}}}
\def\mathbbA#1{\setbox\z@\hbox{#1}\copy\z@\kern-\wd\z@ \kern.13em\box\z@}
\makeatother
$u=\{u(t)\}_{t\in\mathbb R^2} \quad \mathbb{NZQIRCOSABC}$
which slightly shifts the letter to produce the blackboard font, but this looks horrible for some letters.
Is there a way to generate a decent looking blackboard bold font for concrete ?
Thank you in advance for any advice.
Best Answer
An alternative is to use the
ccfonts
package, which is still being updated. Theconcmath
package is from last century.loads either the AMS or Concrete version of all the standard math alphabets.
Otherwise, you can pick a blackboard font you like from
mathalpha
and load that afterccfonts
orconcmath
.Be aware, either of these will give you pixelated METAFONT math fonts, unless you pay money for the Micropress Concrete Math font in Type 1 format. You don’t need to do that, though: either you’re publishing in a journal that licenses the font, or you’re free to use a modern TeX engine that supports OpenType.
In LuaLaTeX or XeLaTeX, you might try pairing Concrete with the math symbols from the slab serif font GFS Neohellenic:
Or load
unicode-math
withoutmath-style=upright
to get italic math symbols more like the legacy packages. Changing the option tomath-style=ISO
will slant your upright Greek letters, too.In either case, you can swap in a different blackboard bold alphabet with a command like