# Help:Displaying a formula

There are three methods for displaying formulas in Wikipedia: raw HTML, HTML with math templates (abbreviated here as {{math}}), and a subset of LaTeX implemented with the HTML markup `<math></math>`

(referred to as *LaTeX* in this article). Each method has some advantages and some disadvantages, which have evolved over the time with improvements of MediaWiki. The manual of style MOS:MATH has not always evolved accordingly. So the how-to recommendations that appear below may differ from those of the manual of style. In this case, they express a consensus resulting of the practice of most experienced members of WikiProject Mathematics and many discussions at Wikipedia talk:WikiProject Mathematics.

This help page is a how-to guide.It details processes or procedures of some aspect(s) of Wikipedia's norms and practices. It is not one of Wikipedia's policies or guidelines, and may reflect varying levels of consensus and vetting. |

For example, the famous Einstein formula can be entered in raw HTML as `{{nowrap|''E'' {{=}} ''mc''<sup>2</sup>}}`

, which is rendered as *E* = *mc*^{2} (the template {{nowrap}} is here only for avoiding a line break inside the formula). With {{math}}, it can be entered as `{{math|''E'' {{=}} ''mc''{{sup|2}}}}`

, which is rendered as *E* = *mc*^{2}. With LaTeX, it is entered as `<math>E=mc^2</math>`

, and rendered as .