Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > Latex natural numbers

Latex natural numbers

How to write set of Natural numbers


Set of natural numbers

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

$\mathbf{N}$ is the set of naturel numbers.

So we use the \ mathbf command. Which give:

$\mathbf{N}$ 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{N}$ is the set of natural numbers.

$\mathbb{N}$ is the set of natural numbers.