Mathematical Formulas
Zolt integrates KaTeX for high-performance mathematical rendering.
You can use LaTeX syntax for both inline and block formulas. For a full list of supported LaTeX functions, you can refer to the official KaTeX documentation .
Inline Math
Use single dollar signs $ for inline formulas:
zolt
The mass-energy equivalence is defined by $E = mc^2$.
The Pythagorean theorem: $a^2 + b^2 = c^2$.
Greek letters: $\alpha, \beta, \gamma, \Delta, \Omega$.
Result
The mass-energy equivalence is defined by .
The Pythagorean theorem: .
Greek letters: .
Block Math
Use double dollar signs $$ for standalone block formulas:
zolt
$$
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
$$
Result
Advanced Equations
Aligned Equations
zolt
$$
\begin{aligned}
(a+b)^2 &= (a+b)(a+b) \\
&= a^2 + ab + ba + b^2 \\
&= a^2 + 2ab + b^2
\end{aligned}
$$
Result
Quadratic Formula
zolt
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$
Result
Common Mathematical Symbols
Operations
| Symbol | LaTeX | Example |
|---|---|---|
| Fraction | \frac{a}{b} | |
| Square root | \sqrt{x} | |
| nth root | \sqrt[n]{x} | |
| Power | a^b | |
| Subscript | a_b |
Greek Letters
| Lowercase | LaTeX | Uppercase | LaTeX |
|---|---|---|---|
\alpha | \Alpha | ||
\beta | \Beta | ||
\gamma | \Gamma | ||
\delta | \Delta | ||
\epsilon | \Epsilon | ||
\theta | \Theta | ||
\lambda | \Lambda | ||
\mu | \Mu | ||
\pi | \Pi | ||
\sigma | \Sigma | ||
\phi | \Phi | ||
\omega | \Omega |
Relations
| Symbol | LaTeX |
|---|---|
| ≠ | \neq |
| ≤ | \leq |
| ≥ | \geq |
| ≈ | \approx |
| ≡ | \equiv |
| ∈ | \in |
| ∉ | \notin |
| ⊂ | \subset |
| ∪ | \cup |
| ∩ | \cap |
Calculus
| Symbol | LaTeX |
|---|---|
| ∫ | \int |
| ∮ | \oint |
| ∂ | \partial |
| ∇ | \nabla |
| ∞ | \infty |
| lim | \lim |
| sum | \sum |
| prod | \prod |
Trigonometry
| Function | Identity | LaTeX |
|---|---|---|
| Sine | \sin^2\theta + \cos^2\theta = 1 | |
| Tangent | \tan\theta = \frac{\sin\theta}{\cos\theta} |
Formulas with Attributes
Apply Zolt attributes to formulas:
zolt
$$ \sum_{i=1}^{n} i = \frac{n(n+1)}{2} $$ {color=red}
Result
Best Practices
- Use inline math for short formulas within text
- Use block math for complex equations
- Escape dollar signs with
\$if needed literally - Test rendering especially for complex LaTeX
© 2026 Marmotz