--- title: 'KaTeX Examples' pubDate: '2025-05-19' --- This theme includes built-in KaTeX support for rendering mathematical expressions in your content. --- ## Examples - Inline math: $E = mc^2$ - Block math: $$ \begin{equation} \sum_{i=1}^{k+1} i = \left(\sum_{i=1}^{k} i\right) + (k+1) \end{equation} $$ $$ \begin{equation} = \frac{k(k+1)}{2} + k + 1 \end{equation} $$ $$ \begin{equation} = \frac{k(k+1) + 2(k+1)}{2} \end{equation} $$ $$ \begin{equation} = \frac{(k+1)(k+2)}{2} \end{equation} $$ $$ \begin{equation} = \frac{(k+1)((k+1)+1)}{2} \end{equation} $$ --- ## Ref - [KaTeX Documentation](https://katex.org/docs/supported.html)