Skip to content

Commit 0cf9b6c

Browse files
committed
Make aligned/alignedat only fix spacing for every other column. Resolves issue #1690.
1 parent 3338073 commit 0cf9b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpacked/extensions/TeX/AMSmath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
549549
stack.global.tagged = !numbered && !stack.global.forcetag; // prevent automatic tagging in starred environments
550550
},
551551
EndEntry: function () {
552-
if (this.row.length) {this.fixInitialMO(this.data)}
552+
if (this.row.length % 2 === 1) {this.fixInitialMO(this.data)}
553553
this.row.push(MML.mtd.apply(MML,this.data));
554554
this.data = [];
555555
},

0 commit comments

Comments
 (0)