Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Number Sets›Quaternions

Quaternions in LaTeX

The LaTeX command for quaternions (ℍ) is \mathbb{H}.

H\mathbb{H}H
\mathbb{H}
Number Sets · Unicode ℍ (U+210D) · needs amssymb

Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.

How to type Quaternions

Write \mathbb{H} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. This symbol needs the amssymb package, so add \usepackage{amssymb} to your preamble.

The blackboard-bold letters come from the AMS fonts, so \mathbb{H} needs \usepackage{amssymb}. With unicode-math under XeLaTeX or LuaLaTeX, typing ℍ in a formula gives the same symbol. Not to be confused with \mathbb{C} (ℂ).

Example
$x \in \mathbb{H}$x∈Hx \in \mathbb{H}x∈H

Open this example in the live preview: it renders as you type, with no compiler and no signup.

Often confused with

  • Blackboard bold C \mathbb{C} (ℂ): complex numbers
  • Octonions \mathbb{O} (𝕆)

Related Number Sets symbols

ℕ\mathbb{N}ℤ\mathbb{Z}ℚ\mathbb{Q}ℝ\mathbb{R}ℂ\mathbb{C}ℙ\mathbb{P}𝕆\mathbb{O}

Number sets in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write quaternions (ℍ) in LaTeX?

Use \mathbb{H} in math mode after adding \usepackage{amssymb} to your preamble. For example, $x \in \mathbb{H}$.

Which package provides \mathbb{H}?

It comes from the amssymb package: add \usepackage{amssymb} to your preamble.

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms