summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
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 $