summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authorsitandr <60141933+sitandr@users.noreply.github.com>2023-07-10 13:09:09 +0300
committerGitHub <noreply@github.com>2023-07-10 12:09:09 +0200
commitdfe361ec6a4adfab4140bf480aae3a39b2683165 (patch)
treeb6476dd63047e424d97950eae3414c69c59d9069 /tests/typ/math
parentbe0f8fe6d70bc5919e4351b73a2835e89001b000 (diff)
Better primes in math (#1614)
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/opticalsize.typ15
1 files changed, 15 insertions, 0 deletions
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' $