www

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

commit da8b1ea1ffeca0dfc457f0bfeaf72369588cc49a
parent 5b232c93e8e152fc3db73fa89ed6d58b9f4d88de
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Wed, 28 Jan 2015 11:43:19 -0500

Make super- and subscripts respect height of stretched characters.

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

diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js @@ -2773,7 +2773,7 @@ base.bbox.w -= base.bbox.ic; // remove IC (added by mo and mi) delta = 1.3*base.bbox.ic + .05; // adjust faked IC to be more in line with expected results } - if (this.data[this.base] && + if (this.data[this.base] && HW == null && D == null && (this.data[this.base].type === "mi" || this.data[this.base].type === "mo")) { if (this.data[this.base].data.join("").length === 1 && children[0].scale === 1 && !this.data[this.base].Get("largeop")) {u = v = 0}