Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Misc Math›Prime

Prime in LaTeX

The LaTeX command for prime (′) is x' (prime / derivative).

x′x'x′
x'
Misc Math · Unicode ′ (U+2032) · no package needed

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

How to type Prime

Write x' inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.

x' is a math-mode symbol: in running text, wrap it in $...$. With unicode-math under XeLaTeX or LuaLaTeX, typing ′ in a formula gives the same symbol.

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

Related Misc Math symbols

♠\spadesuitℏ\hbarℓ\ell℘\wpℜ\Reℑ\Imℵ\aleph″x''∠\angle∡\measuredangle△\triangle⋄\diamond⊙\bigodot⊕\bigoplus

More math symbols in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write prime (′) in LaTeX?

Use x' in math mode; it needs no extra package. For example, $x'$.

Which package provides x'?

None: x' is built into LaTeX, so no extra package is required.

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