diff options
| author | Wenzhuo Liu <mgt@oi-wiki.org> | 2024-06-04 23:42:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 15:42:02 +0000 |
| commit | 681badf76a029e421415986aa3a46c0081d28470 (patch) | |
| tree | 43ee7f1cad04f6ad41b23d329d9da6e472a06b0a /tests | |
| parent | ada0f5da65ef41ac8fa11111839437c76edd3c68 (diff) | |
Pad matrix cell to make matrix have a consistent height (#4153)
Diffstat (limited to 'tests')
43 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/enum-numbering-closure-nested-complex.png b/tests/ref/enum-numbering-closure-nested-complex.png Binary files differindex a756f37c..f287f4dd 100644 --- a/tests/ref/enum-numbering-closure-nested-complex.png +++ b/tests/ref/enum-numbering-closure-nested-complex.png diff --git a/tests/ref/gradient-math-conic.png b/tests/ref/gradient-math-conic.png Binary files differindex 88ff7a85..ffd3e806 100644 --- a/tests/ref/gradient-math-conic.png +++ b/tests/ref/gradient-math-conic.png diff --git a/tests/ref/gradient-math-dir.png b/tests/ref/gradient-math-dir.png Binary files differindex 5ed19182..8a9954ad 100644 --- a/tests/ref/gradient-math-dir.png +++ b/tests/ref/gradient-math-dir.png diff --git a/tests/ref/gradient-math-mat.png b/tests/ref/gradient-math-mat.png Binary files differindex aa3332b9..ecf95303 100644 --- a/tests/ref/gradient-math-mat.png +++ b/tests/ref/gradient-math-mat.png diff --git a/tests/ref/gradient-math-misc.png b/tests/ref/gradient-math-misc.png Binary files differindex b8fbdd74..b9b55d4d 100644 --- a/tests/ref/gradient-math-misc.png +++ b/tests/ref/gradient-math-misc.png diff --git a/tests/ref/gradient-math-radial.png b/tests/ref/gradient-math-radial.png Binary files differindex c9b966b2..8d0047bb 100644 --- a/tests/ref/gradient-math-radial.png +++ b/tests/ref/gradient-math-radial.png diff --git a/tests/ref/issue-1617-mat-align.png b/tests/ref/issue-1617-mat-align.png Binary files differnew file mode 100644 index 00000000..bd4ea16f --- /dev/null +++ b/tests/ref/issue-1617-mat-align.png diff --git a/tests/ref/issue-2055-math-eval.png b/tests/ref/issue-2055-math-eval.png Binary files differindex 168b8913..f058a995 100644 --- a/tests/ref/issue-2055-math-eval.png +++ b/tests/ref/issue-2055-math-eval.png diff --git a/tests/ref/issue-2268-mat-augment-color.png b/tests/ref/issue-2268-mat-augment-color.png Binary files differindex 5aca29ca..70f52dcf 100644 --- a/tests/ref/issue-2268-mat-augment-color.png +++ b/tests/ref/issue-2268-mat-augment-color.png diff --git a/tests/ref/issue-3774-math-call-empty-2d-args.png b/tests/ref/issue-3774-math-call-empty-2d-args.png Binary files differindex ce4b4eb8..c1bf52d0 100644 --- a/tests/ref/issue-3774-math-call-empty-2d-args.png +++ b/tests/ref/issue-3774-math-call-empty-2d-args.png diff --git a/tests/ref/issue-852-mat-type.png b/tests/ref/issue-852-mat-type.png Binary files differindex 81af3bb5..8e2bd498 100644 --- a/tests/ref/issue-852-mat-type.png +++ b/tests/ref/issue-852-mat-type.png diff --git a/tests/ref/math-align-cases.png b/tests/ref/math-align-cases.png Binary files differindex 4ea9a264..54105b55 100644 --- a/tests/ref/math-align-cases.png +++ b/tests/ref/math-align-cases.png diff --git a/tests/ref/math-call-2d-semicolon-priority.png b/tests/ref/math-call-2d-semicolon-priority.png Binary files differindex 18807e0b..d74ca9ab 100644 --- a/tests/ref/math-call-2d-semicolon-priority.png +++ b/tests/ref/math-call-2d-semicolon-priority.png diff --git a/tests/ref/math-cases-delim.png b/tests/ref/math-cases-delim.png Binary files differindex e54e277c..74a6c29b 100644 --- a/tests/ref/math-cases-delim.png +++ b/tests/ref/math-cases-delim.png diff --git a/tests/ref/math-cases-gap.png b/tests/ref/math-cases-gap.png Binary files differindex e3579130..746572fa 100644 --- a/tests/ref/math-cases-gap.png +++ b/tests/ref/math-cases-gap.png diff --git a/tests/ref/math-cases.png b/tests/ref/math-cases.png Binary files differindex 2e8c260a..456b2550 100644 --- a/tests/ref/math-cases.png +++ b/tests/ref/math-cases.png diff --git a/tests/ref/math-equation-font.png b/tests/ref/math-equation-font.png Binary files differindex b105d9e3..eb84634e 100644 --- a/tests/ref/math-equation-font.png +++ b/tests/ref/math-equation-font.png diff --git a/tests/ref/math-mat-align-complex.png b/tests/ref/math-mat-align-complex.png Binary files differindex 682fed22..3cba2588 100644 --- a/tests/ref/math-mat-align-complex.png +++ b/tests/ref/math-mat-align-complex.png diff --git a/tests/ref/math-mat-align-explicit--alternating.png b/tests/ref/math-mat-align-explicit--alternating.png Binary files differindex cb29eb06..37e8dc06 100644 --- a/tests/ref/math-mat-align-explicit--alternating.png +++ b/tests/ref/math-mat-align-explicit--alternating.png diff --git a/tests/ref/math-mat-align-explicit-left.png b/tests/ref/math-mat-align-explicit-left.png Binary files differindex 97fe0a1f..09ce9398 100644 --- a/tests/ref/math-mat-align-explicit-left.png +++ b/tests/ref/math-mat-align-explicit-left.png diff --git a/tests/ref/math-mat-align-explicit-right.png b/tests/ref/math-mat-align-explicit-right.png Binary files differindex 80966e52..3592c0cf 100644 --- a/tests/ref/math-mat-align-explicit-right.png +++ b/tests/ref/math-mat-align-explicit-right.png diff --git a/tests/ref/math-mat-align-implicit.png b/tests/ref/math-mat-align-implicit.png Binary files differindex 0c14f1a7..0c508efc 100644 --- a/tests/ref/math-mat-align-implicit.png +++ b/tests/ref/math-mat-align-implicit.png diff --git a/tests/ref/math-mat-align-signed-numbers.png b/tests/ref/math-mat-align-signed-numbers.png Binary files differindex 02a3c582..c9274379 100644 --- a/tests/ref/math-mat-align-signed-numbers.png +++ b/tests/ref/math-mat-align-signed-numbers.png diff --git a/tests/ref/math-mat-augment-set.png b/tests/ref/math-mat-augment-set.png Binary files differindex f3827c41..c5881b13 100644 --- a/tests/ref/math-mat-augment-set.png +++ b/tests/ref/math-mat-augment-set.png diff --git a/tests/ref/math-mat-augment.png b/tests/ref/math-mat-augment.png Binary files differindex 3a272ce9..0e2a42a2 100644 --- a/tests/ref/math-mat-augment.png +++ b/tests/ref/math-mat-augment.png diff --git a/tests/ref/math-mat-baseline.png b/tests/ref/math-mat-baseline.png Binary files differindex 51e90a1f..c5aa1e20 100644 --- a/tests/ref/math-mat-baseline.png +++ b/tests/ref/math-mat-baseline.png diff --git a/tests/ref/math-mat-delim-direct.png b/tests/ref/math-mat-delim-direct.png Binary files differindex b40fd36c..75915689 100644 --- a/tests/ref/math-mat-delim-direct.png +++ b/tests/ref/math-mat-delim-direct.png diff --git a/tests/ref/math-mat-delim-set.png b/tests/ref/math-mat-delim-set.png Binary files differindex fc92fd4b..b7a2b8d6 100644 --- a/tests/ref/math-mat-delim-set.png +++ b/tests/ref/math-mat-delim-set.png diff --git a/tests/ref/math-mat-delims-inverted.png b/tests/ref/math-mat-delims-inverted.png Binary files differindex 06f1cdb3..84047952 100644 --- a/tests/ref/math-mat-delims-inverted.png +++ b/tests/ref/math-mat-delims-inverted.png diff --git a/tests/ref/math-mat-delims-pair.png b/tests/ref/math-mat-delims-pair.png Binary files differindex 954e6d82..56597571 100644 --- a/tests/ref/math-mat-delims-pair.png +++ b/tests/ref/math-mat-delims-pair.png diff --git a/tests/ref/math-mat-delims.png b/tests/ref/math-mat-delims.png Binary files differindex 6ba589c8..9a859c3b 100644 --- a/tests/ref/math-mat-delims.png +++ b/tests/ref/math-mat-delims.png diff --git a/tests/ref/math-mat-gap.png b/tests/ref/math-mat-gap.png Binary files differindex 5eb8460d..e4f87b59 100644 --- a/tests/ref/math-mat-gap.png +++ b/tests/ref/math-mat-gap.png diff --git a/tests/ref/math-mat-gaps.png b/tests/ref/math-mat-gaps.png Binary files differindex 38cf5247..5c954766 100644 --- a/tests/ref/math-mat-gaps.png +++ b/tests/ref/math-mat-gaps.png diff --git a/tests/ref/math-mat-semicolon.png b/tests/ref/math-mat-semicolon.png Binary files differindex abb5d1df..2a88818d 100644 --- a/tests/ref/math-mat-semicolon.png +++ b/tests/ref/math-mat-semicolon.png diff --git a/tests/ref/math-mat-sparse.png b/tests/ref/math-mat-sparse.png Binary files differindex 4d077931..e9f0d948 100644 --- a/tests/ref/math-mat-sparse.png +++ b/tests/ref/math-mat-sparse.png diff --git a/tests/ref/math-shorthands.png b/tests/ref/math-shorthands.png Binary files differindex ff26ce96..65b35aca 100644 --- a/tests/ref/math-shorthands.png +++ b/tests/ref/math-shorthands.png diff --git a/tests/ref/math-spacing-decorated.png b/tests/ref/math-spacing-decorated.png Binary files differindex e34066ea..4a785e71 100644 --- a/tests/ref/math-spacing-decorated.png +++ b/tests/ref/math-spacing-decorated.png diff --git a/tests/ref/math-table.png b/tests/ref/math-table.png Binary files differindex 5eb93218..75d25f3e 100644 --- a/tests/ref/math-table.png +++ b/tests/ref/math-table.png diff --git a/tests/ref/math-vec-align-explicit-alternating.png b/tests/ref/math-vec-align-explicit-alternating.png Binary files differindex cb29eb06..37e8dc06 100644 --- a/tests/ref/math-vec-align-explicit-alternating.png +++ b/tests/ref/math-vec-align-explicit-alternating.png diff --git a/tests/ref/math-vec-delim-set.png b/tests/ref/math-vec-delim-set.png Binary files differindex 8024d594..9e508fa7 100644 --- a/tests/ref/math-vec-delim-set.png +++ b/tests/ref/math-vec-delim-set.png diff --git a/tests/ref/math-vec-gap.png b/tests/ref/math-vec-gap.png Binary files differindex 06f8cf7d..e48b3e90 100644 --- a/tests/ref/math-vec-gap.png +++ b/tests/ref/math-vec-gap.png diff --git a/tests/ref/math-vec-wide.png b/tests/ref/math-vec-wide.png Binary files differindex 30853a00..9dc887a8 100644 --- a/tests/ref/math-vec-wide.png +++ b/tests/ref/math-vec-wide.png diff --git a/tests/suite/math/mat.typ b/tests/suite/math/mat.typ index 85f918ee..1f6716d7 100644 --- a/tests/suite/math/mat.typ +++ b/tests/suite/math/mat.typ @@ -212,3 +212,18 @@ $ mat(delim: angle.r, 1, 2; 3, 4) $ --- math-mat-delims-pair --- $ mat(delim: #(none, "["), 1, 2; 3, 4) $ $ mat(delim: #(sym.angle.r, sym.bracket.double.r), 1, 2; 3, 4) $ + +--- issue-1617-mat-align --- +#set page(width: auto) +$ mat(a, b; c, d) mat(x; y) $ + +$ x mat(a; c) + y mat(b; d) + = mat(a x+b y; c x+d y) $ + +$ mat( + -d_0, lambda_0, 0, 0, dots; + mu_1, -d_1, lambda_1, 0, dots; + 0, mu_2, -d_2, lambda_2, dots; + dots.v, dots.v, dots.v, dots.v, dots.down; + ) + mat(p_0; p_1; p_2; dots.v) $ |
