The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

LaTeX Instructions

2 posters

Go down

LaTeX Instructions Empty LaTeX Instructions

Post by mcqueenweb August 10th 2011, 3:33 pm

Create a HTML Page. Here is the code:

<!DOCTYPE HTML>
<head>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
<body>
</body>
</html>

Create a new Javascript. Here is the code:

var loadScript = function(url, callback){

var script = document.createElement("script");
script.type = "text/javascript";

if (script.readyState){ //IE
script.onreadystatechange = function(){
if (script.readyState == "loaded" ||
script.readyState == "complete"){
script.onreadystatechange = null;
callback();
}
};
} else { //Others
script.onload = function(){
callback();
};
}

script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
};

loadScript("http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML", function() {});

Now, in the forums, you can use LaTeX: $$equation$$.
avatar
mcqueenweb
New Member

Male Posts : 8
Reputation : 0
Language : English

http://downinthedumps.forumotion.com/forum

Back to top Go down

LaTeX Instructions Empty Re: LaTeX Instructions

Post by MrMario August 10th 2011, 4:35 pm

Hi,

If you like to create a tutorial please pm a staff member not post it in public.
MrMario
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum