summaryrefslogtreecommitdiff
path: root/tests/typ/math
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/typ/math
parent9e918d06adfdd680f153784e85657e45e9675ec6 (diff)
Fix font switch in math
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/content.typ5
1 files changed, 5 insertions, 0 deletions
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]$.