diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-3973-math-equation-align.png | bin | 0 -> 2240 bytes | |||
| -rw-r--r-- | tests/suite/math/alignment.typ | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/ref/issue-3973-math-equation-align.png b/tests/ref/issue-3973-math-equation-align.png Binary files differnew file mode 100644 index 00000000..91b48849 --- /dev/null +++ b/tests/ref/issue-3973-math-equation-align.png 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 |
