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.
{{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.
Math templates
Conversions
convert many units (see: list ) cvt many units; abbreviated {{convert }} convinfobox for use in infoboxes bbl to t barrels of oil to tonnes long ton long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tonnes miles-chains miles and chains to kilometres linking "chains" rndfrac decimals to fractions
Notation
bigmath for stand-alone formulas, using a bigger font to match \displaystyle PNG-rendered TeX formulas bra–ket notation frac for creating fractions 3 ⁄5 (not for use in science or mathematical articles; instead, use {{sfrac }}
) intmath integral symbols angular brackets multiline delimiters (2–5 lines inclusive) math for short inline formulas mathcal [mathematical] calligraphic font for use in mathematical formulas, as an alternative to \mathcal{...} in LaTeX markup
mvar a short form to refer to individual italicized maths variables in normal text arbitrary characters/diacritics set above/below one another radic Radicals √2 sfrac for creating fractions 3 / 5 (this template should be used in science or mathematical articles instead of {{frac }}
) Subscripts and superscripts tmath wraps a TeX math expression in <math> tags val to report measurement values, uncertainties and units vec for various overarrows, underarrows, pointing left, right or both ways
bigmath for stand-alone formulas, using a bigger font to match \displaystyle PNG-rendered TeX formulas bra–ket notation frac for creating fractions 3 ⁄5 (not for use in science or mathematical articles; instead, use {{sfrac }}
) intmath integral symbols angular brackets multiline delimiters (2–5 lines inclusive) math for short inline formulas mathcal [mathematical] calligraphic font for use in mathematical formulas, as an alternative to \mathcal{...} in LaTeX markup
mvar a short form to refer to individual italicized maths variables in normal text arbitrary characters/diacritics set above/below one another radic Radicals √2 sfrac for creating fractions 3 / 5 (this template should be used in science or mathematical articles instead of {{frac }}
) Subscripts and superscripts tmath wraps a TeX math expression in <math> tags val to report measurement values, uncertainties and units vec for various overarrows, underarrows, pointing left, right or both ways
bigmath for stand-alone formulas, using a bigger font to match \displaystyle PNG-rendered TeX formulas bra–ket notation frac for creating fractions 3 ⁄5 (not for use in science or mathematical articles; instead, use {{sfrac }}
) intmath integral symbols angular brackets multiline delimiters (2–5 lines inclusive) math for short inline formulas mathcal [mathematical] calligraphic font for use in mathematical formulas, as an alternative to \mathcal{...} in LaTeX markup
mvar a short form to refer to individual italicized maths variables in normal text arbitrary characters/diacritics set above/below one another radic Radicals √2 sfrac for creating fractions 3 / 5 (this template should be used in science or mathematical articles instead of {{frac }}
) Subscripts and superscripts tmath wraps a TeX math expression in <math> tags val to report measurement values, uncertainties and units vec for various overarrows, underarrows, pointing left, right or both ways