as-folio uses KaTeX to render LaTeX mathematics. Enable it per-post with math: true in the frontmatter.
Inline math
Write inline math between single dollar signs: $...$. For example, the energy-mass equivalence E=mc2 is one of the most famous equations in physics.
The Euler identity eiπ+1=0 is often cited as the most beautiful equation in mathematics.
Display equations
Use double dollar signs for display (block) equations:
∇⋅E=ε0ρ
∇×B=μ0J+μ0ε0∂t∂E
These are two of Maxwell’s equations for electromagnetism.
Fractions and integrals
∫−∞∞e−x2dx=π
The Lorentz factor from special relativity:
γ=1−v2/c21
Matrices
(acbd)(xy)=(ax+bycx+dy)
Aligned equations
The derivation of general relativity’s field equations:
Gμν+Λgμνκ=κTμν=c48πG
where Gμν is the Einstein tensor, Λ is the cosmological constant, gμν is the metric tensor, and Tμν is the stress-energy tensor.