Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write equations in html? [closed]

Tags:

html

equation

I want to write some complex mathematical equation in my web page. Is there any plugin or anything for this?

like image 748
anan_xon Avatar asked Sep 14 '12 20:09

anan_xon


People also ask

How do I type math symbols in HTML?

Many mathematical, technical, and currency symbols, are not present on a normal keyboard. To add such symbols to an HTML page, you can use the entity name or the entity number (a decimal or a hexadecimal reference) for the symbol.

Which tag is used to write mathematical formulas HTML?

The MathML element is used to include mathematical expressions and equations in an HTML page.


2 Answers

Try mathjax http://www.mathjax.org/ . I personally find it very good.

like image 76
mathematician1975 Avatar answered Oct 10 '22 14:10

mathematician1975


For complex equations, MathJax is the current practical solution. MathML is a more structural approach in principle, but browser support is rather limited and often of questionable quality.

However, complexity is relative. To some people, E = mc² or ∂/∂t + v ⋅ ∇ might be complex, and such constructs can be written fairly well using just HTML with some help from CSS; see my page Math in HTML (and CSS).

like image 24
Jukka K. Korpela Avatar answered Oct 10 '22 15:10

Jukka K. Korpela