*This article aims to show you the simplest and easiest way to write with **the mathbb command in LaTeX**.*

Maybe you have heard or read about special commands for different fonts to use in LaTeX, today you will learn how to use it in your document

**Blackboard Bold**

This font is usually used in mathematics to represent the set of real numbers **R**, denoted by white spaces between each line composing the letters, usually just uppercase letters are used with this font. Some people called it Double-Struck.

**Mathbb Command in LaTeX**

For some reason LaTeX does not have the ability to write with this font by default, therefore we will need to use external packages. Remember to load the packages in the preamble of your document.

There are two main packages that you can use, the amssymb packages or the amsfonts package. Both of them work great for our purpose. To write this symbol or sign, you use the command \**mathbb**{}, inside the brackets {} goes the argument you will want to write with the font.

For example

```
\documentclass{article}
\usepackage{amssymb} %we added the package to the document
\begin{document}
The set of real numbers is denoted by $\mathbb{R}$ %the command is used here
\end{document}
```

Output for \**mathbb** command

It is important to notice that the new command is used inside the math mode, so pay attention where you place this command or LaTeX will hit you with an error message. Another example could be

```
\documentclass{article}
\usepackage{amsfonts} %we added the package to the document
1) Other set of numbers can be $\mathbb{N}$ or $\mathbb{Q}$.\\
\vspace{5pt}
2) $\backslash$mathbb\{\} does not work with\\
Greek letters $\mathbb{\alpha}$ is the same as $\alpha$
\end{document}
```

One key aspect regarding the command is that it only works with letters, it does not work with greek letters or symbols or numbers. So better do your little research if you’re going to write with this font or command in other languages.

I hope this tutorial was helpful, and as always keep writing in LaTeX

*All the images were created in LaTeX by the author.*

**Further Reading**

**LaTex Tutorial** **on Symbols**

- How To Create A Cross Product Symbol In LaTeX
- How to create a hat symbol in LaTeX?
- How to create a prime symbol in LaTeX?
- How to create an absolute value symbol in LaTeX?
- How to create an approximate symbol in LaTeX?
- How to create an intersection symbol in LaTeX?
- How to create the empty set symbol in LaTeX?
- How to write a degree symbol in LaTeX?
- How to write a dot product in LaTeX?
- How to Write a Greater Than Symbol in LaTeX?
- How to write a norm symbol in LaTeX?
- How to write A Plus-Minus Symbol in LaTeX
- How to write a proportional to symbol in LaTeX?
- How to write a real number symbol in LaTeX?
- How to write a tilde symbol in LaTeX?
- How to write a union symbol in LaTeX?
- How to write a vector in LaTeX?
- How to write an infinity symbol in LaTeX?
- How to write bold text in LaTeX?
- How To Write Dots Symbols In LaTeX?
- How to write the arrow symbols in LaTeX
- How to write the Degree celsius symbol in LaTeX?
- How to write the equal or not equal symbol in LaTeX?
- How to write the Euro symbol in LaTeX?
- How to write the floor symbol in LaTeX?
- How to write the gradient operator symbol in LaTeX
- How To Write The Greater Than Or Equal To Symbol In LaTeX?
- How to write the integer number symbol in LaTeX?
- How to write the less than symbol in LaTeX?
- How to write the Natural numbers symbol in LaTeX?
- How to write the parallel symbol in LaTeX?
- How to write the percent symbol in LaTeX?
- How to write the square root symbol in LaTeX?
- How To Write The Symbol For A Subset In LaTeX?
- How to write the symbol for therefore in LaTeX?