9

I'm looking for a math font that works with the unicode-math package that looks just like computer modern roman. I found the latin modern roman font quite good, but they have a ℝ symbol which looks really ugly imo.

enter image description here

Is there a unicode math font that looks just like computer modern roman ? Or could I maybe replace the bbold symbols ?

2 Answers 2

6

TeX Gyre Termes Math has blackboard bold letters similar to the amsfonts ones:

\documentclass{article}
\usepackage{unicode-math}
\setmathfont[range=\mathbb]{TeX Gyre Termes Math}

\begin{document}
$abc\mathbb{R}\mathbb{Q}\mathbb{N}$
\end{document}

enter image description here

Here's the result if XITS Math is used intead of Termes:

enter image description here

Just take your pick; you can experiment also with TeX Gyre Pagella Math or Asana Math.

0
3

Uncomment the line to see that the P and the others should also be changed:

\documentclass[border=10pt]{standalone}
\usepackage{unicode-math}
\setmathfont{LatinModernMath-Regular}
\setmathfont[range={"211D,%"2119,"211A
  }]{XITSMath}
\begin{document}

\Huge$\BbbP\BbbQ\BbbR $

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .