mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
21 lines
291 B
XML
21 lines
291 B
XML
// Test math formulas.
|
|
|
|
---
|
|
The sum of $a$ and $b$ is $a + b$.
|
|
|
|
---
|
|
We will show that:
|
|
$[ a^2 + b^2 = c^2 ]$
|
|
|
|
---
|
|
Prove by induction:
|
|
$[ \sum_{k=0}^n k = \frac{n(n+1)}{2} ]$
|
|
|
|
---
|
|
// Error: 1-10 expected '}' found EOF
|
|
$\sqrt{x$
|
|
|
|
---
|
|
// Error: 2:1 expected closing bracket and dollar sign
|
|
$[a
|