summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
authordamaxwell <damaxwell@alaska.edu>2023-08-02 14:27:33 -0800
committerGitHub <noreply@github.com>2023-08-03 00:27:33 +0200
commitcd163868f5a93f84a9185d14407a66d051e29dad (patch)
tree1ed42606bda5c7c9ab6af1f9a29446e67954d39c /tests/typ/math
parent3c94e05cedcb308d83028bfb42e19b29c1201ac1 (diff)
large operators have limits in displays; relations have limits always (#1748)
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/attach-p3.typ18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/typ/math/attach-p3.typ b/tests/typ/math/attach-p3.typ
index 0fc25d63..c681af2a 100644
--- a/tests/typ/math/attach-p3.typ
+++ b/tests/typ/math/attach-p3.typ
@@ -22,3 +22,21 @@ $ attach(A, t: #locate(it => oops)) $
#show math.iota: math.limits.with(inline: false)
#eq
$iota_a^b$
+
+---
+// Test default of limit attachments on relations at all sizes
+#set page(width: auto)
+$ a =^"def" b quad a lt.eq_"really" b quad a arrow.r.long.squiggly^"slowly" b $
+$a =^"def" b quad a lt.eq_"really" b quad a arrow.r.long.squiggly^"slowly" b$
+
+$a scripts(=)^"def" b quad a scripts(lt.eq)_"really" b quad a scripts(arrow.r.long.squiggly)^"slowly" b$
+
+---
+// Test default of scripts attachments on integrals at display size
+$ integral.sect_a^b quad \u{2a1b}_a^b quad limits(\u{2a1b})_a^b $
+$integral.sect_a^b quad \u{2a1b}_a^b quad limits(\u{2a1b})_a^b$
+
+---
+// Test default of limit attachments on large operators at display size only
+$ tack.t.big_0^1 quad \u{02A0A}_0^1 quad join_0^1 $
+$tack.t.big_0^1 quad \u{02A0A}_0^1 quad join_0^1$