Latex mathbb with number does not show correctly

  • Context: LaTeX 
  • Thread starter Thread starter jk22
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 7K views
jk22
Messages
732
Reaction score
25
I tried the following with amssymb

\mathbb{1234567890}

and it gave the following result : symbols but not the usual numbers ??
 

Attachments

Physics news on Phys.org
Yeah, the mathbb command as defined in the amsfonts package (probably amssymb as well) only works with uppercase letters. It's using the wrong font, basically.

You could solve this by using the bbm package and then using the mathbbm command (it is defined for both upper and lower case letters, as well as numbers). Some people (not me) instead prefer using the dsfont package (stands for doublestroke) and then using the mathds command. I don't think those fonts are defined for lower case letters though. There are of course more options, should you need them. Look at page 68 in The Comprehensive LaTeX Symbol List for a selection of fonts.