Fix problem with accents not having the correct mathvariant (resolves issue 87)
This commit is contained in:
parent
2051c9aa58
commit
a418d0748a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -12,5 +12,5 @@
|
|||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*/
|
||||
|
||||
MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"1.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%"}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");
|
||||
MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"1.1.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%"}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js");
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -24,7 +24,7 @@
|
|||
|
||||
MathJax.InputJax.TeX = MathJax.InputJax({
|
||||
id: "TeX",
|
||||
version: "1.1",
|
||||
version: "1.1.1",
|
||||
directory: MathJax.InputJax.directory + "/TeX",
|
||||
extensionDir: MathJax.InputJax.extensionDir + "/TeX",
|
||||
|
||||
|
|
|
@ -1195,7 +1195,8 @@
|
|||
|
||||
Accent: function (name,accent,stretchy) {
|
||||
var c = this.ParseArg(name);
|
||||
var mml = this.mmlToken(MML.mo(MML.entity("#x"+accent)).With({accent: TRUE}));
|
||||
var def = {accent: true}; if (this.stack.env.font) {def.mathvariant = this.stack.env.font}
|
||||
var mml = this.mmlToken(MML.mo(MML.entity("#x"+accent)).With(def));
|
||||
mml.stretchy = (stretchy ? TRUE : FALSE);
|
||||
this.Push(MML.munderover(c,null,mml).With({accent: TRUE}));
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user