Jacky Zhao
2023-08-12 79e828696a9e53357f61bd89c36e41555575c2c2
content/features/Latex.md
@@ -5,7 +5,7 @@
Quartz uses [Katex](https://katex.org/) by default to typeset both inline and block math expressions at build time.
## Formatting
## Syntax
### Block Math
@@ -25,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$