LaTeX Quick Reference Cheat Sheet
Getting Started with LaTeX Math

LaTeX is the standard for writing complex mathematical equations. This cheat sheet provides the code snippets for the most common symbols used in algebra, calculus, and logic. Simply type the LaTeX Code into the editor to see the Visual Result instantly.

Syntax Tips:
  • Use {} to group items (e.g., x^{10} vs x^10).
  • Spaces in your code are usually ignored by the renderer.
  • Commands always start with a backslash \.

Command List

Category / Desc LaTeX Code Visual / Result
Basic Math & Algebra
Fraction \frac{a}{b} a/b
Square Root \sqrt{x} √x
Nth Root \sqrt[n]{x} ⁿ√x
Power (Superscript) x^{2}
Subscript x_{i} xᵢ
Multiplication \times or \cdot × or ·
Division Symbol \div ÷
Plus / Minus \pm ±
Logic & Relations
Not Equal \neq
Approx. Equal \approx
Less/Greater or Equal \leq , \geq ≤ , ≥
Infinity \infty
Right Arrow \rightarrow or \to
Therefore \therefore
Calculus
Summation \sum_{i=1}^{n} x_i
Integral \int_{a}^{b} x dx
Limit \lim_{x \to \infty} lim
Partial Derivative \partial
Prime (Derivative) f'(x) f′(x)
Sets, Greek & Geometry
Greek Letters \alpha, \beta, \theta, \pi α, β, θ, π
Delta (Change) \Delta Δ
Angle \angle
Element Of \in
Union / Intersection \cup , \cap ∪ , ∩
For All / Exists \forall , \exists ∀ , ∃
Parentheses (Auto-resize) \left( \frac{a}{b} \right) ( ... )