Help:Displaying a formula: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) No edit summary |
||
Line 1:
{{TOCright}}
Math is rendered in EMEA Support Wiki's by TeX using Mathoid. The text here is from the following sources:
{{Wikipedia how-to}}▼
* [[mediawikiwiki:Help:Displaying a formula |Help:Displaying a formula (Meta-Wiki)]]
* [[wikisource:Help:Fractions_and_functions |Help:Fractions_and_functions (Wiki-Source)]]
* [[wikipedia:Help:Displaying_a_formula |Help:Displaying_a_formula (Wikipedia) ]]
* [https://web.archive.org/web/20160305074303/https://www.math.upenn.edu/tex-stuff/cookbook.pdf {{TeX}} Cookbook], [[Media:Tex-cookbook.pdf | Local Copy]]
▲{{Wikipedia how-to}}{{Commons Import}}
[[File:Editing a formula using VisualEditor.png|thumb|This screenshot shows the formula {{math|1=''E'' = ''mc''{{smallsup|2}}}} being edited using [[VisualEditor]]. The visual editor shows a button that allows to choose one of three offered modes to display a formula.]]
Line 7 ⟶ 15:
For example, the famous Einstein formula can be entered in raw HTML as <syntaxhighlight lang="html5" inline>{{nowrap|''E'' {{=}} ''mc''<sup>2</sup>}}</syntaxhighlight>, which is rendered as {{nowrap|''E'' {{=}} ''mc''<sup>2</sup>}} (the template {{tl|nowrap}} is here only for avoiding a line break inside the formula). With {{tl|math}}, it can be entered as <syntaxhighlight lang="html5" inline>{{math|''E'' {{=}} ''mc''{{sup|2}}}}</syntaxhighlight>, which is rendered as {{math|''E'' {{=}} ''mc''{{sup|2}}}}. With LaTeX, it is entered as <syntaxhighlight lang="html5" inline><math>E=mc^2</math></syntaxhighlight>, and rendered as <math>E=mc^2</math>.
==Use of raw HTML==
| |||