Real number (ℝ) symbol in LaTeX
In this tutorial, you will learn how to get the real number symbol in LaTeX. I will show you different styles of real number symbols with different packages. You can try with the amssymb package and \mathbb{R} command.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
\underline{Real number symbol with \texttt{amssymb} package}
\verb|$\mathbb{R}$| $\rightarrow$ $\mathbb{R}$
$\mathbb{R}\in \left[x_1,x_n\right]$
\end{document}Output:

Real Number symbol with other packages
Also, there are a lot more packages that provide different styles of the Real Number symbol. Follow the table given below.
| Package | Command | Output |
|---|---|---|
amssymb | $\mathbb{R}$ | |
txfonts | $\mathbb{R}$ | |
txfonts | $\varmathbb{R}$ | |
pxfonts | $\mathbb{R}$ | |
bbold | $\mathbb{R}$ | |
bbm | $\mathbbm{R}$ | |
bbm | $\mathbbmss{R}$ | |
bbm | $\mathbbmtt{R}$ | |
dsserif | $\mathbb{R}$ | |
None | $\Re$ |
Positive and Negative Real Number symbol
A positive Real Number is denoted by ℝ+ and a negative Real number symbol is denoted by ℝ–. To get these symbols in LaTeX, you can use superscript. Let’s see an example for a better understanding.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
\underline{Real number symbol with \texttt{amssymb} package}
\verb|$\mathbb{R}^+$| $\rightarrow$ $\mathbb{R}^+$
\verb|$\mathbb{R}^-$| $\rightarrow$ $\mathbb{R}^-$
\verb|$\mathbb{R}_+$| $\rightarrow$ $\mathbb{R}_+$
\verb|$\mathbb{R}_-$| $\rightarrow$ $\mathbb{R}_-$
\end{document}Output:

Leave a Reply