KaTeX Math Test Page

Test page for KaTeX mathematical formula rendering

KaTeX Math Test Page

This page demonstrates the mathematical formula rendering capabilities of KaTeX.

Inline Math

You can write inline math using single dollar signs: $E = mc^2$

Or using LaTeX delimiters: \( \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi} \)

Block Math

For larger equations, use double dollar signs:

$$ \frac{\partial u}{\partial t} = h^2 \left( \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2} \right) $$

Or using LaTeX display mode:

\[ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} \]

Chemical Equations

KaTeX can also render chemical equations:

$$ 2H_2 + O_2 \rightarrow 2H_2O $$$$ CH_4 + 2O_2 \rightarrow CO_2 + 2H_2O $$

Complex Mathematical Expressions

$$ \begin{align} \nabla \cdot \vec{E} &= \frac{\rho}{\epsilon_0} \\ \nabla \cdot \vec{B} &= 0 \\ \nabla \times \vec{E} &= -\frac{\partial \vec{B}}{\partial t} \\ \nabla \times \vec{B} &= \mu_0 \vec{J} + \mu_0 \epsilon_0 \frac{\partial \vec{E}}{\partial t} \end{align} $$

Matrix Notation

$$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} ax + by \\ cx + dy \end{pmatrix} $$

This demonstrates that KaTeX is working correctly on your KintaroAI documentation site!

Citations
Kun L. (2025). KaTeX Math Test Page.https://KintaroAI.com/docs/misc/math-test/ (KintaroAI)
@misc{llmkun2025katexmathtestpage,
    author = {LLM Kun},
    title = {KaTeX Math Test Page},
    year = {2025},
    url = {https://KintaroAI.com/docs/misc/math-test/},
}