In a related question, I asked about getting a blackboard bold 0 in addition to a 1. But now I'd like to do it along with \usepackage[utopia]{mathdesign}. If I try to \usepackage{bbold}, I get the error

Latex Error: /usr/local/texlive/2011/texmf-dist/tex/latex/bbold/bbold.sty:42 LaTeX Error: Command `\mathbb' already defined.

It seems that \usepackage{dsmath} works with \mathds{01}, but if possible I'd like to use them with the command \mathbb. Is there a way to make that work?

  • Just say \let\mathbb\relax before \usepackage{bbold}, which should go after the call to mathdesign. However consider that this font is rather visually incompatible with Utopia.
    – egreg
    Feb 26, 2012 at 20:38

2 Answers 2


You can try:


\let\mathbb\undefined  % delete the command definition 
\usepackage{bbold}     % let bbold define its own \mathbb command




This example works, but I haven't done any further tests.


Alternatively to Micheal Palmer's answer, I did the following: declare a new math alphabet and use that (learned that trick from another answer at TeX.SX, don't have a reference at hand).

% Copied and modified from bbold.sty:


You must log in to answer this question.

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