For those without MathML-capable browsers,
we present MathJax. It's crappy 'n slow,
but it's better than nothing.
This commit is contained in:
Jacques Distler 2010-10-17 22:30:56 -05:00
parent cebd381d0d
commit 1663d9f5c8
441 changed files with 13053 additions and 0 deletions

28
public/MathJax/config/MathJax.js vendored Normal file
View file

@ -0,0 +1,28 @@
MathJax.Hub.Config({
config: ["MMLorHTML.js"],
jax: ["input/MathML"],
extensions: ["mml2jax.js"],
MathML: {
useMathMLspacing: true
},
"HTML-CSS": {
preferredFont: "STIX",
scale: 90
},
MMLorHTML: {
//
// The output jax that is to be preferred when both are possible
// (set to "MML" for native MathML, "HTML" for MathJax's HTML-CSS output jax).
//
prefer:
{
MSIE: "MML",
Firefox: "MML",
Opera: "HTML",
other: "HTML"
}
}
});
MathJax.Hub.Startup.onload();
MathJax.Ajax.loadComplete("[MathJax]/config/MathJax.js");