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.

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.

PackageCommandOutput
amssymb$\mathbb{R}$$\mathbb{R}$
txfonts$\mathbb{R}$$\mathbb{R}$
txfonts$\varmathbb{R}$$\varmathbb{R}$
pxfonts$\mathbb{R}$$\mathbb{R}$
bbold$\mathbb{R}$$\mathbb{R}$
bbm$\mathbbm{R}$$\mathbbm{R}$
bbm$\mathbbmss{R}$$\mathbbmss{R}$
bbm$\mathbbmtt{R}$$\mathbbmtt{R}$
dsserif$\mathbb{R}$$\mathbb{R}$
None$\Re$$\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:

Positive and Negative real number symbol.

Leave a Reply

Your email address will not be published. Required fields are marked *