Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > **Latex real numbers**

Set of real numbers in Latex

In old books, classic mathematical number sets are marked in bold as follows

`$\mathbf{R}$ is the set of real numbers.`

So we use the **\ mathbf** command. Which give:

$\mathbf{R}$ is the set of natural numbers.

You will have noticed that in recent books, we use a font that is based on double bars, this notation is actually derived from the writing of classic sets on the blackboard: indeed, on the blackboard we do not fill these sets, or it would take a ton of chalk !!! In Latex, we use the **amsfonts** package

In the preamble we have:

`\usepackage{amsfonts}`

and **\mathbb** command

`$\mathbb{R}$ is the set of real numbers.`

$\mathbb{R}$ is the set of real numbers.