www

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

commit 37d7a91a69b8e4dcc69161b1e8e732c5b57fe995
parent bea44b3029036242ee56cc2ebf1ea2f209c769ac
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 25 Aug 2015 08:09:43 -0400

Only use mathsize on token elements

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

diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js @@ -1448,6 +1448,7 @@ CHTMLhandleScale: function (node) { var scale = 1, parent = this.parent, pscale = (parent ? parent.CHTML.scale : 1); var values = this.getValues("scriptlevel","fontsize","mathsize"); + if (!this.isToken) values.mathsize = 1; if (values.scriptlevel !== 0) { if (values.scriptlevel > 2) values.scriptlevel = 2; scale = Math.pow(this.Get("scriptsizemultiplier"),values.scriptlevel);