Use MathJax to Write LaTex Expressions
by Neoren
Original code
original code of the blog is here
Basic syntax
Inline equations
Einstein mass-energy equation: $E=mc^2$
Equation block
Einstein mass-energy equation:
\(E=mc^2\)
Common math symbols
Superscript/subscript
$x^2$
$x^{2y}$
$x_2$
$x_{2y}$
Fraction
$\frac{x}{y}$
$\frac{x+1}{x-1}$
Square root
$\sqrt{x}$
$\sqrt[3]{x}$
Sum & Integration
$\sum_{i=1}^{n} x_i$
$\int_{0}^{1} f(x)dx$
Greek letters
$\alpha, \beta, \gamma, \pi, \theta$