summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/shorthand.pngbin0 -> 1230 bytes
-rw-r--r--tests/typ/math/shorthand.typ4
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/math/shorthand.png b/tests/ref/math/shorthand.png
new file mode 100644
index 00000000..4b14006b
--- /dev/null
+++ b/tests/ref/math/shorthand.png
Binary files differ
diff --git a/tests/typ/math/shorthand.typ b/tests/typ/math/shorthand.typ
new file mode 100644
index 00000000..d37c938f
--- /dev/null
+++ b/tests/typ/math/shorthand.typ
@@ -0,0 +1,4 @@
+// Test math shorthands.
+
+---
+$ f : NN <=> RR, n |-> sqrt(n) $