This template builds an alternative form of common fractions , using a vinculum (horizontal line), for scientific and mathematical text . It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order. Please do not substitute it.
{{sfrac|A|B|C}}
A + B / C (integer, numerator and denominator)
{{sfrac|A|B}}
A / B (numerator and denominator)
{{sfrac|A}}
1 / A (denominator only)
1 / 2 1 / 3 2 / 3 1 / 4 3 / 4 1 / 5 2 / 5 3 / 5 4 / 5 1 / 6 5 / 6 1 / 7 2 / 7 3 / 7 4 / 7 5 / 7 6 / 7 1 / 8 3 / 8 5 / 8 7 / 8 1 / 16 3 / 16 5 / 16 7 / 16 9 / 16 11 / 16 13 / 16 15 / 16 22 / 7 1 + 1 / 16 16 + 2 / 3
2ᱪᱷᱟᱸᱪ:Pi / a ²b
Inside the {{math }} template (for inline math):
1 / 2 1 / 3 2 / 3 1 / 4 3 / 4 1 / 5 2 / 5 3 / 5 4 / 5 1 / 6 5 / 6 1 / 7 2 / 7 3 / 7 4 / 7 5 / 7 6 / 7 1 / 8 3 / 8 5 / 8 7 / 8 1 / 16 3 / 16 5 / 16 7 / 16 9 / 16 11 / 16 13 / 16 15 / 16 22 / 7 1 + 1 / 16 16 + 2 / 3 2ᱪᱷᱟᱸᱪ:Pi / a ²b
Inside the {{bigmath }} template (for standalone math):
1 / 2 1 / 3 2 / 3 1 / 4 3 / 4 1 / 5 2 / 5 3 / 5 4 / 5 1 / 6 5 / 6 1 / 7 2 / 7 3 / 7 4 / 7 5 / 7 6 / 7 1 / 8 3 / 8 5 / 8 7 / 8 1 / 16 3 / 16 5 / 16 7 / 16 9 / 16 11 / 16 13 / 16 15 / 16 22 / 7 1 + 1 / 16 16 + 2 / 3 2ᱪᱷᱟᱸᱪ:Pi / a ²b
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