Number sets such as natural numbers () or complex numbers (
) are not provided by default by Latex. It doesn’t mean that Latex doesn’t know those sets, or more importantly their symbols…
There are two packages which provide the same set of symbols. You can choose either of them:
\usepackage{amsfonts}
or
\usepackage{amssymb}.
Now, you have access to all the different sets through the command:
\mathbb{set}
Examples:
for prime numbers using \mathbb{P},
for natural numbers using \mathbb{N},
for integers using \mathbb{Z},
for irrational numbers using \mathbb{I},
for rational numbers using \mathbb{Q},
for real numbers using \mathbb{R} and
for complex numbers using \mathbb{C}.
Positive real numbers can now be easily expressed :
by typing \mathbb{R}_{\leq0}.
February 12, 2008 at 10:14 am |
In the last line, where “\leq0″ should be replaced by “\geq 0″
March 17, 2008 at 3:37 pm |
Thanks guy! That’s really help
December 6, 2008 at 4:12 am |
Yep, this helped me ! Thanks!
March 15, 2009 at 6:27 pm |
Shouldn’t the integers be Z not I?
March 16, 2009 at 11:21 pm |
You were right, thanks for the comment. I changed it.
Cheers,
Tom
July 20, 2009 at 8:51 pm |
Wow, awesome! Exactly what I needed: thanks!