Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've found that \mathbb{1} works when using mathpazo:

\documentclass{article}
\usepackage{mathpazo}
\begin{document}
    $\mathbb{1}$
\end{document}

enter image description here

But \mathbb{0} doesn't work (doesn't display anything at all), and my searches haven't led me to any solutions so far. Is it possible to get a blackboard-bold 0? Or other numbers?

share|improve this question
    
Have you tied \mathbb{0}? You will need to tell us which packages you are using, and give a MWE. –  Pureferret Feb 12 '12 at 14:31
    
I was using mathpazo. And no, \mathbb{0} doesn't work. –  jtbandes Feb 12 '12 at 14:38
add comment

2 Answers

up vote 10 down vote accepted

the bbold font has the blackboard bold "0", although it is not shown in the "comprehensive symbols index" (texdoc comprehensive from your command line if you have tex live installed), table 213, "math alphabets". the other blackboard bold fonts shown there do not have the zero, although some of them have other digits.

share|improve this answer
add comment

you can try to run xelatex or lualatex with:

\documentclass{article}
\usepackage{fontspec,unicode-math}
\setmainfont{TeX Gyre Pagella}
\setmathfont{XITS Math}
\begin{document}
    $\mathbb{0}\mathbb{1}$
\end{document}

enter image description here

or with Asana Math instead of the STIX fonts:

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.