www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3032239f7ed7208959a492924506c55a14f81aa4
parent 37d7a91a69b8e4dcc69161b1e8e732c5b57fe995
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 25 Aug 2015 12:12:51 -0400

Make fraction spacing consistent with HTML-CSS and SVG output

Diffstat:
Munpacked/jax/output/CommonHTML/jax.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js @@ -2367,7 +2367,7 @@ 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, 2*mt); // force to be at least 2px + p = Math.max((isDisplay ? 2 : 0) * mt + t, t/2 + 1.5*mt); t = Math.max(t,mt); q = (u - nbox.d*nscale) - (a + t/2); if (q < p) u += (p - q); q = (a - t/2) - (dbox.h*dscale - v); if (q < p) v += (p - q);