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|{{sfrac|∂² < var > f</ var > |∂ < var > r</ var > ² }} + {{sfrac|∂ < var > f</ var > |< var > r</ var > ∂ < var > r</ var > }} + {{sfrac|∂² < var > f</ var > |< var > r</ var > ²∂² < var > θ </ var > }} {{=}} 0}}
produces:
∂²f / ∂r ² + ∂f / r ∂r + ∂²f / r ²∂²θ = 0
Use prefix "1=" to allow simple equals-signs. Italicize letters by double-tic (''f''
):
{{bigmath|1={{sfrac|∂² ''f''|∂ ''r''² }} + {{sfrac
|∂ ''f''|''r'' ∂ ''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
∂
2
f
∂
r
2
+
∂
f
∂
r
=
0.
{\displaystyle {\frac {\partial ^{2}f}{\partial r^{2}}}+{\frac {\partial f}{\partial r}}=0.}
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
Math templates
Functions
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]] (value formatting)
[[Template:{{{2}}}|{{{2}}} ]]
Numeral systems
{{#invoke:BaseConvert |X toY }}
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
Conversions
[[Template:{{{2}}}|{{{2}}} ]] many units (see: list ) [[Template:{{{2}}}|{{{2}}} ]] abbreviated {{convert }} [[Template:{{{2}}}|{{{2}}} ]] {{convert }} for infoboxes [[Template:{{{2}}}|{{{2}}} ]] barrels of oil to tonnes [[Template:{{{2}}}|{{{2}}} ]] long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tons [[Template:{{{2}}}|{{{2}}} ]] miles and chains to kilometres linking "chains"
[[Template:{{{2}}}|{{{2}}} ]] degrees, minutes, and seconds to decimal degrees deg2dms decimal degrees to degrees, minutes, and seconds deg2hms decimal degrees to hour angle (in hours, minutes, and seconds) hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees [[Template:{{{2}}}|{{{2}}} ]] calculate inflation of Consumer Price Index-related prices [[Template:{{{2}}}|{{{2}}} ]] population density in an area [[Template:{{{2}}}|{{{2}}} ]] railway track gauges
[[Template:{{{2}}}|{{{2}}} ]] bigger font to match TeX \displaystyle (standalone formulas only) [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] bra–ket notation [[Template:{{{2}}}|{{{2}}} ]], [[Template:{{{2}}}|{{{2}}} ]] calculations :mw:Help:#expr ; formatting indicators ⌈3.14⌉ , ⌊ 3.14⌋ (no calculation performed) [[Template:{{{2}}}|{{{2}}} ]] slant fractions 3 ⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac }} instead) [[Template:{{{2}}}|{{{2}}} ]] integral symbols [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] angbr angular brackets [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] multiline delimiters (2–5 lines inclusive) [[Template:{{{2}}}|{{{2}}} ]] absolute values (paired vertical lines) [[Template:{{{2}}}|{{{2}}} ]] short text-based formulas [[Template:{{{2}}}|{{{2}}} ]] [mathematical] calligraphic font; alternative to LaTeX \mathcal{...}
[[Template:{{{2}}}|{{{2}}} ]] individual italicized maths variables in normal text [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] a line set above/below a sequence of characters [[Template:{{{2}}}|{{{2}}} ]] an arc set above a sequence of characters [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] arbitrary characters/diacritics set above/below one another [[Template:{{{2}}}|{{{2}}} ]] parentheses that can be resized ( ∑ ) [[Template:{{{2}}}|{{{2}}} ]] "standing" or upright fractions 3 / 5 (use in maths/science articles instead of{{fraction }} ) [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] subscripts and superscripts [[Template:{{{2}}}|{{{2}}} ]] Wrap TeX in <math> tags [[Template:{{{2}}}|{{{2}}} ]] symbol indicating the end of a proof [[Template:{{{2}}}|{{{2}}} ]] measurement values, uncertainties and units [[Template:{{{2}}}|{{{2}}} ]] various overarrows, underarrows, etc.
Boxes Tags
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]