www

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

commit 612e622e0b6fb237d44ba9161829a3f07237bd43
parent 82d0ea22c29ec3c91a544d991daeef424ac12063
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue,  9 Sep 2014 12:35:00 -0400

Add an empty <mo> to nested <munderover> used for overline and friends to avoid being an embellished operator that gets movablelimits.  Resolves issue #490.

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

diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js @@ -1431,6 +1431,8 @@ 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 var mml = MML.munderover(base,null,null); mml.data[mml[pos]] = this.mmlToken(MML.mo(MML.entity("#x"+c)).With({stretchy:true, accent:(pos == "under")}));