summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/math/alignment.typ17
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