The Full Wiki

More info on Unicode subscripts and superscripts

Unicode subscripts and superscripts: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


From Wikipedia, the free encyclopedia

This article contains special characters. Without proper rendering support, you may see question marks, boxes, or other symbols.

Unicode has subscripted and superscripted versions of a number of characters including a full set of arabic numerals. These characters allow any polynomial, chemical and certain other equations to be represented in plain text without using any form of markup like HTML or TEX. With the exception of using "²" and "³" for squared and cubed units it is considered inadvisable to use these characters when other methods of superscript and subscript are available.

The difference between subscript/superscript and numerator/denominator glyphs. In many popular fonts the Unicode "subscript" and "superscript" characters are actually numerator and denominator glyphs. The typeface is Myriad Pro.

Note as well that most fonts that include these characters use them for mathematical numerator and denominator glyphs, which are smaller than normal characters but are aligned with the cap line and the baseline, respectively. When used with the solidus, these glyphs are useful for making arbitrary diagonal fractions (similar to the ½ glyph), but are not substitutes for properly aligned small digits. Another Unicode character, the fraction slash is visually similar to the solidus, but when used with the ordinary digits (not the superscripts and subscripts) can indicate to a layout system that a fraction, such as 11⁄12, is preferred.

The most common superscript digits were in ISO-8859-1 at positions B9HEX, B2HEX and B3HEX for digits 1, 2, and 3 respectively and have therefore been carried over into those positions in the Latin-1 range of Unicode. The rest were placed in a dedicated section of Unicode at U+xxxx2070 to U+209F. The two tables below show the characters in this range. Each superscript or subscript character is preceded by a normal x to show the subscripting/superscripting. The table on the left contains the actual Unicode characters (which may not render correctly in your browser); the one on the right contains the equivalents using HTML markup for the subscript/superscript.

0 1 2 3 4 5 6 7 8 9 A B C D E F
U+207x x xⁱ x x x x x x x x x x x x
U+208x x x x x x x x x x x x x x x x
U+209x xₐ xₑ xₒ xₓ xₔ
0 1 2 3 4 5 6 7 8 9 A B C D E F
U+207x x0 xi x4 x5 x6 x7 x8 x9 x+ x x= x( x) xn
U+208x x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x+ x x= x( x)
U+209x xa xe xo xx xə
U+bx x2 x3 x1




Got something to say? Make a comment.
Your name
Your email address