KATEX Test Suite
1. Inline & Display Math
- Inline: E=mc2, a2+b2=c2, f(x)=sin(x)
- Display:
x→0limxsinx=1
∫−∞∞e−x2dx=π
2. Greek Letters (Complete 24 Letters & Variants)
α,β,γ,δ,ϵ,ζ,η,θ,ι,κ,λ,μ,ν,ξ,ο,π,ρ,σ,τ,υ,ϕ,χ,ψ,ω
A,B,Γ,Δ,E,Z,H,Θ,I,K,Λ,M,N,Ξ,O,Π,P,Σ,T,Υ,Φ,X,Ψ,Ω
ε,ϑ,ϰ,ϖ,ϱ,ς,φ,Γ,Δ,Θ,Λ,Ξ,Π,Σ,Υ,Φ,Ψ,Ω
3. Mathematical Symbols & Logic
- Operators & Relations: ±,∓,×,÷,⋅,=,≤,≥,≈,≡,∝,∞,∂,∇
- Sets & Logic: ∈,∈/,⊂,⊆,∪,∩,∅,∀,∃,⟹,⟺,→,↦,R,C,Z,N
4. Structures (Matrices, Cases, Alignment)
Matrices & Delimiters
(acbd),[1001],xzyw,(∏j=1myj∑i=1nxi)
Cases & Alignment
f(x)=⎩⎨⎧−x0x(x<0)(x=0)(x>0)2x+yx−3y=5=−1
5. Famous Mathematical & Physical Equations (Samples)
Algebra, Analysis, and Geometry
- Euler's Identity & Euler's Formula
eiπ+1=0,eiθ=cosθ+isinθ
- Gaussian Integral
∫−∞∞e−x2dx=π
- Basel Problem (ζ(2))
n=1∑∞n21=1+41+91+161+⋯=6π2
- Cauchy's Integral Formula
f(a)=2πi1∮γz−af(z)dz
- Fourier Transform & Inverse Fourier Transform
f^(ξ)=∫−∞∞f(x)e−2πixξdx,f(x)=∫−∞∞f^(ξ)e2πixξdξ
- Binomial Theorem
(x+y)n=k=0∑n(kn)xn−kyk
- Cauchy-Schwarz Inequality
(k=1∑nakbk)2≤(k=1∑nak2)(k=1∑nbk2)
Physics and Applied Mathematics
- Maxwell's Equations (Electromagnetism)
∇⋅E∇×E=ε0ρ=−∂t∂B∇⋅B∇×B=0=μ0J+μ0ε0∂t∂E
- Schrödinger Equation (Quantum Mechanics)
iℏ∂t∂ψ(r,t)=(−2mℏ2∇2+V(r,t))ψ(r,t)
- Einstein Field Equations (General Relativity)
Gμν+Λgμν=c48πGTμν
- Navier-Stokes Equations (Fluid Dynamics)
ρ(∂t∂u+(u⋅∇)u)=−∇p+μ∇2u+f
- Heat Equation / Diffusion Equation
∂t∂u=α∇2u
- Normal Distribution (Probability Density Function)
f(x)=σ2π1exp(−2σ2(x−μ)2)