Written and maintained by CASRAI Editorial Board
Published
On this page
Typesetting mathematical expressions in academic research requires precise notation for estimates, asymptotic limits, and numerical approximations. In LaTeX, approximation relationships are handled through dedicated relational math commands rather than arbitrary typographic accents. This ensures that the TeX formatting engine automatically balances spacing around the symbol according to mathematical publishing conventions.
What it is used for in research
In quantitative academic disciplines—including physics, engineering, statistics, computer science, and economics—researchers routinely communicate values that are close to, but not strictly identical with, theoretical constants or measured data. Standard LaTeX defines approximation symbols as binary relation operators (classified internally as mathrel), which governs how spacing is applied relative to adjacent variables, operators, and numerals.
Different research contexts require distinct approximation relations:
- Numerical approximation (
approx): Denotes that two numerical quantities are approximately equal, such as reporting rounded empirical values, physical constants, or truncated decimal expansions (e.g., ( pi approx 3.1416 )). - Statistical distribution and similarity (
sim): Indicates that a random variable follows a specific distribution (e.g., ( X sim mathcal{N}(0, 1) )) or represents proportional scaling. For broader context on related relational notations, see our guide to proportional symbol in LaTeX and the index of LaTeX math signs. - Asymptotic equality (
simeq): Represents “similar or equal to”, frequently applied in asymptotic analysis when two functions converge at a shared rate. - Congruence and isomorphism (
cong): Designates geometric congruence, modular equivalence in number theory, or structural isomorphism in abstract algebra. - Asymptotic equivalence (
asymp): Denotes asymptotic equivalence in analytic number theory and algorithm complexity analysis. - Ordering and inequalities: Often paired with inequalities when bounding approximation errors, such as relations described in greater than in LaTeX.
Install or access (official source only)
LaTeX typesetting tools are freely available across major operating systems through official distributions maintained by the Comprehensive TeX Archive Network (CTAN) and the TeX Users Group (TUG):
- TeX Live: The comprehensive, cross-platform TeX distribution for Linux, macOS (distributed as MacTeX), and Windows. Download from CTAN at
https://www.ctan.org/pkg/texlive. - MiKTeX: An open-source distribution primarily for Windows, macOS, and Linux that includes automatic on-the-fly package installation. Available from
https://miktex.org. - Overleaf: A web-based cloud platform providing collaborative LaTeX authoring directly inside modern web browsers at
https://www.overleaf.com.
Core approximation commands—including approx, sim, simeq, cong, and asymp—are built directly into the base LaTeX2e kernel and require no external package installations. Extended variants such as thickapprox, approxeq, lessapprox, gtrapprox, and napprox are supplied by the American Mathematical Society (AMS) font library through the standard amssymb package, which comes pre-installed in all standard TeX distributions.
Step-by-step task (numbered, with menu names or commands exactly as in the current docs)
Follow these steps to insert and format approximation symbols within a LaTeX document:
- Open your document in your chosen LaTeX environment: Create or open a
.texsource file in your editor (e.g., TeXworks, TeXstudio, Visual Studio Code with the LaTeX Workshop extension, or Overleaf). - Configure required packages in the document preamble: While
approxrequires no extra packages, import the standard AMS math packages beforebegin{document}to access extended symbols and display math environments:documentclass{article} usepackage{amsmath} usepackage{amssymb} begin{document} - Insert inline approximation symbols using math mode: Approximation symbols are valid only inside math mode. Enclose the command within inline math delimiters
( ... )or$ ... $:The estimated critical temperature is ( T_c approx 4.2 text{ K} ). - Select the specific command matching your mathematical intent: Choose from the standard LaTeX kernel and
amssymbsymbol set:
Approximate symbol LaTeX commands and packages
Symbol LaTeX Command Required Package Standard Mathematical Usage ≈ approxNone (LaTeX2e core) Approximately equal to; numerical approximation ∼ simNone (LaTeX2e core) Similar to; distributed as (statistics) ≃ simeqNone (LaTeX2e core) Asymptotically equal to; similar or equal ≅ congNone (LaTeX2e core) Congruent to; isomorphic ≍ asympNone (LaTeX2e core) Asymptotically equivalent ≊ approxeqamssymbApproximately equal or equivalent ≈ (thick) thickapproxamssymbBold or emphasized approximately equal ⪅ lessapproxamssymbLess than or approximately equal to ⪆ gtrapproxamssymbGreater than or approximately equal to ≉ notapproxNone (LaTeX2e core) Not approximately equal (generic slash overlay) ≉ napproxamssymbNot approximately equal (dedicated negated glyph) - Typeset multi-line or display equations: For standalone equations, use
[ ... ]or theequationandalign*environments provided byamsmath:begin{equation} f(x) approx f(x_0) + f'(x_0)(x - x_0) end{equation} - (Optional) Define semantic macro shortcuts: If you write recurring approximation statements, you can create a custom macro in your preamble using
newcommand, as detailed in our guide to new command in LaTeX:newcommand{approxval}{mathrel{approx}} - Compile your document: Run
pdflatex,xelatex, orlualatexon your document to produce the compiled PDF.
Output and how to read it
When LaTeX processes an approximation command, it formats the glyph according to strict typographical principles:
- Automatic relational spacing: Because LaTeX classifies
approxas a binary relation (mathrel), it automatically inserts horizontal spacing ofthickmuskip(5/18 of an em) on either side of the symbol in display and text math modes. You do not need to insert manual spaces like;orquadaround the command. - Glyph rendering: The command
approxoutputs the standard double-wave approximation glyph (≈, Unicode U+2248). In standard Computer Modern math fonts, the upper and lower waves are symmetrically balanced. - Display vs. script size: When used in superscripts or subscripts (for example, ( A_{x approx 0} )), LaTeX scales the symbol down automatically to script or scriptscript size, maintaining legibility without distorting line thickness.
- Reading semantic differences in compiled output: In peer-reviewed manuscripts, readers differentiate between a single wavy tilde (∼, indicating distribution or proportionality), a tilde above a horizontal line (≃, indicating asymptotic equality), and the double wave (≈, indicating numerical approximation). Selecting the exact command ensures your published figures and proofs reflect standard disciplinary conventions.
Troubleshooting
The following compilation errors and typographical issues are common when working with approximation symbols in LaTeX:
- Error:
! LaTeX Error: approx allowed only in math mode.
Cause: The command was entered in ordinary paragraph text without entering math mode (for example,The speed is approx 300 m/s.).
Solution: Place the command inside math delimiters:The speed is ( approx 300 text{ m/s} ). - Error:
! Undefined control sequence: approxeqornapprox
Cause: Extended relational commands require the AMS symbol fonts, which are not loaded by default.
Solution: Addusepackage{amssymb}to the document preamble beforebegin{document}. - Collapsing spacing around the symbol:
Cause: Placing the symbol inside curly braces (e.g.,x{approx}y) or wrapping it in text formatting macros converts the atom type frommathreltomathord(ordinary math atom), stripping the automaticthickmuskipspacing.
Solution: Write the command directly between variables (x approx y), or explicitly restore relation spacing by wrapping custom constructions inmathrel{...}. - Misaligned negation slash with
notapprox:
Cause: The core LaTeXnotmacro superimposes a generic slash glyph over the following character, which can appear off-center over wavy approximation symbols.
Solution: Loadamssymband use the dedicated pre-composed negation commandnapproxinstead.
Free alternatives (table)
Researchers have several free and open-source options for typesetting approximation symbols across diverse workflows, from traditional TeX engines to web and modern markup systems:
| Tool / System | Approximation Command / Syntax | Package Requirements | Primary Technical Advantages | Deployment / Platform |
|---|---|---|---|---|
| Core LaTeX (pdfLaTeX) | approx, sim, simeq |
None (LaTeX2e base) | Universal compatibility across publisher submission portals; zero configuration | Cross-platform (TeX Live, MiKTeX, MacTeX) |
| AMS-LaTeX | thickapprox, approxeq, napprox |
usepackage{amssymb} |
Extensive AMS symbol coverage; high-precision font metrics | Bundled with all standard TeX distributions |
| Modern Unicode TeX (XeLaTeX / LuaLaTeX) | approx or literal ≈ |
usepackage{unicode-math} |
Native OpenType math font support; allows direct UTF-8 character entry | Included in modern TeX Live and MacTeX |
| Typst | approx or ~= or literal ≈ |
None (built-in) | Sub-second compilation speeds, modern syntax, and built-in package management | Open source CLI and web application |
| KaTeX / MathJax | approx, sim, simeq |
None (JavaScript library) | Fast client-side equation rendering for research websites, blogs, and notebooks | Web browsers, Jupyter Notebooks, Markdown |
FAQ
What is the command for the approximately equal sign in LaTeX?
The standard command is approx. It must be typed in math mode (for example, ( x approx y ) or $x approx y$), rendering the double-wave symbol (≈).
Do I need to import a package to use approx in LaTeX?
No. The approx command is built directly into the base LaTeX2e kernel and requires no package imports. However, extended symbols like approxeq, thickapprox, and napprox require usepackage{amssymb}.
What is the difference between approx, sim, and simeq in LaTeX?
In mathematical typesetting, approx (≈) represents numerical approximation or “almost equal to”. The command sim (∼) represents a similarity relation, an asymptotic relation, or a probability distribution. The command simeq (≃) represents asymptotic equality, combining a tilde over a single horizontal bar.
How do I write “not approximately equal” in LaTeX?
In base LaTeX, write notapprox. If you have loaded the amssymb package, use the dedicated command napprox, which provides a cleaner, pre-composed negated glyph.
How do I type the approximate symbol in text without entering math mode?
LaTeX does not provide a native text-mode command for the approximation symbol. The standard approach is to enter inline math mode briefly using (approx). When compiling with XeLaTeX or LuaLaTeX and the fontspec package, you can also paste the literal UTF-8 character ≈ directly into your text.
Sources (official docs)
- LaTeX2e: An unofficial reference manual – Math symbols (Read November 8, 2026).
- Scott Pakin, The Comprehensive LaTeX Symbol List, CTAN (Read November 8, 2026).
- Overleaf Documentation: Mathematical expressions (Read November 8, 2026).
- Overleaf Documentation: List of Greek letters and math symbols (Read November 8, 2026).
- American Mathematical Society: User’s Guide for the amsmath Package (amsldoc) (Read November 8, 2026).
- American Mathematical Society: The amsfonts and amssymb Symbol Documentation (Read November 8, 2026).







