Here’s a collection of LaTeX math formulas you can use to test different features (inline, display, fractions, matrices, integrals, sums, etc.).
🔹 Inline Math
This is an inline formula: eiπ+1=0
Another one with fractions and roots: c2+d2a2+b2
🔹 Display Math (Centered)
∫01x2,dx=31
i=1∑ni=2n(n+1)
x→0limxsinx=1
🔹 Matrix
A=147258369
🔹 Cases / Piecewise Function
f(x)={x2−xif x≥0if x<0
🔹 Align Environment
(a+b)2(a−b)2=a2+2ab+b2=a2−2ab+b2
🔹 Advanced (Competitive Programming Style 😄)
(kn)=k!(n−k)!n!
gcd(a,b)=gcd(b,amodb)
E[X]=i∑xi⋅Pr(X=xi)
If you'd like, I can also give you:
- A stress test with very nested formulas
- TikZ diagram example
- Number theory heavy formulas
- Or Lean-style math notation examples
评论 (3)
请先登录后发表评论