6
$\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$
  • 2
    $\begingroup$ \Bbb{N} gives $\Bbb{N}$ here. But at least the TeX system on my laptop says that is outdated. $\endgroup$ – Jyrki Lahtonen Jun 16 '16 at 21:10
  • 1
    $\begingroup$ (In particular, see point 9 about fonts). $\endgroup$ – user296602 Jun 16 '16 at 21:11
  • 1
    $\begingroup$ @JyrkiLahtonen Is there any more beautiful symbol for natural numbers set depictable by Mathjax? $\endgroup$ – Hamid Reza Ebrahimi Jun 16 '16 at 21:12
5
$\begingroup$

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

$$\mathbb{N}$$

This is very common.

| |
$\endgroup$
  • 1
    $\begingroup$ Any other alternative? $\endgroup$ – Hamid Reza Ebrahimi Jun 16 '16 at 20:53
  • 1
    $\begingroup$ Do you know why \Natural or \mathds{N} don't work? The latter was offered by Detexify! $\endgroup$ – Hamid Reza Ebrahimi Jun 16 '16 at 20:56
  • 1
    $\begingroup$ @HamidRezaEbrahimi: I don't know. I have never seen \Natural used before. $\endgroup$ – Thomas Jun 16 '16 at 20:59
  • 1
    $\begingroup$ Where can I find the most comprehensive Mathjax documentation? $\endgroup$ – Hamid Reza Ebrahimi Jun 16 '16 at 21:00
  • 1
    $\begingroup$ @HamidRezaEbrahimi: Probably here: docs.mathjax.org/en/latest $\endgroup$ – Thomas Jun 16 '16 at 21:01
  • 1
    $\begingroup$ Thank you so much Thomas $\endgroup$ – Hamid Reza Ebrahimi Jun 16 '16 at 21:02
  • 1
    $\begingroup$ @HamidRezaEbrahimi: you are welcome. $\endgroup$ – Thomas Jun 16 '16 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 '16 at 12:46

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