From 37d7a91a69b8e4dcc69161b1e8e732c5b57fe995 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 25 Aug 2015 08:09:43 -0400 Subject: [PATCH] Only use mathsize on token elements --- unpacked/jax/output/CommonHTML/jax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index 370d6c0a7..9a60c5527 100644 --- 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);