Linkita

Math Typesetting

··Kita

Linkita theme supports $\LaTeX$ mathematical formulas using KaTeX.

  • To enable KaTeX globally, set the parameter extra.math to true in a project's configuration.
  • To enable KaTeX on a per page basis, include the parameter extra.math = true in the frontmatter of content files.

Note: Use the online reference of Supported TeX Functions.

Examples

Inline math

When $x = \pi$, Euler's formula may be rewritten as $e^{i \pi} + 1 = 0$.

When $x = \pi$, Euler's formula may be rewritten as $e^{i \pi} + 1 = 0$.

Block math

$$
 \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$

$$ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } $$