Unicode has subscripted and superscripted versions of a number of characters including a full set of Arabic numerals.[1] 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.
The World Wide Web Consortium and the Unicode Consortium have made recommendations on the choice between using markup and using superscript and subscript characters:
When used in mathematical context (MathML) it is recommended to consistently use style markup for superscripts and subscripts.... However, when super and sub-scripts are to reflect semantic distinctions, it is easier to work with these meanings encoded in text rather than markup, for example, in phonetic or phonemic transcription.[2]
The intended use[2] when these characters were added to Unicode was to produce true superscripts and subscripts so that chemical and algebraic formulas could be written without markup. Thus "H₂O" (using a subscript 2 character) is supposed to be identical to "H2O" (with subscript markup).
In reality many fonts that include these characters ignore the Unicode definition, and instead design the digits for mathematical numerator and denominator glyphs,[3][4] which are aligned with the cap line and the baseline, respectively. When used with the solidus, these glyphs are a common substitute for diagonal fractions, such as ³/₄ for the ¾ glyph. This change was made because using markup does not give a good graphic approximation of fractions (compare markup 3/4 with super/sub-script ³/₄). The change also makes the superscript letters useful for ordinal indicators, more closely matching the ª and º characters. However, it makes them incorrect for normal superscript and subscript, and so chemical and algebraic formulas are better rendered by using markup.
Unicode intended that diagonal fractions be rendered by a different mechanism: the fraction slash U+2044 is visually similar to the solidus, but when used with the ordinary digits (not the superscripts and subscripts), it instructs the layout system that a fraction such as ¾ is to be rendered using automatic glyph substitution.[5][a] User-end support was quite poor for a number of years, but browsers[b] and fonts increasingly support the intended Unicode behavior. A selection of supporting fonts is displayed in the table below. (These will not display properly if you do not have the fonts installed, or if your browser does not support this behavior.)
Font | U+00BD ½ VULGAR FRACTION ONE HALF | U+0031 1 DIGIT ONE, U+2044 ⁄ FRACTION SLASH, U+0032 2 DIGIT TWO |
---|---|---|
Browser default font | ½ | 1⁄2 |
Andika | ½ | 1⁄2 |
Arno Pro | ½ | 1⁄2 |
URW Bookman | ½ | 1⁄2 |
Brill | ½ | 1⁄2 |
Brioso Pro | ½ | 1⁄2 |
Calibri | ½ | 1⁄2 |
Candara | ½ | 1⁄2 |
Carlito | ½ | 1⁄2 |
Cantarell | ½ | 1⁄2 |
FiraGO | ½ | 1⁄2 |
EB Garamond | ½ | 1⁄2 |
Gentium Book | ½ | 1⁄2 |
URW Gothic | ½ | 1⁄2 |
Lato | ½ | 1⁄2 |
Linux Libertine O | ½ | 1⁄2 |
Nimbus Roman | ½ | 1⁄2 |
Nimbus Sans | ½ | 1⁄2 |
Noto Sans | ½ | 1⁄2 |
Noto Serif | ½ | 1⁄2 |
Open Sans | ½ | 1⁄2 |
Ubuntu | ½ | 1⁄2 |
Yrsa | ½ | 1⁄2 |
Main article: Superscripts and Subscripts (Unicode block) |
The most common superscript digits (1, 2, and 3) were in ISO-8859-1 and were therefore carried over into those positions in the Latin-1 range of Unicode. The rest were placed in a dedicated section of Unicode at U+2070 to U+209F. The two tables below show these characters. 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; the one on the right contains the equivalents using HTML markup for the subscript or superscript.
|
|
Unicode version 15.0 also includes subscript and superscript characters that are intended for semantic usage, in the following blocks:[1][6]
Consolidated, the Unicode standard contains superscript and subscript versions of a subset of Latin, Greek and Cyrillic letters. Here they are arranged in alphabetical order for comparison (or for copy and paste convenience). Since these characters appear in different Unicode ranges, they may not appear to be the same size or position due to font substitution in the browser. Shaded cells mark small capitals that are not very distinct from minuscules, and Greek letters that are indistinguishable from Latin, and so would not be expected to be supported by Unicode.
Little punctuation is encoded. Parentheses and the exclamation mark are shown above. A question mark may be created with a superscript gelded question mark and a combining dot: ⟨ˀ̣⟩.
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Superscript capital | ᴬ | ᴮ | ꟲ | ᴰ | ᴱ | ꟳ | ᴳ | ᴴ | ᴵ | ᴶ | ᴷ | ᴸ | ᴹ | ᴺ | ᴼ | ᴾ | ꟴ | ᴿ | ᵀ | ᵁ | ⱽ | ᵂ | ||||
Superscript small cap | 𐞄 | 𐞒 | 𐞖 | ᶦ | ᶫ | ᶰ | 𐞪 | ᶸ | 𐞲 | |||||||||||||||||
Superscript minuscule | ᵃ | ᵇ | ᶜ | ᵈ | ᵉ | ᶠ | ᵍ | ʰ | ⁱ | ʲ | ᵏ | ˡ | ᵐ | ⁿ | ᵒ | ᵖ | 𐞥 | ʳ | ˢ | ᵗ | ᵘ | ᵛ | ʷ | ˣ | ʸ | ᶻ |
Overscript capital | ◌ᷛ | ◌ᷞ | ◌ᷟ | ◌ᷡ | ◌ᷢ | |||||||||||||||||||||
Overscript minuscule | ◌ͣ | ◌ᷨ | ◌ͨ | ◌ͩ | ◌ͤ | ◌ᷫ | ◌ᷚ | ◌ͪ | ◌ͥ | ◌ᷜ | ◌ᷝ | ◌ͫ | ◌ᷠ | ◌ͦ | ◌ᷮ | ◌ͬ | ◌ᷤ | ◌ͭ | ◌ͧ | ◌ͮ | ◌ᷱ | ◌ͯ | ◌ᷦ | |||
Subscript minuscule | ₐ | ₑ | ₕ | ᵢ | ⱼ | ₖ | ₗ | ₘ | ₙ | ₒ | ₚ | ᵣ | ₛ | ₜ | ᵤ | ᵥ | ₓ | |||||||||
Underscript minuscule | ◌᷊ | ◌ᪿ |
Α | Β | Γ | Δ | Ε | Ζ | Η | Θ | Ι | Κ | Λ | Μ | Ν | Ξ | Ο | Π | Ρ | Σ | Τ | Υ | Φ | Χ | Ψ | Ω | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Superscript minuscule | * | ᵝ | ᵞ | ᵟ | ᵋ | ᶿ | ᶥ | * | ᵠ | ᵡ | ||||||||||||||
Overscript minuscule | ◌ᷩ | |||||||||||||||||||||||
Subscript minuscule | ᵦ | ᵧ | ᵨ | ᵩ | ᵪ |
* In some fonts, ᵅ and ᶹ can be used as superscript alpha and upsilon. ᵋ and ᶥ are also officially Latin letters, but display the same as Greek.
А | Ә | Б | В | Г | Ґ | Д | Е | Є | Ж | З | Ѕ | Ꚉ | И | І | Ї | Ј | К | Л | М | Н | О | Ө | П | Р | С | Ҫ | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Superscript | 𞀰 | 𞁋 | 𞀱 | 𞀲 | 𞀳 | 𞀴 | 𞀵 | 𞀶 | 𞀷 | 𞁊 | 𞀸 | 𞁌 | 𞁍 | 𞀹 | 𞀺 | 𞀻 | ᵸ | 𞀼 | 𞁎 | 𞀽 | 𞀾 | 𞀿 | 𞁫 | ||||
Overscript | ◌ⷶ | ◌ⷠ | ◌ⷡ | ◌ⷢ | ◌ⷣ | ◌ⷷ | ◌ꙴ | ◌ⷤ | ◌ⷥ | ◌ꙵ | ◌𞂏 | ◌ꙶ | ◌ⷦ | ◌ⷧ | ◌ⷨ | ◌ⷩ | ◌ⷪ | ◌ⷫ | ◌ⷬ | ◌ⷭ | |||||||
Subscript | 𞁑 | 𞁒 | 𞁓 | 𞁔 | 𞁧 | 𞁕 | 𞁖 | 𞁗 | 𞁘 | 𞁩 | 𞁙 | 𞁨 | 𞁚 | 𞁛 | 𞁜 | 𞁝 | 𞁞 | ||||||||||
Т | У | Ү | Ұ | Ꙋ | Ф | Х | Ѡ | Ц | Ч | Џ | Ш | Щ | Ъ | Ꙑ | Ы | Ь | Ѣ | Э | Ю | Ꙗ | Ѥ | Ѧ | Ѫ | Ѭ | Ѳ | Ӏ | |
Superscript | 𞁀 | 𞁁 | 𞁏 | 𞁭 | 𞁂 | 𞁃 | 𞁄 | 𞁅 | 𞁆 | ꚜ | 𞁬 | 𞁇 | ꚝ | 𞁈 | 𞁉 | 𞁐 | |||||||||||
Overscript | ◌ⷮ | ◌ꙷ | ◌ⷹ | ◌ꚞ | ◌ⷯ | ◌ꙻ | ◌ⷰ | ◌ⷱ | ◌ⷲ | ◌ⷳ | ◌ꙸ | ◌ꙹ | ◌ꙺ | ◌ⷺ | ◌ⷻ | ◌ⷼ | ◌ꚟ | ◌ⷽ | ◌ⷾ | ◌ⷿ | ◌ⷴ | ||||||
Subscript | 𞁟 | 𞁠 | 𞁡 | 𞁢 | 𞁣 | 𞁪 | 𞁤 | 𞁥 | 𞁦 |
Many of the Cyrillic characters were added to Unicode 15, in the Cyrillic Extended-D block, and published in 2022.[8] The D block was added to the free Gentium Plus and Andika fonts with version 6.2 in February 2023.
See also small caps in Unicode.
The Latin Extended-F block was created for superscript IPA letters. They were added to the free Gentium Plus and Andika fonts with version 6.2 in February 2023.
The Unicode characters for superscript (modifier) IPA and extIPA consonant letters are as follows. Characters for sounds with secondary articulation are set off in parentheses and placed below the base letters:
Bilabial | Labiodental | Dental | Alveolar | Postalveolar | Retroflex | Palatal | Velar | Uvular | Pharyngeal | Glottal | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Nasal | m ᵐ 1D50 |
ɱ ᶬ 1DAC |
n ⁿ 207F |
ɳ ᶯ 1DAF |
ɲ ᶮ 1DAE |
ŋ ᵑ 1D51 |
ɴ ᶰ 1DB0 |
|||||||||||||||
Plosive | p ᵖ 1D56 |
b ᵇ 1D47 |
t ᵗ 1D57 |
d ᵈ 1D48 |
ʈ 𐞯 107AF |
ɖ 𐞋 1078B |
c ᶜ 1D9C |
ɟ ᶡ 1DA1 |
k ᵏ 1D4F |
ɡ ᶢ/g ᵍ 1DA2/1D4D |
q 𐞥 107A5 |
ɢ 𐞒 10792 |
ʡ 𐞳 107B3 |
ʔ ˀ 2C0 | ||||||||
Affricate | ʦ 𐞬 107AC |
ʣ 𐞇 10787 |
ʧ 𐞮 107AE (ʨ 𐞫) 107AB |
ʤ 𐞊 1078A (ʥ 𐞉) 10789 |
ꭧ 𐞭 107AD |
ꭦ 𐞈 10788 |
||||||||||||||||
Fricative | ɸ ᶲ 1DB2 |
β ᵝ 1D5D |
f ᶠ 1DA0 |
v ᵛ 1D5B |
θ ᶿ 1DBF |
ð ᶞ 1D9E |
s ˢ 2E2 |
z ᶻ 1DBB |
ʃ ᶴ 1DB4 (ɕ ᶝ) 1D9D |
ʒ ᶾ 1DBE (ʑ ᶽ) 1DBD |
ʂ ᶳ 1DB3 |
ʐ ᶼ 1DBC |
ç ᶜ̧ 1D9C + 0327 [note 1] |
ʝ ᶨ 1DA8 |
x ˣ 2E3 (ɧ 𐞗) 10797 |
ɣ ˠ 2E0 |
χ ᵡ 1D61 |
ʁ ʶ 2B6 |
ħ 𐞕 10795 (ʩ 𐞐) 10790 |
ʕ ˤ, ˁ 2E4, 2C1 [note 2] |
h ʰ 2B0 |
ɦ ʱ 2B1 |
Approximant | ʋ ᶹ 1DB9 |
ɹ ʴ 2B4 |
ɻ ʵ 2B5 |
j ʲ 2B2 (ɥ ᶣ) 1DA3 |
(ʍ ꭩ) AB69 |
ɰ ᶭ 1DAD (w ʷ) 2B7 |
||||||||||||||||
Tap/flap | ⱱ 𐞰 107B0 |
ɾ 𐞩 107A9 |
ɽ 𐞨 107A8 |
|||||||||||||||||||
Trill | ʙ 𐞄 10784 |
r ʳ 2B3 |
ʀ 𐞪 107AA |
ʜ 𐞖 10796 |
ʢ 𐞴 107B4 |
|||||||||||||||||
Lateral fricative | ɬ 𐞛 1079B (ʪ 𐞙) 10799 |
ɮ 𐞞 1079E (ʫ 𐞚) 1079A |
ꞎ 𐞝 1079D |
𝼅 𐞟 1079F |
𝼆 𐞡 107A1 |
𝼄 𐞜 1079C |
||||||||||||||||
Lateral approximant | l ˡ 2E1 (ɫ ꭞ) AB5E [note 3] |
ɭ ᶩ 1DA9 |
ʎ 𐞠 107A0 |
ʟ ᶫ 1DAB |
||||||||||||||||||
Lateral tap/flap | ɺ 𐞦 107A6 |
𝼈 𐞧 107A7 |
||||||||||||||||||||
Implosive | ɓ 𐞅 10785 |
ɗ 𐞌 1078C |
ᶑ 𐞍 1078D |
ʄ 𐞘 10798 |
ɠ 𐞓 10793 |
ʛ 𐞔 10794 |
||||||||||||||||
Click release | ʘ 𐞵 107B5 |
ǀ 𐞶 107B6 |
ǃ ꜝ A71D (¡ ꜞ) A71E [note 4] |
𝼊 𐞹 107B9 |
ǂ 𐞸 107B8 |
|||||||||||||||||
Lateral click release |
ǁ 𐞷 107B7 |
The spacing diacritic for ejective consonants, U+2BC, works with superscript letters despite not being superscript itself: ⟨ᵖʼ ᵗʼ ᶜʼ ᵏˣʼ⟩. If a distinction needs to be made, the combining apostrophe U+315 may be used: ⟨ᵖ̕ ᵗ̕ ᶜ̕ ᵏˣ̕⟩. The spacing diacritic should be used for a baseline letter with a superscript release, such as [tˢʼ] or [kˣʼ], where the scope of the apostrophe includes the non-superscript letter, but the combining apostrophe U+315 might be used to indicate a weakly articulated ejective consonant like [ᵗ̕] or [ᵏ̕], where the whole consonant is written as a superscript, or together with U+2BC when separate apostrophes have scope over the base and modifier letters, as in ⟨pʼᵏˣ̕⟩.[9]
Spacing diacritics, as in ⟨tʲ⟩, cannot be secondarily superscripted in plain text: ⟨ᵗʲ⟩. (In this instance, the old IPA letter for [tʲ], ⟨ƫ⟩, has a superscript variant in Unicode, U+1DB5 ⟨ᶵ⟩, as does the lateral, U+1DDA ⟨ᶪ⟩, but that is not generally the case.)
The Unicode characters for superscript (modifier) IPA vowel letters, plus an extended letter found in English dictionaries, are as follows. The two most recently retired alternative letters are also supported; they are set off in parentheses and placed below the standard IPA letters:
Front | Central | Back | ||||
---|---|---|---|---|---|---|
Close | i ⁱ 2071 |
y ʸ 2B8 |
ɨ ᶤ 1DA4 |
ʉ ᶶ 1DB6 |
ɯ ᵚ 1D5A |
u ᵘ 1D58 |
Near-close | ɪ ᶦ 1DA6 (ɩ ᶥ) 1DA5 |
ʏ 𐞲 107B2 |
ᵻ ᶧ 1DA7 |
ʊ ᶷ 1DB7 (ɷ 𐞤) 107A4 | ||
Close-mid | e ᵉ 1D49 |
ø 𐞢 107A2 |
ɘ 𐞎 1078E |
ɵ ᶱ 1DB1 |
ɤ 𐞑 10791 |
o ᵒ 1D52 |
Mid | ə ᵊ 1D4A |
|||||
Open-mid | ɛ ᵋ 1D4B |
œ ꟹ A7F9 |
ɜ ᶟ 1D9F [note 5] |
ɞ 𐞏 1078F |
ʌ ᶺ 1DBA |
ɔ ᵓ 1D53 |
Near-open | æ 𐞃 10783 [note 6] |
ɶ 𐞣 107A3 |
ɐ ᵄ 1D44 |
ɑ ᵅ 1D45 |
ɒ ᶛ 1D9B | |
Open | a ᵃ 1D43 |
Note that the para-IPA letter for a central reduced vowel, ⟨ᵻ⟩, is supported, but its rounded equivalent, ⟨ᵿ⟩, is not.[note 7]
The precomposed Unicode rhotic vowel letters ⟨ɚ ɝ⟩ are not directly supported. The rhotic diacritic should be used instead: ⟨ᵊ˞ ᶟ˞⟩.[10]
The two length marks are also supported:
Long | Half-long |
---|---|
ː 𐞁 10781 |
ˑ 𐞂 10782 |
Superscript wildcards (full caps) are partially supported: e.g. ᴺC (prenasalized consonant), ꟲN (prestopped nasal), Pꟳ (fricative release), NᴾF (epenthetic plosive), CVNᵀ (tone-bearing syllable), Cᴸ (liquid or lateral release), Cᴿ (rhotic or resonant release), Vᴳ (off-glide/diphthong), Cⱽ (fleeting vowel). However, superscript S for sibilant release and superscript Ʞ for fleeting/epenthetic click are not supported as of Unicode 15. Other basic Latin superscript wildcards for tone and weak indeterminate sounds, as described in the article on the International Phonetic Alphabet, are mostly supported. (See table in previous section.)
In addition, a very few IPA letters beyond the basic Latin alphabet have combining superscript forms or are supported as subscripts:
ɑ | æ | ç | ð | ə | ʃ | ʍ | ʔ | ʼ | |
---|---|---|---|---|---|---|---|---|---|
Overscript | ◌ᷧ | ◌ᷔ | ◌ᷗ | ◌ᷙ | ◌ᷪ | ◌ᷯ | ◌̉[note 8] | ◌̓ | |
Subscript | ₔ | ||||||||
Underscript | ◌ᫀ | ◌̦ |
Primarily for compatibility with earlier character sets, Unicode contains a number of characters that compose super- and subscripts with other symbols.[1] In most fonts these render much better than attempts to construct these symbols from the above characters or by using markup.