diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-05-15 03:48:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-15 07:48:35 +0000 |
| commit | 484a0e60d8087fac38b98f697b68f2dd4e829d59 (patch) | |
| tree | 0e9fe443b05664e3a1c8f63065db764bfa61156d /tests/suite | |
| parent | 2d32ac73b63c81ea2754916feb7758c042f4ed3d (diff) | |
`show math.equation: set align(..)` shall not break alignment points (#4094)
Diffstat (limited to 'tests/suite')
| -rw-r--r-- | tests/suite/math/alignment.typ | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/suite/math/alignment.typ b/tests/suite/math/alignment.typ index f110b139..63033ef5 100644 --- a/tests/suite/math/alignment.typ +++ b/tests/suite/math/alignment.typ @@ -32,3 +32,20 @@ $ a &=b & quad c&=d \ e &=f & g&=h $ + +--- issue-3973-math-equation-align --- +// In this bug, the alignment set with "show math.equation: set align(...)" +// overrides the left-right alternating behavior of alignment points. +#let equations = [ +$ a + b &= c \ + e &= f + g + h $ +$ a &= b + c \ + e + f + g &= h $ +] +#equations + +#show math.equation: set align(start) +#equations + +#show math.equation: set align(end) +#equations |
