Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22e3aa04f861de6

Jump to content

Template:Bigmath/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

[edit]

Using the following code as the variable N

[edit]
{{sfrac|&part;&sup2;<var>f</var>|&part;<var>r</var>&sup2;}} + {{sfrac|&part;<var>f</var>|<var>r</var> &part;<var>r</var>}} + {{sfrac|&part;&sup2;<var>f</var>|<var>r</var>&sup2;&part;&sup2;<var>&theta;</var>}}
...in the {{math}} template, e.g. {{math| N {{=}} 0}}, produces:
²f/r² + f/r r + ²f/r²²θ = 0
...in the {{bigmath}} template, e.g. {{bigmath| N {{=}} 0}}, produces:
²f/r² + f/r r + ²f/r²²θ = 0

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

[edit]

Italicize letters by double-tic (''f''):

{{bigmath|1={{sfrac|&part;&sup2; ''f''|&part;''r''&sup2;}} + {{sfrac|&part;''f''|''r'' &part;''r''}} = 0}}
...produces:
² f/r² + f/r r = 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 <math display=block>\frac{\part^2 f}{\part r^2} + \frac{\part f}{\part r} = 0</math> 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

[edit]