The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

LaTeX Instructions

View previous topic View next topic Go down

LaTeX Instructions

Post by mcqueenweb on 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$$.

mcqueenweb
New Member

Male Posts : 8
Reputation : 0
Language : English

http://downinthedumps.forumotion.com/forum

Back to top Go down

Re: LaTeX Instructions

Post by MrMario on 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
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


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