Subscript

From Free net encyclopedia

A subscript is a number, figure, or indicator, that appears below the normal line of type, typically used in a formula, mathematical expression, or description of a chemical compound. Probably the most famous example of a subscript is the number 2 in the formula for the molecule of water: H2O.

Typographically, subscripts are set with a lower baseline and a smaller size than the other text. For example, to set H2O correctly, the 2 should be about two-thirds the size of the H and the O. This is done automatically in many text editing and word processing programs (such as Microsoft Word).

  • In HTML and Wiki syntax, subscript text is produced by putting it inside the tags <sub> and </sub>.
  • Unicode defines subscript characters such as ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎ (&#8320 to &#8334).
  • In TeX's math mode (as used in MediaWiki), subscripts are typeset with the underscore _: $X_{ab}$ produces <math>X_{ab}</math>.

See also

Template:Typ-stubzh-min-nan:Ín-tit io:Indico is:Hnévísir he:אינדקס nl:Subscript ja:索引 sv:Indexläge