summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-26 15:39:32 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-26 16:12:57 +0200
commit704f2fbaf1b4483caa12f249a222c49e44f08961 (patch)
tree146f7813fe63409df2c1bbaa487731e992d3ac71 /tests/typ/math
parent2661f1a5066bd5e3f8a9c68e4a5c304c248efcb7 (diff)
Description lists, link syntax, and new enum syntax
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/basic.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/math/basic.typ b/tests/typ/math/basic.typ
index df05a567..77d2e535 100644
--- a/tests/typ/math/basic.typ
+++ b/tests/typ/math/basic.typ
@@ -5,15 +5,15 @@ The sum of $a$ and $b$ is $a + b$.
---
We will show that:
-$[ a^2 + b^2 = c^2 ]$
+$ a^2 + b^2 = c^2 $
---
Prove by induction:
-$[ \sum_{k=0}^n k = \frac{n(n+1)}{2} ]$
+$ \sum_{k=0}^n k = \frac{n(n+1)}{2} $
---
// Test that blackboard style looks nice.
-$[ f: \mathbb{N} \rightarrow \mathbb{R} ]$
+$ f: \mathbb{N} \rightarrow \mathbb{R} $
---
#set math(family: "IBM Plex Sans")
@@ -26,5 +26,5 @@ $a$
$\sqrt{x$
---
-// Error: 2:1 expected closing bracket and dollar sign
-$[a
+// Error: 2:1 expected dollar sign
+$a