summaryrefslogtreecommitdiff
path: root/tests/typ/math/basic.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-03-11 11:58:56 +0100
committerLaurenz <laurmaedje@gmail.com>2022-03-11 11:58:56 +0100
commite6b532391deb1e30dc356c4d20dd48199f748f29 (patch)
tree7b631414931164b9a47c9d154172195fc0e1316c /tests/typ/math/basic.typ
parentb71113d37a29bab5c7dc4b501c33ee9afbdb8213 (diff)
More restructuring
Diffstat (limited to 'tests/typ/math/basic.typ')
-rw-r--r--tests/typ/math/basic.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/math/basic.typ b/tests/typ/math/basic.typ
new file mode 100644
index 00000000..cad01d10
--- /dev/null
+++ b/tests/typ/math/basic.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