[Tex/LaTex] Obsolete command \Bbb

math-modewarnings

A warning keeps popping up in my LaTeX editor, and it's really annoying. It says that the command \Bbb is obsolete and I should use \mathbb instead. I personally like the command \Bbb by the obvious reason that its shorter than the newer one. If the command \Bbb is obsolete then why don't they take it out? If I try to make a new command to redefine \Bbb as \mathbb, the compiler won't let me. Is there a way to get rid of this warning?

Best Answer

Since some years the command \Bbb provided by amsfonts has been renamed to \mathbb to conform to the other font selection commands (\mathcal, \mathbf and so on).

The command \Bbb has so been redefined to give a warning at the first usage, but then it works exactly as \mathbb.

Of course you're free to redefine it as you please:

\usepackage{amssymb} % or amsfonts
\renewcommand{\Bbb}{\mathbb}

In this way you'll not get any warning.

Why hasn't it been removed? Because many legacy documents use it.