summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorbluebear94 <uruwi@protonmail.com>2023-07-06 04:11:42 -0400
committerGitHub <noreply@github.com>2023-07-06 10:11:42 +0200
commitcba200d4eca5846e94733e8b18ee3e69d1d9199c (patch)
treed268d702c8ce6a6be0886cefd502a67ee8ec6a0a /tests/typ/math
parentc4a1bd005529f3f855ccf8b5dad3e16c43d1b035 (diff)
Handle single and alternate substs for single glyphs in math mode (#1592)
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/font-features.typ10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/math/font-features.typ b/tests/typ/math/font-features.typ
new file mode 100644
index 00000000..ffdd1924
--- /dev/null
+++ b/tests/typ/math/font-features.typ
@@ -0,0 +1,10 @@
+// Test that setting font features in math.equation has an effect.
+
+---
+$ nothing $
+$ "hi ∅ hey" $
+$ sum_(i in NN) 1 + i $
+#show math.equation: set text(features: ("cv01",), fallback: false)
+$ nothing $
+$ "hi ∅ hey" $
+$ sum_(i in NN) 1 + i $