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 | |
| parent | d1dec299a7a9957bc9797e0afe4c6a6636d4455c (diff) | |
Adjust attach() per TeXbook Appendix G 18a (#1129)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/math-realize.png | bin | 23272 -> 21147 bytes | |||
| -rw-r--r-- | tests/ref/math/accent.png | bin | 29997 -> 7994 bytes | |||
| -rw-r--r-- | tests/ref/math/attach.png | bin | 21307 -> 27297 bytes | |||
| -rw-r--r-- | tests/ref/math/frac.png | bin | 24948 -> 21679 bytes | |||
| -rw-r--r-- | tests/ref/math/matrix.png | bin | 10694 -> 10167 bytes | |||
| -rw-r--r-- | tests/ref/math/multiline.png | bin | 13475 -> 13698 bytes | |||
| -rw-r--r-- | tests/ref/math/numbering.png | bin | 14239 -> 12028 bytes | |||
| -rw-r--r-- | tests/ref/math/root.png | bin | 12986 -> 12274 bytes | |||
| -rw-r--r-- | tests/ref/math/spacing.png | bin | 17743 -> 17745 bytes | |||
| -rw-r--r-- | tests/ref/math/style.png | bin | 23494 -> 19747 bytes | |||
| -rw-r--r-- | tests/ref/meta/figure.png | bin | 63931 -> 54464 bytes | |||
| -rw-r--r-- | tests/typ/math/attach.typ | 10 |
12 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/bugs/math-realize.png b/tests/ref/bugs/math-realize.png Binary files differindex c4824403..4f5b887e 100644 --- a/tests/ref/bugs/math-realize.png +++ b/tests/ref/bugs/math-realize.png diff --git a/tests/ref/math/accent.png b/tests/ref/math/accent.png Binary files differindex a324d3f0..11de9e28 100644 --- a/tests/ref/math/accent.png +++ b/tests/ref/math/accent.png diff --git a/tests/ref/math/attach.png b/tests/ref/math/attach.png Binary files differindex e65a1691..9a32b64c 100644 --- a/tests/ref/math/attach.png +++ b/tests/ref/math/attach.png diff --git a/tests/ref/math/frac.png b/tests/ref/math/frac.png Binary files differindex 58d8ef89..6f0e8139 100644 --- a/tests/ref/math/frac.png +++ b/tests/ref/math/frac.png diff --git a/tests/ref/math/matrix.png b/tests/ref/math/matrix.png Binary files differindex f74384a3..9e357146 100644 --- a/tests/ref/math/matrix.png +++ b/tests/ref/math/matrix.png diff --git a/tests/ref/math/multiline.png b/tests/ref/math/multiline.png Binary files differindex a5e53bc7..ae847434 100644 --- a/tests/ref/math/multiline.png +++ b/tests/ref/math/multiline.png diff --git a/tests/ref/math/numbering.png b/tests/ref/math/numbering.png Binary files differindex 8ccb3ac6..6256310f 100644 --- a/tests/ref/math/numbering.png +++ b/tests/ref/math/numbering.png diff --git a/tests/ref/math/root.png b/tests/ref/math/root.png Binary files differindex b7d2807d..8a6a6e13 100644 --- a/tests/ref/math/root.png +++ b/tests/ref/math/root.png diff --git a/tests/ref/math/spacing.png b/tests/ref/math/spacing.png Binary files differindex 94ca9b98..d15d6607 100644 --- a/tests/ref/math/spacing.png +++ b/tests/ref/math/spacing.png diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png Binary files differindex 46d72662..f4a42c70 100644 --- a/tests/ref/math/style.png +++ b/tests/ref/math/style.png diff --git a/tests/ref/meta/figure.png b/tests/ref/meta/figure.png Binary files differindex 35d7b4a0..4969e5a0 100644 --- a/tests/ref/meta/figure.png +++ b/tests/ref/meta/figure.png 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 $ |
