LaTeX Latex mathbb with number does not show correctly

  • Thread starter Thread starter jk22
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion centers on the limitations of the amssymb and amsfonts packages in LaTeX, particularly regarding the use of the mathbb command, which only supports uppercase letters. Users attempting to apply this command to numbers receive unexpected symbols instead of the desired numeric format. To address this issue, the bbm package can be utilized with the mathbbm command, which accommodates both upper and lower case letters as well as numbers. Alternatively, the dsfont package offers the mathds command, although it lacks support for lower case letters. For a broader selection of font options, users are encouraged to refer to page 68 of The Comprehensive LaTeX Symbol List.
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
4
Views
2K
Replies
1
Views
1K
Replies
3
Views
2K
Replies
12
Views
3K
Replies
8
Views
3K
Replies
0
Views
2K
Replies
4
Views
3K
Back
Top