Ketaksamaan, kesetaraan, subset, superset, dan simbol perbandingan.
Relation symbols in LaTeX compare two expressions, and the common ones are all built in. Not equal in LaTeX is \neq (≠), approximately equal is \approx (≈), less than and greater than are typed as < and >, and less than or equal to is \leq (≤). Equivalence is \equiv, similar is \sim, congruent is \cong and proportional to is \propto. Negate any relation with \not in front, or load amssymb for dedicated forms like \nleq and slanted ones like \leqslant. The table lists the relations people use most, with the package each one needs; the full list follows below.
| Symbol | Command | Use | Package | Copy |
|---|---|---|---|---|
\neq | Not equal (alias \ne) | built in | ||
\approx | Approximately equal | built in | ||
< | Less than | built in | ||
> | Greater than | built in | ||
\leq | Less than or equal to | built in | ||
\geq | Greater than or equal to | built in | ||
\equiv | Equivalent, identical, congruent mod n | built in | ||
\sim | Similar, distributed as | built in | ||
\cong | Congruent, isomorphic | built in | ||
\propto | Proportional to | built in | ||
\ll | Much less than (\gg for much greater) | built in | ||
\leqslant | Slanted less than or equal to | amssymb |
Strict and partial orders, including \prec and \succeq, are on the order and inequality symbols page; subset relations are on the set theory symbols page.
\neq\approx\equiv\propto\sim\cong\subset\subseteq\subsetneq\supset\supseteq\perp\parallel\nparallel\prec\succ\preceq\succeq\asymp\triangleq