Plain > and < work directly in math mode. The or-equal forms need \geq and \leq. \gg and \ll express orders of magnitude. The slanted variants from amssymb are a typographic preference some journals require.
All ways to write it
| Command | Use | Package | Copy |
|---|---|---|---|
> | greater than | none | |
< | less than | none | |
\geq | greater than or equal, ≥ (also \ge) | none | |
\leq | less than or equal, ≤ (also \le) | none | |
\gg | much greater than, ≫ | none | |
\ll | much less than, ≪ | none | |
\geqslant | slanted ⩾ | amssymb | |
\leqslant | slanted ⩽ | amssymb | |
\ngeq | not ≥ | amssymb | |
\nleq | not ≤ | amssymb |
Commands marked with a package need that \usepackage line in a LaTeX document.
Example
0 \leq x < 1 \quad\text{and}\quad n \gg 1A half-open interval and a large-n condition.
Questions
Why does < break my document outside math mode?
In text mode with the default OT1 encoding < and > print as ¡ and ¿. Use $<$ or load fontenc with T1.
Related symbols
- Not equal ≠
\neq - Approximately ≈
\approx - Subset ⊆
\subseteq
Using greater / less than in Confluence
Confluence Cloud has no built-in LaTeX. With LaTeX Math for Confluence you add a math macro to any page, type > 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.