summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-24 19:30:09 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-24 19:30:09 +0200
commit018860da9c72df846d80051a1408b3e632fbaaf6 (patch)
treef499a4908cd59b087b107015789a606b370fd1fd /tests/typ
parentacdde6d3266d4158241c2e62aa88a1185a3016fd (diff)
Parse math fonts only once
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/math/basic.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/math/basic.typ b/tests/typ/math/basic.typ
index 051dbaf3..df05a567 100644
--- a/tests/typ/math/basic.typ
+++ b/tests/typ/math/basic.typ
@@ -16,6 +16,12 @@ $[ \sum_{k=0}^n k = \frac{n(n+1)}{2} ]$
$[ f: \mathbb{N} \rightarrow \mathbb{R} ]$
---
+#set math(family: "IBM Plex Sans")
+
+// Error: 1-4 font is not suitable for math
+$a$
+
+---
// Error: 1-10 expected '}' found EOF
$\sqrt{x$