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

Using the following code as the variable N

<syntaxhighlight lang="wikitext"> ∂²f/r² + f/rr + ∂²f/r²∂²θ </syntaxhighlight>

...in the <syntaxhighlight lang="wikitext" inline>{{{1}}}</syntaxhighlight> template, e.g. <syntaxhighlight lang="wikitext" inline> N = 0</syntaxhighlight>, produces:
∂²f/r² + f/rr + ∂²f/r²∂²θ = 0
...in the <syntaxhighlight lang="wikitext" inline></syntaxhighlight> template, e.g. <syntaxhighlight lang="wikitext" inline> N = 0</syntaxhighlight>, produces:
∂²f/r² + f/rr + ∂²f/r²∂²θ = 0

Use prefix "1=" to allow simple equals-signs

Italicize letters by double-tic (''f''): <syntaxhighlight lang="wikitext"> ∂² f/r² + f/rr = 0 </syntaxhighlight>

...produces:
∂² f/r² + f/rr = 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 ('|').

In contrast, there is <syntaxhighlight lang="tex" inline>

</syntaxhighlight> which produces:

This might be an alternative for more complex examples. If that's still too small, leave a comment on https://phabricator.wikimedia.org/T135419 please.

See also