diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2023-05-11 11:38:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-11 17:38:04 +0200 |
| commit | e8de8a49c57671854f657a4eb1e2d86e5b12a281 (patch) | |
| tree | 6b7104a9d11c6988009ae63232098d2aed4d91ab /tests/typ/math/attach.typ | |
| parent | d1dec299a7a9957bc9797e0afe4c6a6636d4455c (diff) | |
Adjust attach() per TeXbook Appendix G 18a (#1129)
Diffstat (limited to 'tests/typ/math/attach.typ')
| -rw-r--r-- | tests/typ/math/attach.typ | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/math/attach.typ b/tests/typ/math/attach.typ index 070b9eca..1649ae02 100644 --- a/tests/typ/math/attach.typ +++ b/tests/typ/math/attach.typ @@ -69,6 +69,16 @@ $ sqrt(a_(1/2)^zeta), sqrt(a_alpha^(1/2)), sqrt(a_(1/2)^(3/4)) \ $ (-1)^n + (1/2 + 3)^(-1/2) $ --- +#set text(size: 8pt) + +// Test that the attachments are aligned horizontally. +$ x_1 p_1 frak(p)_1 2_1 dot_1 lg_1 !_1 \\_1 ]_1 "ip"_1 op("iq")_1 \ + x^1 b^1 frak(b)^1 2^1 dot^1 lg^1 !^1 \\^1 ]^1 "ib"^1 op("id")^1 \ + x_1 y_1 "_"_1 x^1 l^1 "`"^1 attach(I,tl:1,bl:1,tr:1,br:1) + scripts(sum)_1^1 integral_1^1 |1/2|_1^1 \ + x^1_1, "("b y")"^1_1 != (b y)^1_1, "[∫]"_1 [integral]_1 $ + +--- // Test limit. $ lim_(n->oo \ n "grows") sum_(k=0 \ k in NN)^n k $ |
