From Wikipedia, the free encyclopedia
Sub scripts text, i.e.
{{sub|Text to be subscripted}} produces: Text to be subscripted
This template may be listed at Wikipedia:Subst as a good candidate for substituting (i.e. {{subst:sub}}). On a page that uses the template many times, however, this is likely to clutter and lengthen the page significantly.
Text can also be subscripted simply by using the <sub> and </sub> tags, so that:
<sub>Text to be subscripted</sub> also produces: Text to be subscripted
Template Data
Template parameters[ Edit template data ]
This template prefers inline formatting of parameters.
Parameter Description Type Status subscripted text 1no description
Line required
See also
Superscript and subscript-related templates
{{sup}} and related templates Combined super/subscripts
sup textsuperscript superscript text i sup (isup · padlsup ) italic text superscript (rather than: italic text superscript ) b sup (bsup ) textsuperscript (rather than: textsuperscript ) sub textsubscript subscript text subsub textdouble-subscripted double-subscripted text
Math templates
Functions
Numeral systems
bigmath bigger font to match TeX \displaystyle (standalone formulas only) math short text-based formulas mathcal [mathematical] calligraphic font; alternative to LaTeX \mathcal{...} tombstone symbol indicating the end of a proof mvar individual italicized maths variables in normal text val measurement values, uncertainties and units
a line set above/below a sequence of characters vec various overarrows, underarrows, etc. abs absolute values (paired vertical lines)
angular brackets
bra–ket notation
multiline delimiters (2–5 lines inclusive) ceil , floor calculations :mw:Help:#expr ; formatting indicators ⌈ 3.14⌉ , ⌊ 3.14⌋ (no calculation performed) pars parentheses that can be resized ( ∑ ) fraction slant fractions 3 ⁄ 5 (not for maths/science articles; use standing or upright fractions { { sfrac } } instead) sfrac "standing" or upright fractions 3 / 5 (use in maths/science articles instead of{ { fraction } } ) intmath integral symbols sum-int an integral superimposed over a capital sigma
subscripts and superscripts
arbitrary characters/diacritics set above/below one another tmath Wrap TeX in <math> tags