Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Relations›Sim

Sim in LaTeX

The LaTeX command for sim (∼) is \sim (similar to).

∼\sim∼
\sim
Relations · Unicode ∼ (U+223C) · no package needed

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

Which command should you use?

CommandPackageUse it when
\sim recommendednoneIs distributed as, or is similar to.
\tilde{x} noneTilde accent over one letter.
\widetilde{xy} noneWide tilde over several letters.
\textasciitilde noneA tilde character in running text, e.g. in a URL.
Table 1. Ways to write sim in LaTeX. Every line was compiled with pdfLaTeX (TeX Live 2026) loading only the package shown.
Common mistake. A bare ~ is a non-breaking space in LaTeX, not a tilde: in math use \sim, in text \textasciitilde.

How to type Sim

Write \sim 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.

Example
$X \sim \mathcal{N}(0, 1)$X∼N(0,1)X \sim \mathcal{N}(0, 1)X∼N(0,1)

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

Often confused with

  • Approx \approx (≈): approximately equal
  • Simeq \simeq (≃)
  • Cong \cong (≅): congruent / isomorphic

Related Relations symbols

≤\leq≥\geq⩽\leqslant⩾\geqslant≪\ll≫\gg≡\equiv≃\simeq≈\approx≅\cong∝\propto⊥\perp∣\mid∤\nmid

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

FAQ

How do you write sim (∼) in LaTeX?

Use \sim in math mode; it needs no extra package. For example, $X \sim \mathcal{N}(0, 1)$.

Which package provides \sim?

None: \sim is built into LaTeX, so no extra package is required.

What is the most common mistake with sim in LaTeX?

A bare ~ is a non-breaking space in LaTeX, not a tilde: in math use \sim, in text \textasciitilde.

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