Merge remote-tracking branch 'fred/issue373' into develop
Resolves issue #373.
This commit is contained in:
commit
cb20740861
|
@ -1,3 +1,5 @@
|
||||||
|
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
|
||||||
|
/* vim: set ts=2 et sw=2 tw=80: */
|
||||||
/*************************************************************
|
/*************************************************************
|
||||||
*
|
*
|
||||||
* MathJax/extensions/TeX/mathchoice.js
|
* MathJax/extensions/TeX/mathchoice.js
|
||||||
|
@ -47,10 +49,12 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
||||||
if (values.scriptlevel > 0) {return Math.min(3,values.scriptlevel + 1)}
|
if (values.scriptlevel > 0) {return Math.min(3,values.scriptlevel + 1)}
|
||||||
return (values.displaystyle ? 0 : 1);
|
return (values.displaystyle ? 0 : 1);
|
||||||
},
|
},
|
||||||
setTeXclass: function (prev) {return this.Core().setTeXclass(prev)},
|
selected: function () {return this.data[this.choice()]},
|
||||||
isSpacelike: function () {return this.Core().isSpacelike()},
|
setTeXclass: function (prev) {return this.selected().setTeXclass(prev)},
|
||||||
isEmbellished: function () {return this.Core().isEmbellished()},
|
isSpacelike: function () {return this.selected().isSpacelike()},
|
||||||
Core: function () {return this.data[this.choice()]},
|
isEmbellished: function () {return this.selected().isEmbellished()},
|
||||||
|
Core: function () {return this.selected().Core()},
|
||||||
|
CoreMO: function () {return this.selected().CoreMO()},
|
||||||
toHTML: function (span) {
|
toHTML: function (span) {
|
||||||
span = this.HTMLcreateSpan(span);
|
span = this.HTMLcreateSpan(span);
|
||||||
span.bbox = this.Core().toHTML(span).bbox;
|
span.bbox = this.Core().toHTML(span).bbox;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user