summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLeedehai <18319900+Leedehai@users.noreply.github.com>2023-12-18 04:19:55 -0800
committerGitHub <noreply@github.com>2023-12-18 13:19:55 +0100
commit47bb32809a28325d85ed4eb4d1c8750a6baf4121 (patch)
treeaa1671e6d9f6236b84801b9e45c6f56b063b9908 /tests
parent56159997b7a5866e0005f21ff3b6a5f4b9d3d6b3 (diff)
Expand the AttachElement frame so it encompasses its child center_frame (#2968)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/attach-p1.pngbin13779 -> 14112 bytes
-rw-r--r--tests/ref/visualize/gradient-math.pngbin38184 -> 38218 bytes
-rw-r--r--tests/typ/math/attach-p1.typ6
3 files changed, 5 insertions, 1 deletions
diff --git a/tests/ref/math/attach-p1.png b/tests/ref/math/attach-p1.png
index 41be1313..fa610729 100644
--- a/tests/ref/math/attach-p1.png
+++ b/tests/ref/math/attach-p1.png
Binary files differ
diff --git a/tests/ref/visualize/gradient-math.png b/tests/ref/visualize/gradient-math.png
index 825bfc15..6d9173b5 100644
--- a/tests/ref/visualize/gradient-math.png
+++ b/tests/ref/visualize/gradient-math.png
Binary files differ
diff --git a/tests/typ/math/attach-p1.typ b/tests/typ/math/attach-p1.typ
index 830ff26e..5564ec60 100644
--- a/tests/typ/math/attach-p1.typ
+++ b/tests/typ/math/attach-p1.typ
@@ -49,7 +49,11 @@ $pi_1(Y), a_f(x), a^zeta (x), a^abs(b)_sqrt(c) \
---
// Test associativity and scaling.
$ 1/(V^2^3^4^5),
- 1/attach(V, tl: attach(2, tl: attach(3, tl: attach(4, tl: 5)))),
+ frac(
+ attach(
+ limits(V), br: attach(2, br: 3), b: attach(limits(2), b: 3)),
+ attach(
+ limits(V), tl: attach(2, tl: 3), t: attach(limits(2), t: 3))),
attach(Omega,
tl: attach(2, tl: attach(3, tl: attach(4, tl: 5))),
tr: attach(2, tr: attach(3, tr: attach(4, tr: 5))),