summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-03 17:47:05 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-03 17:47:05 +0100
commit93138e2d4bb7dbc09ab6ef3c6e139881a8f3bc61 (patch)
treea15d42a6b1c185e37ef73bf907025289f76ffa32 /tests
parent9e918d06adfdd680f153784e85657e45e9675ec6 (diff)
Fix font switch in math
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/content.pngbin5372 -> 6731 bytes
-rw-r--r--tests/typ/math/content.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/math/content.png b/tests/ref/math/content.png
index f0204526..3476dbc4 100644
--- a/tests/ref/math/content.png
+++ b/tests/ref/math/content.png
Binary files differ
diff --git a/tests/typ/math/content.typ b/tests/typ/math/content.typ
index 271e00a5..c5a62fb4 100644
--- a/tests/typ/math/content.typ
+++ b/tests/typ/math/content.typ
@@ -12,3 +12,8 @@ $ x := #table(columns: 2)[x][y]/mat(1, 2, 3) $
---
// Test non-formula math directly in content.
#math.attach($a$, top: [b])
+
+---
+// Test font switch.
+#let here = text.with("Noto Sans")
+$#here[f] := #here[Hi there]$.