This article is about the terms 'subscript' and 'superscript' as used in typography. "SuperScript" can also refer to a commercially available Reverse transcriptase.
A subscript or superscript is a number, figure, symbol, or indicator that appears smaller than the normal line of type and is set slightly below or above it – subscripts appear at or below the baseline, while superscripts are above. Subscripts and superscripts are perhaps best known for their use in formulas, mathematical expressions, and descriptions of chemical compounds or isotopes, but have many other uses as well.
In professional typography, subscript and superscript characters are not simply ordinary characters reduced in size; to keep them visually similar to the rest of the font, typeface designers make them slightly heavier than a reduced-size character would be. Likewise, the amount that sub- or superscripted text is moved from the original baseline varies by typeface and by use.
A single typeface may contain sub- and super-script glyphs at different positions for different uses. The four most common positions are listed here. Because each position is used in different contexts, not all alphanumerics may be available in all positions. For example, subscript letters on the baseline are quite rare, and many typefaces only provide a limited number of superscripted letters. Despite these differences, all reduced-sized glyphs go by the same generic name of subscript and superscript. Note that the terms subscript and superscript are synonymous with the terms inferior letter (or number) and superior letter (or number), respectively.
A subscript can also distinguish between different versions of a subatomic particle. Thus electron, muon, and tau neutrinos are denoted and . A particle may be distinguished by multiple subscripts, such as for the triple bottom omega particle.
Similarly, subscripts are also used frequently in mathematics to define different versions of the same variable; for example, in an equation x0 and xf may indicate the initial and final value of x, while vrocket and vobserver would stand for the velocities of a rocket and an observer. In addition to this, subscript can be use to refer to members in a sequence or set. For example, in the sequence O = (45, -2, 800), O3 refers to the third member of sequence O, which is 800.
Also in mathematics and computing, subscript can be used to represent the radix, or base, of a written number, especially where multiple bases are used alongside each other. For example, comparing values in hexadecimal, denary, and octal one might write Chex = 12dec = 14oct.
Subscripted numbers dropped below the baseline are also used for the denominators of stacked fractions, like this: .
The only common use of these subscripts is for the denominators of diagonal fractions, like ½ or the signs for percent %, permille ‰, and basis point ‱. Certain standard abbreviations are also composed as diagonal fractions, such as ℅ (care of), ℀ (account of), ℁ (addressed to the subject), or in Spanish ℆ (cada uno/a, "each one").
Ordinal indicators are sometimes written as superscripts (1st, 2nd, 3rd rather than 1st, 2nd, 3rd), although many English-language style guides recommend against this use. Other languages use a similar convention, such as 1er or 2e in French, or 4ª and 4º in Italian, Portuguese, and Spanish.
Many abbreviations use superscripts, especially historically. Examples in English include Jos and Wm (for Joseph and William), ye (for the, originally þe), tht or yt (that), yr (your), or maty (majesty)
In handwritten shorthand, many abbreviations are still written this way, such as defn (definition), expt (experiment), or govt (government). In French, superscript abbreviations are still quite common, such as Mlle (for Mademoiselle) and Gle (for générale). The standard abbreviation for “number,” №, also uses a superscript. In early modern writing, two-letter abbreviations were sometimes written with the superscript directly above the base letter, as in yͤ or yͭ.
In early Middle High German, umlauts and other modifications to pronunciation would be indicated by superscript letters placed directly above the letter they modified. Thus the modern umlaut ü was written as uͤ; both vowel and consonants were used in this way, as in ſheͨzze or boͮsen
In modern typefaces, these letters are usually smaller than other superscripts, and their baseline is slightly above the base font’s midline, making them extend no higher than a typical ordinal indicator.
Superscripts are used for the standard abbreviations for service mark ℠ and trademark ™. The signs for copyright © and registered trademark ® are also sometimes superscripted, depending on the use or the typeface.
On hand-written documents and signs, a monetary amount may be written with the cents value superscripted, as in $8⁰⁰ or 8€⁵⁰. Often the superscripted numbers will be underlined: $8⁰⁰, 8€⁵⁰. The currency sign itself may also be superscripted, as in $80 or 6¢.
Superscripted numerals are used for the numerators of diagonal fractions, like ¾ or the signs for percent %, permille ‰, and basis point ‱. Certain standard abbreviations are also composed as diagonal fractions, such as ℅ (care of), ℀ (account of), ℁ (addressed to the subject), or in Spanish ℆ (cada uno/a, "each one").
In mathematics, high superscripts are used to indicate that one number or variable is raised to the power of another number or variable. Thus y4 is y raised to the fourth power, 2x is 2 raised to the power of x, and the famous equation E = mc2 includes a term for the speed of light squared.
The charges of ions and subatomic particles are also denoted with superscripts. is a negatively charged chlorine atom, is an atom of lead with a charge of positive four, is an electron, is a positron, and is an antimuon.
Atomic isotopes are written using superscripts. In symbolic form, the number of nucleons is denoted as a superscripted prefix to the chemical symbol (for example , , , , and ). The letters m or f may follow the number to indicate metastable or fission isomers, as in or
Subscripts and superscripts can also be used together to give more specific information about nuclides. For example, denotes an atom of uranium with 235 nucleons, 92 of which are protons. A chemical symbol can be completely surrounded: is an ion of carbon with 14 nucleons, of which six are protons and 8 are neutrons.
The numerators of stacked fractions (such as ) usually use high-set superscripts, although some specially designed glyphs keep the top of the numerator aligned with the top of the full-height numerals.
This image shows the four common locations for subscripts and superscripts, according to their typical uses. The typeface is Minion Pro, set in Adobe Illustrator. Note that the default superscripting algorithms of most word processors would set the “th” and “lle” too high, and the weight of all the subscript and superscript glyphs would be too light.
| Comparison of software support | |||||||
|---|---|---|---|---|---|---|---|
| Software | OpenType support for professional glyphs? | Default values for glyph transformation (non-professional glyphs) | Keyboard Shortcuts | ||||
| size | subscript position | superscript position | user-modifiable settings? | subscript | superscript | ||
| OpenOffice 2.3 | no | 58% | -33% | +33% | yes | CTRL+SHIFT+b | CTRL+SHIFT+p |
| Microsoft Word 2002 | no | 65% | -14.1% | +35% | manual1 | CTRL+= | CTRL+SHIFT+= |
| Adobe Illustrator CS3 | yes | 58.3% | -33.3% | +33.3% | yes | ||
| Adobe Photoshop CS3 | ordinal letters only | 58.3% | -33.3% | +33.3% | manual1 | ALT+CTRL+SHIFT+= | CTRL+SHIFT+= |
| Notes: 1. Default subscript and superscript options can be overcome by manually changing the font size and raising/lowering text. | |||||||
| HTML subscripts and superscripts |
|---|
| Ab Cd |
<sub> and </sub>. Similarly, superscripts are produced with and . The exact size and position of the resulting characters will vary by font and browser, but are usually reduced to around 75% original size. Note that superscripts are usually placed too high for many typographic purposes.
$X_{ab}$ produces , and $X^{ab}$ produces .
Unicode includes subscript and superscript characters in the following blocks:
Consolidated for cut-and-pasting purposes, the Unicode standard defines complete sub- and super-scripts for numbers and common mathematical symbols (⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎ ), a full superscript latin lowercase alphabet except q (ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ ), a limited uppercase latin alphabet (ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ᵂ ), a few subscripted lowercase letters (ₐ ₑ ᵢ ₒ ᵣ ᵤ ᵥ ₓ ), and some greek letters (ᵅ ᵝ ᵞ ᵟ ᵋ ᶿ ᶥ ᶲ ᵠ ᵡ ᵦ ᵧ ᵨ ᵩ ᵪ ). Note that since these glpyhs come from different ranges, they may not be of the same size and position, depending on the typeface.