typst/tests/typ/math/simple.typ
2022-12-07 14:01:20 +01:00

25 lines
316 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 = (n(n+1))/2 $
---
We know that:
$ floor(x/2) <= ceil(x/2) $
---
// Test that blackboard style looks nice.
$ f: NN -> RR $
---
// Error: 1:3 expected dollar sign
$a