The mvar template makes the argument italic and formats as mathematics. It is used to refer to individual variables in normal running text. It should not be used within a {{math }} template.
Note that digits in a variable name are conventionally not italic so {{math }} should be used instead in for example {{math|''x''<sub>1</sub>}} to produce x 1 . Functions and variables made up of multiple letters are conventionally set in upright letters so {{math }} should be used in that case too; for example {{math|cos}} to produce cos .
For example:
Let {{mvar|x}} be the maximum value used.
produces:
Let x be the maximum value used.
{{math }} which formats its argument as mathematics
{{bigmath }}, the same as {{math }} but makes it bigger
{{tmath }} wraps a [[TeX|ढाँचा:TeX ]] math expression in <math> tags
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