summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-02 21:21:04 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-02 21:21:04 +0100
commit255044e04e8b3ad7941a7dadcfd36c07669326aa (patch)
tree6d7200e80267e27a0316e2107822e9752081cbb4 /tests
parent3f85d005bb5f343bb32a86d663f5dcfeef27f38a (diff)
Ignore accent when positioning superscript
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/accent.pngbin5794 -> 6686 bytes
-rw-r--r--tests/typ/math/accent.typ6
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ref/math/accent.png b/tests/ref/math/accent.png
index c67e0912..bea94cab 100644
--- a/tests/ref/math/accent.png
+++ b/tests/ref/math/accent.png
Binary files differ
diff --git a/tests/typ/math/accent.typ b/tests/typ/math/accent.typ
index 65ef9d1b..b67614dd 100644
--- a/tests/typ/math/accent.typ
+++ b/tests/typ/math/accent.typ
@@ -2,7 +2,7 @@
---
// Test function call.
-$grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä, \
+$grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä \
breve(\&), dot(!), circle(a), caron(@), arrow(Z), arrow.l(Z)$
---
@@ -18,5 +18,9 @@ $sqrt(tilde(T)) + hat(f)/hat(g)$
$arrow("ABC" + d), tilde(sum)$
---
+// Test effect of accent on superscript.
+$A^x != hat(A)^x != hat(hat(A))^x$
+
+---
// Test high base.
$ tilde(integral), tilde(integral)_a^b, tilde(integral_a^b) $