www

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

commit 9f14997b79653e5ee47da33a7c532e787165cfcc
parent b30c8f2f3076fbc19814255084fb2ddf99ddf099
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sat, 17 Jan 2015 08:25:14 -0500

Make \overline{\lim_{x}} have correct spacing for overline with Firefox.  Issue #490.

Diffstat:
Munpacked/jax/input/TeX/jax.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js @@ -1430,8 +1430,10 @@ var pos = {o: "over", u: "under"}[name.charAt(1)]; var base = this.ParseArg(name); if (base.Get("movablelimits")) {base.movablelimits = false} - if (base.isa(MML.munderover) && base.isEmbellished()) - {base = MML.mrow(MML.mo().With({rspace:0}),base)} // add an empty <mi> so it's not embellished any more + if (base.isa(MML.munderover) && base.isEmbellished()) { + base.Core().With({lspace:0,rspace:0}); // get spacing right for NativeMML + base = MML.mrow(MML.mo().With({rspace:0}),base); // add an empty <mi> so it's not embellished any more + } var mml = MML.munderover(base,null,null); mml.SetData( mml[pos],