Latex mathbb with number does not show correctly

  • Context: LaTeX 
  • Thread starter Thread starter jk22
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The discussion addresses the limitations of the \mathbb command in LaTeX when using the amssymb package, which only supports uppercase letters and not numbers. Users can resolve this issue by utilizing the bbm package with the mathbbm command, which accommodates both uppercase and lowercase letters as well as numbers. Alternatively, the dsfont package can be used with the mathds command, although it does not support lowercase letters. For further font options, users are directed to page 68 of The Comprehensive LaTeX Symbol List.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of the amssymb package
  • Knowledge of the bbm and dsfont packages
  • Basic comprehension of font commands in LaTeX
NEXT STEPS
  • Explore the bbm package and its mathbbm command
  • Investigate the dsfont package and its mathds command
  • Review The Comprehensive LaTeX Symbol List for additional font options
  • Learn about the differences between various LaTeX font packages
USEFUL FOR

LaTeX users, mathematicians, and anyone involved in typesetting documents that require specific font styles for numbers and letters.

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.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K