I used txfonts but I don't like it when I use it with mathbb. I like it more when I use Computer Modern instead. And I want to change it to something like Computer Modern. How can I do it?

enter image description here

2 Answers 2


You should be using newTX rather than the original TX fonts, that have several glitches.






Below the output with the line that “restores” the AMS blackboard bold font and without it for comparison.

With the \DeclareMathAlphabet line (uses AMS bb font)

enter image description here

Without the \DeclareMathAlphabet line (uses the TX bb font)

enter image description here


In the modern toolchain, with unicode-math, you can load the \mathbb alphabet of your choice with

\setmathfont{TeX Gyre Termes Math}
\setmathfont{Latin Modern Math}[

With legacy 8-bit fonts, you can load this and many other math alphabets with mathalpha:


The \mathbb alphabet you want is, properly, from the American Mathematical Society’s amsfonts, not DEK’s Computer Modern.

You must log in to answer this question.

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