Zolt integrates KaTeX for high-performance mathematical rendering. You can use LaTeX syntax for both inline and block formulas.
Inline Math
Use single dollar signs $ for inline formulas:
- The mass-energy equivalence is defined by E=mc2.
- The Pythagorean theorem: a2+b2=c2.
- Greek letters: α,β,γ,Δ,Ω.
Block Math
Use double dollar signs $$ for standalone block formulas:
∫−∞∞e−x2dx=π Complex equations with alignment (using standard LaTeX environments):
(a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2 You can apply Zolt attributes to formulas, such as IDs for referencing or custom styling:
- Important formula: x=2a−b±b2−4ac
- Red block formula:
i=1∑ni=2n(n+1) Practical Examples
Statistics
The standard normal distribution probability density function:
f(x)=σ2π1e−21(σx−μ)2 Physics
Maxwell's Equations:
∇⋅E=ε0ρ
∇⋅B=0
∇×E=−∂t∂B
∇×B=μ0(J+ε0∂t∂E)
Trigonometry
| Function | Identity |
| Sine | sin2θ+cos2θ=1 |
| Tangent | tanθ=cosθsinθ |
← Back to Examples Index