www

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

commit 98e3f098bd519dabe9bf558736c5bf6438fbc217
parent 74253a955fcf3aa8854d666569f4733bd4da634e
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Thu, 11 Sep 2014 12:52:10 -0400

Add rules to mtable to properly handle displaystyle and scriptlevel as described in the MathML spec.  Resolves issue #839.

Diffstat:
Munpacked/jax/element/mml/jax.js | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/unpacked/jax/element/mml/jax.js b/unpacked/jax/element/mml/jax.js @@ -1135,6 +1135,10 @@ MathJax.ElementJax.mml.Augment({ texClass: MML.TEXCLASS.ORD, useHeight: 1 }, + adjustChild_displaystyle: function () { + return (this.displaystyle != null ? this.displaystyle : this.defaults.displaystyle); + }, + adjustChild_scriptlevel: function () {return 0}, inheritFromMe: true, noInherit: { mover: {align: true}, @@ -1144,7 +1148,7 @@ MathJax.ElementJax.mml.Augment({ align: true, rowalign: true, columnalign: true, groupalign: true, alignmentscope: true, columnwidth: true, width: true, rowspacing: true, columnspacing: true, rowlines: true, columnlines: true, frame: true, - framespacing: true, equalrows: true, equalcolumns: true, + framespacing: true, equalrows: true, equalcolumns: true, displaystyle: true, side: true, minlabelspacing: true, texClass: true, useHeight: 1 } },