Write beautiful mathematical equations and formulas using KaTeX syntax in your Markdown documents.
Wrap math in single dollar signs $...$ for inline equations that appear within text.
Einstein's famous equation: E = mc²
The Pythagorean theorem: a² + b² = c²
Euler's identity: eiπ + 1 = 0
Use double dollar signs $$...$$ to display math as a centered block equation.
The quadratic formula:
KaTeX supports hundreds of mathematical symbols. Here are some of the most commonly used ones.
\alpha\beta\gamma\Delta\sum\int\infty\sqrt{}\approx\neq\leq\geqUse \frac{numerator}{denominator} to create fractions.
Create matrices with pmatrix (parentheses) or bmatrix (brackets).
Combine multiple KaTeX features to write complex equations.