summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-18 19:09:19 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-18 19:09:57 +0200
commit3965e10281ea3c8754a1877c9f7e71c1930bf4c3 (patch)
treee221b11692ac3af9f97c66625824e1c4e345c2eb /tests/typ/math
parent486f7b1bca15af3805ae1a8f63d72827f227a3d2 (diff)
Hack in ReX for now
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/basic.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/math/basic.typ b/tests/typ/math/basic.typ
index cad01d10..33246261 100644
--- a/tests/typ/math/basic.typ
+++ b/tests/typ/math/basic.typ
@@ -8,5 +8,13 @@ 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