summaryrefslogtreecommitdiff
path: root/tests/typ/elements/math.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/elements/math.typ')
-rw-r--r--tests/typ/elements/math.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/elements/math.typ b/tests/typ/elements/math.typ
new file mode 100644
index 00000000..cad01d10
--- /dev/null
+++ b/tests/typ/elements/math.typ
@@ -0,0 +1,12 @@
+// Test math formulas.
+
+---
+The sum of $a$ and $b$ is $a + b$.
+
+---
+We will show that:
+$[ a^2 + b^2 = c^2 ]$
+
+---
+// Error: 2:1 expected closing bracket and dollar sign
+$[a