Skip to content
All LaTeX symbols

Real numbers symbol (ℝ)

Set theory

ℝ

LaTeX command

\mathbb{R}

reals

Use inside math mode: $\mathbb{R}$ — needs \usepackage{amssymb}

Blackboard bold letters denote the standard number sets. \mathbb comes from amssymb (or amsfonts) in LaTeX and is built into KaTeX and MathJax, so it works in Confluence math macros without setup.

All ways to write it

CommandUsePackageCopy
\mathbb{R}realsamssymb
\mathbb{N}naturals ℕamssymb
\mathbb{Z}integers ℤamssymb
\mathbb{Q}rationals ℚamssymb
\mathbb{C}complex ℂamssymb
\mathbb{R}^nn-dimensional real spacenone

Commands marked with a package need that \usepackage line in a LaTeX document.

Example

f\colon \mathbb{R}^n \to \mathbb{R}, \quad f(x) = \|x\|^2

A real-valued function on n-dimensional space.

Questions

\mathbb is undefined — what do I load?

\usepackage{amssymb} in a LaTeX document. In KaTeX, MathJax, and Confluence math apps it is already available.

Related symbols

Using real numbers in Confluence

Confluence Cloud has no built-in LaTeX. With LaTeX Math for Confluence you add a math macro to any page, type \mathbb{R} and it renders inline or as a block, with a live preview while you edit. Every command on this page renders there without extra packages.