LaTeX Cheatsheet
Follow this LaTeX cheatsheet for quick reference when needed.
Most commonly used symbols and expressions
Input | Output |
---|---|
\geq | |
\leq | |
2^x | |
2^{2x} | |
F_x | |
F_{2x} | |
O(n) | |
O(n^2) | |
O(log \space n) | |
O(n^{2x}) | |
O(n \space log n) | |
O(log_2 \space n) | |
O(log_{2x} \space n) | |
x \times y | |
x \div y | |
\frac{x}{y} | |
\sqrt[n]{x} | |
\sum_{k=1}^n | |
\prod_{k=1}^n | |
\omega | |
\Omega | |
\theta | |
\Theta | |
& | |
$ | |
% | |
\infty | |
\approx | |
| Non-breaking space within Markdown |
Operators
Input | Output |
---|---|
\cos | |
\sin | |
\lim | |
\exp | |
\to | |
\infty | |
\times | |
\equiv | |
Greek letters
Input | Output |
---|---|
\alpha | |
\beta | |
\gamma | |
\pi | |
\phi | |
\varphi | |
Fractions and binomials
Input | Output |
---|---|
\frac{m!}{n!(m-n)!} | |
\binom{m}{k} | |
\frac{\frac{m}{3}}{m-n} | |
^5/_8 | |
Power and indices
Input | Output |
---|---|
m_{n+1} | |
m^2 | |
m_n^2 | |
Square root
Input | Output |
---|---|
\sqrt{2} | |
\sqrt[3]{2} | |
Brackets
Input | Output |
---|---|
(m) | |
[a] | |
\langle f \rangle | |
\ulcorner f \urcorner | |
Ceil and floor
Input | Output |
---|---|
\lceil x \rceil | |
\lfloor x \rfloor | |
\lfloor \frac{x-1}{2} \rfloor |
Sums and integrals
Input | Output |
---|---|
m’$ $m^{\prime} | |
m’’ | |
\hat{m} | |
\bar{m} | |
\grave{m} | |
\acute{m} | |
\dot{m} | |
\ddot{m} | |
\overline{mmm} | |
\check{m} | |
\vec{m} | |
\pm | |
\mp | |
\int y \mathrm{m} | |