HandWiki:Help/Equations
Showing Equations
MediaWiki uses a subset of TeX markup for mathematical equations. As for Wikipedia, one can use the standard "math" tag. See Displaying a formula in Mediawiki. Howerver, HandWiki uses MathJax for rendering which is included in the extension SimpleMathJax. This reduces the load on the HandWiki server since equations are parsed by the web browsers.
You can find more extensive discussion on HandWiki specific rendering using math equation help.
Inline equations
Inline formulas can be inserted in the line where the actual text is. Here is an inline formula . This sentence with this inline formular can be created as shown below:
Here is an inline formula <math>\sum_{i=0}^\infty 2^{-i}</math>
Block equations
Block equations are a special case. They are:
- Positioned on a separate line
- Enumerated using numbers in ()
- Can be referenced inside a text
Here is a simple example without numerating the formula:
It is coded like this:
:<math>\text{geometric series:}\quad \sum_{i=0}^\infty 2^{-i}=2 </math>
As you can see, it should be positioned on a new line. For a better style, add a left margin space using ":" when showing a formula. This adds an extra space on the left of the formula
Additional latex symbols
Similar to Wikipedia, HandWiki supports bold symbols using the capital letter R, T, P etc., which are shortcuts for the LaTeX mathbb keyword. The are from begingroup and mediawiki-texvc TeX extensions