Inside one of these environments LATEX uses special formatting rules, the so called ``math mode''. Many of the following commands only work in math mode.
| description | name | result |
| greek letters | \alpha, \beta | |
| \Gamma, \Delta |
|
|
| sub and superscripts | a_i, e^{4\pi i} |
|
| relations | \leq, \geq, \subset |
|
| arrows | \leftrightarrow, \Rightarrow |
|
fractions |
\frac{2}{4-x} | |
| large brackets | \left(\frac{2}{4-x} \right) |
|
| square roots | \sqrt{42+y} | |
| integrals | \int_0^1 x^2 dx |
|
| LATEX input | result |
| a_n+1 | |
| a_{n+1} |
The generated document looks like:
![]()