Jacky Zhao
2023-08-11 259d0a6d9ac5a02f0281e3fc061861b23481348f
content/features/Latex.md
@@ -1,3 +1,8 @@
---
tags:
  - plugin/transformer
---
Quartz uses [Katex](https://katex.org/) by default to typeset both inline and block math expressions at build time.
## Formatting
@@ -20,6 +25,19 @@
    \,d\xi
$$
$$
\begin{aligned}
a &= b + c \\ &= e + f \\
\end{aligned}
$$
$$
\begin{bmatrix}
1 & 2 & 3 \\
a & b & c
\end{bmatrix}
$$
### Inline Math
Similarly, inline math can be rendered by delimiting math expression with a single `$`. For example, `$e^{i\pi} = -1$` produces $e^{i\pi} = -1$