Help:Math
19,805pages on
this wiki
Add New Page
this wiki
Math formulas may displayed on articles using the <math> tag.
For the technically inclined, MediaWiki (which FANDOM wikis run on) uses a subset of AMS-LaTeX markup, a superset of LaTeX markup which is in turn a superset of TeX markup, for mathematical formulae.
Step by step
Edit
- You need to first be in source editing mode on an article.
- Use the following format:
<math> math to be displayed </math>. - For example, '3 x 2 = 6' can be displayed with
<math>{3 ~ \times ~ 2 ~ = ~ 6}</math>, which generates: - For details on how to write the math formulae themselves, see Help:Displaying a formula, on Wikipedia.
Notes
Edit
- Large formulae may become wider than the maximum page width. Consider breaking them into multiple lines when possible.
- Another solution is to place the formula inside a simple div with "overflow-x:scroll" set, so that a scrollbar show up. For example:
<div style="overflow-x:scroll;"> <math> math formula goes here </math> </div>
- In-line formulae often have poor vertical alignment relative to the rest of the text. A work-around is described on Wikipedia.
- If the wiki doesn't have a white background, formulas might not display correctly unless placed in a table with a white background, for example:
{| style="background-color: white;"
| <math> ... </math>
|}
See also
Edit
Further help and feedback
Edit
- Browse and search other help pages at Help:Contents
- Check FANDOM Community Central for sources of further help and support
- Check Contacting FANDOM for how to report any errors or unclear steps in this article
- Learn how to use Fandom in FANDOM University: short how-to videos for all levels of experience