Math Test
這是一篇用於測試 KaTeX 數學公式渲染效果的文章,涵蓋行內公式與區塊公式的展示,確保部落格系統能正確顯示複雜的學術符號與數學表達式。
This is a test post for rendering math formulas with KaTeX.
Inline Math
Here is an inline formula: $E=mc^2$.
skdjfksdjlkfjksdjfkl
Block Math
Here is a simple block formula:
$$
\sin(x)^2 + \cos(x)^2 = 1
$$
$$
\begin{aligned}
\sqrt{b^2 - 4ac}
\end{aligned}
$$
$$
\begin{aligned}
a + b &= c \
x &= y - z
\end{aligned}
$$