Katex Math Syntax

H6 tháng 4, 2024

Katex sample

you can reference to https://en.wikibooks.org/wiki/LaTeX/Mathematics

Raw markdown

This is an inline equation: $$V_{sphere} = \frac{4}{3}\pi r^3$$,<br>
followed by a display style equation:

$$V_{sphere} = \frac{4}{3}\pi r^3$$

Output

This is an inline equation:

Vsphere=43πr3\begin{align} V_{sphere} = \frac{4}{3}\pi r^3 \end{align} kn+1=n2+kn2kn1k_{n+1} = n^2 + k_n^2 - k_{n-1} i=110ti\displaystyle\sum_{i=1}^{10} t_i 0exdx\int_0^\infty \mathrm{e}^{-x}\,\mathrm{d}x