15
$\begingroup$

How can we write number sets symbols using Mathjax? For example what's the code for Natural numbers set? I couldn't find that in a vast of Mathjax help documents,and the only one I found doesn't work: \Natural or \mathds{N}

$\endgroup$
3
  • 2
    $\begingroup$ \Bbb{N} gives $\Bbb{N}$ here. But at least the TeX system on my laptop says that is outdated. $\endgroup$ Jun 16, 2016 at 21:10
  • 1
    $\begingroup$ (In particular, see point 9 about fonts). $\endgroup$
    – user296602
    Jun 16, 2016 at 21:11
  • 1
    $\begingroup$ @JyrkiLahtonen Is there any more beautiful symbol for natural numbers set depictable by Mathjax? $\endgroup$ Jun 16, 2016 at 21:12

1 Answer 1

16
$\begingroup$

One way is to use \mathbb{N}. This produces:

$$\mathbb{N}$$

This is very common.

$\endgroup$
8
  • 1
    $\begingroup$ Any other alternative? $\endgroup$ Jun 16, 2016 at 20:53
  • 1
    $\begingroup$ Do you know why \Natural or \mathds{N} don't work? The latter was offered by Detexify! $\endgroup$ Jun 16, 2016 at 20:56
  • 1
    $\begingroup$ @HamidRezaEbrahimi: I don't know. I have never seen \Natural used before. $\endgroup$
    – Thomas
    Jun 16, 2016 at 20:59
  • 1
    $\begingroup$ Where can I find the most comprehensive Mathjax documentation? $\endgroup$ Jun 16, 2016 at 21:00
  • 1
    $\begingroup$ @HamidRezaEbrahimi: Probably here: docs.mathjax.org/en/latest $\endgroup$
    – Thomas
    Jun 16, 2016 at 21:01
  • 1
    $\begingroup$ Thank you so much Thomas $\endgroup$ Jun 16, 2016 at 21:02
  • 1
    $\begingroup$ @HamidRezaEbrahimi: you are welcome. $\endgroup$
    – Thomas
    Jun 16, 2016 at 21:03
  • 1
    $\begingroup$ Probably \Natural and \mathds are part of some macro package, so you need to include that package to use them... $\endgroup$
    – GEdgar
    Jun 17, 2016 at 12:46

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