LaTeX in coding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

LaTeX in coding

My school teaches LaTeX, which is good for writing mathematical papers. In Wikipedia website, I see how they add LaTeX equations, by creating the image then post in the link. Is there an easier way to do it on HTML? Like a <latex>\tfrac{1}{6}</latex> Also, please suggest some respurces on LaTeX wipl be quite helpful. Thanks!

24th Sep 2017, 4:18 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
4 Answers
+ 7
You can't use LaTeX in HTML but instead you can use MathML. If want you to convert LaTeX in MathML then → https://tex.stackexchange.com/questions/23804/how-to-incorporate-tex-into-a-website
24th Sep 2017, 6:06 AM
Ekansh
+ 4
Thanks for the link, I use this code: https://code.sololearn.com/WjCrAa4XhDJl/?ref=app
24th Sep 2017, 1:00 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
So apparently you can use Math.jax
24th Sep 2017, 1:02 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
There are many options but MathML is the easiest and best...
24th Sep 2017, 1:03 PM
Ekansh