summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math-underover-line-subscript.pngbin0 -> 1541 bytes
-rw-r--r--tests/ref/math-underover-line-superscript.pngbin0 -> 1453 bytes
-rw-r--r--tests/suite/math/underover.typ12
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/math-underover-line-subscript.png b/tests/ref/math-underover-line-subscript.png
new file mode 100644
index 00000000..9a4b886b
--- /dev/null
+++ b/tests/ref/math-underover-line-subscript.png
Binary files differ
diff --git a/tests/ref/math-underover-line-superscript.png b/tests/ref/math-underover-line-superscript.png
new file mode 100644
index 00000000..a604df09
--- /dev/null
+++ b/tests/ref/math-underover-line-superscript.png
Binary files differ
diff --git a/tests/suite/math/underover.typ b/tests/suite/math/underover.typ
index 5749d9fa..5eca70b3 100644
--- a/tests/suite/math/underover.typ
+++ b/tests/suite/math/underover.typ
@@ -33,3 +33,15 @@ $ undershell(
1 + overshell(2 + ..., x + y),
"all stuff"
) $
+
+--- math-underover-line-subscript ---
+// Test effect of lines on subscripts.
+$A_2 != overline(A)_2 != underline(A)_2 != underline(overline(A))_2 \
+ V_y != overline(V)_y != underline(V)_y != underline(overline(V))_y \
+ W_l != overline(W)_l != underline(W)_l != underline(overline(W))_l$
+
+--- math-underover-line-superscript ---
+// Test effect of lines on superscripts.
+$J^b != overline(J)^b != underline(J)^b != underline(overline(J))^b \
+ K^3 != overline(K)^3 != underline(K)^3 != underline(overline(K))^3 \
+ T^i != overline(T)^i != underline(T)^i != underline(overline(T))^i$