commit 1968831dd026683c4d282d0dc091da1873b62580
parent fdb10e64c4fb9c08934ff675d690983485839df6
Author: Davide P. Cervone <dpvc@union.edu>
Date: Tue, 10 Mar 2015 19:47:27 -0400
Use correct offset for \atop and friends
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -1615,6 +1615,7 @@
p = Math.max((isDisplay ? 7 : 3) * CHTML.TEX.rule_thickness, 2*mt); // force to at least 2 px
q = (u - nbox.d*sscale) - (dbox.h*sscale - v);
if (q < p) {u += (p - q)/2; v += (p - q)/2}
+ frac.style.verticalAlign = CHTML.Em(-v);
} else { // \over
p = Math.max((isDisplay ? 3 : 0) * t, mt); // force to be at least 1px
t = Math.max(t,mt);