Répondre à : latex et embed

Accueil Forums Programmation WIMS Programmation d’exercices OEF latex et embed Répondre à : latex et embed

#1865
jm.evers
Participant
Up
0
Down
::

A small note on mathjax (again…)
I’ve installed mathjax on Leiden wims-mirror and on intranet school servers.
All browsers -except firefox- will now use MathJax for typesetting.
This line of javascript will exclude firefox:

<script type="text/javascript">
if (navigator.userAgent.indexOf("Firefox") == -1){
var script = document.createElement("script");
script.type = "text/javascript";
script.src  = "mathjax/MathJax.js?config=MML_HTMLorMML-full.js";
document.body.appendChild(script);
}
</script>

So now -in theory- all browsers could have nice looking mathtypesetting
(the price to pay is ofcourse a faily slow rendering of math)