Template:Bigmath/doc

From blackwiki
< Template:Bigmath
Revision as of 01:59, 21 August 2015 by imported>Cedar101 (→‎Examples: <source>)
Jump to navigation Jump to search

Usage

Use this template to embed stand-alone formulae in wikitext. The mathematical capabilities of this template are very limited; use tables with class="texhtml" for formulae requiring non-linear layout.

Examples

{{bigmath|{{frac|&amp;part;&amp;sup2;<VAR >f</VAR >|&amp;part;<VAR >r</VAR >&amp;sup2;}} + {{frac|&amp;part;<VAR >f</VAR >|<VAR >r</VAR > &amp;part;<VAR >r</VAR >}} + {{frac|&amp;part;&amp;sup2;<VAR >f</VAR >|<VAR >r</VAR >&amp;sup2;&amp;part;&amp;sup2;<VAR >&amp;theta;</VAR >}} {{=}} 0}}

produces:

∂²fr² + ​frr + ​∂²fr²∂²θ = 0

Use prefix "1=" to allow simple equals-signs. Italicize letters by double-tic (''f''):

{{bigmath|1={{frac|&amp;part;&amp;sup2; ''f''|&amp;part;''r''&amp;sup2;}} + {{frac
|&amp;part;''f''|''r'' &amp;part;''r''}} = 0}}

produces:

∂² fr² + ​frr = 0

Note that any extra spaces placed in the template will appear in the output. A long line can be split before any vertical-bar pipe ('|').

Performance considerations

Template {{bigmath}} can process formulae (or equations) at rates over 220 per second. When template {{frac}} is also used, the rate drops to below 150 equations formatted per second.

See also