summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/opticalsize.pngbin6897 -> 11318 bytes
-rw-r--r--tests/ref/math/syntax.pngbin4977 -> 4882 bytes
-rw-r--r--tests/typ/math/opticalsize.typ15
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/math/opticalsize.png b/tests/ref/math/opticalsize.png
index 9fec5520..5c338ab6 100644
--- a/tests/ref/math/opticalsize.png
+++ b/tests/ref/math/opticalsize.png
Binary files differ
diff --git a/tests/ref/math/syntax.png b/tests/ref/math/syntax.png
index 028e21d6..d828a478 100644
--- a/tests/ref/math/syntax.png
+++ b/tests/ref/math/syntax.png
Binary files differ
diff --git a/tests/typ/math/opticalsize.typ b/tests/typ/math/opticalsize.typ
index c96e4a32..6edd2419 100644
--- a/tests/typ/math/opticalsize.typ
+++ b/tests/typ/math/opticalsize.typ
@@ -28,3 +28,18 @@ $sum_(k in NN)^prime 1/k^2$
$ 1/(x^A) $
#[#set text(size:18pt); $1/(x^A)$] vs. #[#set text(size:14pt); $x^A$]
+---
+// Test dedicated syntax for primes
+$a'$, $a'''_b$, $'$, $'''''''$
+
+---
+// Test spaces between
+$a' ' '$, $' ' '$, $a' '/b$
+
+---
+// Test complex prime combilnations
+$a'_b^c$, $a_b'^c$, $a_b^c'$, $a_b'^c'^d'$
+
+$(a'_b')^(c'_d')$, $a'/b'$, $a_b'/c_d'$
+
+$∫'$, $∑'$, $ ∑'_S' $