summaryrefslogtreecommitdiff
path: root/tests/typ/math/basic.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/math/basic.typ')
-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