Editing Markup Symbol for 1 2 to One-half
Unicode characters
The difference between superscript/subscript and numerator/denominator glyphs. In many popular fonts the Unicode "superscript" and "subscript" characters are actually numerator and denominator glyphs.
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]
Uses [edit]
The intended use[2] when these characters were added to Unicode was to allow chemical and algebra formulas and phonetics to be written without markup, but produce true superscripts and subscripts. Thus "H₂O" (using a subscript character) is supposed to be identical to "H2O" (with subscript markup).
In reality most fonts that include these characters ignore the Unicode definition, and design the digits for mathematical numerator and denominator glyphs,[ citation needed ] 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). Making fractions using existing software super/subscripts requires many characters and does not look like the rendered fraction (example: 1/2), so font designers provided this alternative. This also makes the superscript letters useful for ordinal indicators, more closely matching the ª and º characters. However it makes them incorrect for normal super and subscripts, and formulas are rendered correctly by using markup rather than these characters.
Unicode intended to produce diagonal fractions through a different mechanism but it is very poorly supported. The fraction slash U+2044 is visually similar to the solidus, but when used with the ordinary digits (not the superscripts and subscripts) is intended to tell a layout system that a fraction such as ¾ should be rendered[3] using automatic glyph substitution[a] for the digits. Some browsers support this[b] but not in all fonts. A selection of fonts is shown in the below table.
Characters | Font | Result |
---|---|---|
U+00BD ½ VULGAR FRACTION ONE HALF | Default | ½ |
U+00B9 ¹ SUPERSCRIPT ONE, U+002F / SOLIDUS, U+2082 ₂ SUBSCRIPT TWO | ¹/₂ | |
U+00B9 ¹ SUPERSCRIPT ONE, U+2044 ⁄ FRACTION SLASH, U+2082 ₂ SUBSCRIPT TWO | ¹⁄₂ | |
U+0031 1 DIGIT ONE, U+2044 ⁄ FRACTION SLASH, U+0032 2 DIGIT TWO | 1⁄2 | |
Arial | 1⁄2 | |
Cambria | 1⁄2 | |
Consolas | 1⁄2 | |
Times New Roman | 1⁄2 | |
FiraGO | 1⁄2 | |
EB Garamond | 1⁄2 | |
Cantarell | 1⁄2 | |
Lato | 1⁄2 | |
Linux Libertine O | 1⁄2 | |
Nimbus Roman | 1⁄2 | |
Ubuntu | 1⁄2 | |
Yrsa | 1⁄2 |
Superscripts and subscripts block [edit]
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.
|
|
Reserved for future use.
Other characters from Latin-1 not related to super- or sub-scripts.
Other superscript and subscript characters [edit]
Unicode version 13.0 also includes subscript and superscript characters that are intended for semantic usage, in the following blocks:[1] [4]
- Superscript
- The Latin-1 Supplement block contains the feminine and masculine ordinal indicators ª and º.
- The Latin Extended-C block contains one additional superscript, ⱽ.
- The Latin Extended-D block contains five superscripts: ꝰ ꟸ ꟹ ꟲ ꟳ.
- The Latin Extended-E block contains five superscripts: ꭜ ꭝ ꭞ ꭟ ꭩ.
- The Latin Extended-F block is entirely superscripts.
- The Spacing Modifier Letters block has superscripted letters and symbols used for phonetic transcription: ʰ ʱ ʲ ʳ ʴ ʵ ʶ ʷ ʸ ˀ ˁ ˠ ˡ ˢ ˣ ˤ.
- The Phonetic Extensions block has several superscripted letters and symbols: Latin/IPA ᴬ ᴭ ᴮ ᴯ ᴰ ᴱ ᴲ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴻ ᴼ ᴽ ᴾ ᴿ ᵀ ᵁ ᵂ ᵃ ᵄ ᵅ ᵆ ᵇ ᵈ ᵉ ᵊ ᵋ ᵌ ᵍ ᵏ ᵐ ᵑ ᵒ ᵓ ᵖ ᵗ ᵘ ᵚ ᵛ, Greek ᵝ ᵞ ᵟ ᵠ, Cyrillic ᵸ, other ᵎ ᵔ ᵕ ᵙ ᵜ. These are intended to indicate secondary articulation.
- The Phonetic Extensions Supplement block has several more: Latin/IPA ᶛ ᶜ ᶝ ᶞ ᶟ ᶠ ᶡ ᶢ ᶣ ᶤ ᶥ ᶦ ᶧ ᶨ ᶩ ᶪ ᶫ ᶬ ᶭ ᶮ ᶯ ᶰ ᶱ ᶲ ᶳ ᶴ ᶵ ᶶ ᶷ ᶸ ᶹ ᶺ ᶻ ᶼ ᶽ ᶾ, Greek ᶿ.
- The Cyrillic Extended-B block contains two Cyrillic superscripts: ꚜ ꚝ.
- The Georgian block contains one superscripted Mkhedruli letter: ჼ.
- The Kanbun block has superscripted annotation characters used in Japanese copies of Classical Chinese texts: ㆒ ㆓ ㆔ ㆕ ㆖ ㆗ ㆘ ㆙ ㆚ ㆛ ㆜ ㆝ ㆞ ㆟.
- The Tifinagh block has one superscript letter : ⵯ.
- The Unified Canadian Aboriginal Syllabics and its Extended blocks contain several mostly consonant-only letters to indicate syllable coda called Finals, along with some characters that indicate syllable medial known as Medials: Main block ᐜ ᐝ ᐞ ᐟ ᐠ ᐡ ᐢ ᐣ ᐤ ᐥ ᐦ ᐧ ᐨ ᐩ ᐪ ᑉ ᑊ ᑋ ᒃ ᒄ ᒡ ᒢ ᒻ ᒼ ᒽ ᒾ ᓐ ᓑ ᓒ ᓪ ᓫ ᔅ ᔆ ᔇ ᔈ ᔉ ᔊ ᔋ ᔥ ᔾ ᔿ ᕀ ᕁ ᕐ ᕑ ᕝ ᕪ ᕻ ᕯ ᕽ ᖅ ᖕ ᖖ ᖟ ᖦ ᖮ ᗮ ᘁ ᙆ ᙇ ᙚ ᙾ ᙿ; Extended block: ᣔ ᣕ ᣖ ᣗ ᣘ ᣙ ᣚ ᣛ ᣜ ᣝ ᣞ ᣟ ᣳ ᣴ ᣵ.
- Combining superscript
- The Combining Diacritical Marks block contains medieval superscript letter diacritics. These letters are written directly above other letters appearing in medieval Germanic manuscripts, and so these glyphs do not include spacing, for example uͤ. They are shown here over the dotted circle placeholder ◌: ◌ͣ ◌ͤ ◌ͥ ◌ͦ ◌ͧ ◌ͨ ◌ͩ ◌ͪ ◌ͫ ◌ͬ ◌ͭ ◌ͮ ◌ͯ.
- The Combining Diacritical Marks Extended block contains two combining letters for linguistic transcriptions of Scots: ◌ᪿ ◌ᫀ.
- The Combining Diacritical Marks Supplement block contains additional medieval superscript letter diacritics, enough to complete the basic lowercase Latin alphabet except for j, q and y, a few small capitals and ligatures (ae, ao, av), and additional letters: ◌ᷓ ◌ᷔ ◌ᷕ ◌ᷖ ◌ᷗ ◌ᷘ ◌ᷙ ◌ᷚ ◌ᷛ ◌ᷜ ◌ᷝ ◌ᷞ ◌ᷟ ◌ᷠ ◌ᷡ ◌ᷢ ◌ᷣ ◌ᷤ ◌ᷥ ◌ᷦ ◌ᷧ ◌ᷨ ◌ᷩ ◌ᷪ ◌ᷫ ◌ᷬ ◌ᷭ ◌ᷮ ◌ᷯ ◌ᷰ ◌ᷱ ◌ᷲ ◌ᷳ ◌ᷴ.
- The Cyrillic Extended-A and -B blocks contains multiple medieval superscript letter diacritics, enough to complete the basic lowercase Cyrillic alphabet used in Church Slavonic texts, also includes an additional ligature (ст): ◌ⷠ ◌ⷡ ◌ⷢ ◌ⷣ ◌ⷤ ◌ⷥ ◌ⷦ ◌ⷧ ◌ⷨ ◌ⷩ ◌ⷪ ◌ⷫ ◌ⷬ ◌ⷭ ◌ⷮ ◌ⷯ ◌ⷰ ◌ⷱ ◌ⷲ ◌ⷳ ◌ⷴ ◌ⷵ ◌ⷶ ◌ⷷ ◌ⷸ ◌ⷹ ◌ⷺ ◌ⷻ ◌ⷼ ◌ⷽ ◌ⷾ ◌ⷿ ◌ꙴ ◌ꙵ ◌ꙶ ◌ꙷ ◌ꙸ ◌ꙹ ◌ꙺ ◌ꙻ ◌ꚞ ◌ꚟ.
- Subscript
- The Latin Extended-C block contains one additional subscript, ⱼ.
- The Phonetic Extensions block has several subscripted letters and symbols: Latin/IPA ᵢ ᵣ ᵤ ᵥ and Greek ᵦ ᵧ ᵨ ᵩ ᵪ.
- Combining subscript
- The Combining Diacritical Marks Supplement block contains a combining subscript: ◌᷊.
Latin, Greek and Cyrillic tables [edit]
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.
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 small cap | ◌ᷛ | ◌ᷞ | ◌ᷟ | ◌ᷡ | ◌ᷢ | |||||||||||||||||||||
Overscript minuscule | ◌ͣ | ◌ᷨ | ◌ͨ | ◌ͩ | ◌ͤ | ◌ᷫ | ◌ᷚ | ◌ͪ | ◌ͥ | ◌ᷜ | ◌ᷝ | ◌ͫ | ◌ᷠ | ◌ͦ | ◌ᷮ | ◌ͬ | ◌ᷤ | ◌ͭ | ◌ͧ | ◌ͮ | ◌ᷱ | ◌ͯ | ◌ᷦ | |||
Subscript minuscule | ₐ | ₑ | ₕ | ᵢ | ⱼ | ₖ | ₗ | ₘ | ₙ | ₒ | ₚ | ᵣ | ₛ | ₜ | ᵤ | ᵥ | ₓ | |||||||||
Underscript minuscule | ◌᷊ | ◌ᪿ |
Α | Β | Γ | Δ | Ε | Ζ | Η | Θ | Ι | Κ | Λ | Μ | Ν | Ξ | Ο | Π | Ρ | Σ | Τ | Υ | Φ | Χ | Ψ | Ω | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Superscript minuscule | ᵝ | ᵞ | ᵟ | ⁽ᵋ⁾ | ᶿ | ⁽ᶥ⁾ | ⁽ᶹ⁾ | ᵠ | ᵡ | |||||||||||||||
Overscript minuscule | ◌ᷩ | |||||||||||||||||||||||
Subscript minuscule | ᵦ | ᵧ | ᵨ | ᵩ | ᵪ |
For basic IPA, see superscript IPA letters. Other phonetic symbols are,
ɑ | æ | ç | ð | ə | ɩ | ᶅ | ʃ | ƫ | ʍ | ʔ | |
---|---|---|---|---|---|---|---|---|---|---|---|
Superscript | ᵅ | 𐞃 | ᶜ̧ [c] | ᶞ | ᵊ | ᶥ | ᶪ | ᶴ | ᶵ | ꭩ | ˀ |
Overscript | ◌ᷧ | ◌ᷔ | ◌ᷗ | ◌ᷙ | ◌ᷪ | ◌ᷯ | ◌̉ | ||||
Subscript | ₔ | ||||||||||
Underscript | ◌ᫀ |
А | Ә | Е | Є | И | І | Ї | О | Ө | У | Ү | Ꙋ | Ѡ | Ъ | ЪІ | Ы | Ь | Ѣ | Ꙗ | Э | Ѥ | Ю | Ѫ | Ѭ | Ѧ | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Superscript | * | * | * | * | * | – | * | * | * | * | ꚜ | * | * | ꚝ | * | * | |||||||||
Overscript | ◌ⷶ | ◌ⷷ | ◌ꙴ | ◌ꙵ | ◌ꙶ | ◌ⷪ | ◌ꙷ | ◌ⷹ | ◌ꙻ | ◌ꙸ | ◌ꙹ | ◌ꙺ | ◌ⷺ | ◌ⷼ | ◌ꚟ | ◌ⷻ | ◌ⷾ | ◌ⷿ | ◌ⷽ | ||||||
Subscript | * | * | * | * | – | * | * | * | * | ||||||||||||||||
Б | В | Г | Ґ | Д | Ж | З | S | К | Л | М | Н | П | Р | С | Т | Ф | Х | Ц | Ч | Џ | Ш | Щ | Ѳ | ||
Superscript | * | * | * | * | * | * | * | * | * | ᵸ | * | * | * | * | * | * | * | * | * | ||||||
Overscript | ◌ⷠ | ◌ⷡ | ◌ⷢ | ◌ⷣ | ◌ⷤ | ◌ⷥ | ◌ⷦ | ◌ⷧ | ◌ⷨ | ◌ⷩ | ◌ⷫ | ◌ⷬ | ◌ⷭ | ◌ⷮ | ◌ꚞ | ◌ⷯ | ◌ⷰ | ◌ⷱ | ◌ⷲ | ◌ⷳ | ◌ⷴ | ||||
Subscript | * | * | * | * | * | * | * | * | * | * | * | * | * | * | * | * | * | * |
*Characters accepted for Unicode 15, to be published in 2022.[5]
See also small caps in Unicode.
Composite characters [edit]
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.
- The Latin-1 Supplement block contains the precomposed fractions ½, ¼, and ¾. The copyright © and registered trademark signs ® are also in this block.
- The General Punctuation block contains the permille sign ‰ and the per-ten-thousand sign ‱, and Basic Latin has the percent sign %.
- The Number Forms block contains several precomposed fractions: ⅐ ⅑ ⅒ ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟ ↉.
- The Letterlike Symbols block contains a few symbols composed of subscript and superscript characters: ℀ ℁ ℅ ℆ № ℠ ™ ⅍.
- The Enclosed Alphanumeric Supplement block contains three superscript abbreviations 🅪 🅫 🅬: MC for marque de commerce (trademark), MD for marque déposée (registered trademark), both used in Canada; MR for marca registrada (registered trademark) in Spanish and Portuguese speaking countries[6]
- The Miscellaneous Technical block has one additional subscript, a subscript 10 (⏨), for the purpose of scientific notation.
- The Unified Canadian Aboriginal Syllabics and its Extended blocks contain several letters composed with superscripted letters to indicate extended sound values: Main block ᐂ ᐫ ᐬ ᐭ ᐮ ᐰ ᑍ ᑧ ᑨ ᑩ ᑪ ᑬ ᒅ ᒆ ᒇ ᒈ ᒊ ᒤ ᓁ ᓔ ᓮ ᔌ ᔍ ᔎ ᔏ ᔧ ᕅ ᕔ ᕿ ᖀ ᖁ ᖂ ᖃ ᖄ ᖎ ᖏ ᖐ ᖑ ᖒ ᖓ ᖔ ᙯ ᙰ ᙱ ᙲ ᙳ ᙴ ᙵ ᙶ, Extended block ᢰ ᢱ ᢲ ᢳ ᢴ ᢵ ᢶ ᢷ ᢸ ᢹ ᢺ ᢻ ᢼ ᢽ ᢾ ᢿ ᣀ ᣁ ᣂ ᣃ ᣄ ᣅ.
Notes [edit]
- ^ For a general overview and technical information on glyph substitution (though not specifically for fractions): GSUB — Glyph Substitution Table in the OpenType specification on the Microsoft Typography site.
- ^ Such as Chrome on Windows, Firefox[ failed verification ]
- ^ Superscript ⟨ç⟩ is composed of superscript ⟨c⟩ and a combining cedilla, which should display properly in a good font. Superscript ⟨c⟩ was specifically requested for this purpose in Unicode proposal L2/03-180.
References [edit]
- ^ a b c "UCD: UnicodeData.txt". The Unicode Standard . Retrieved 2016-05-14 .
- ^ a b Martin Dürst, Asmus Freytag (16 May 2007). "Unicode in XML and other Markup Languages". W3C. Retrieved 13 September 2010.
- ^ Martin Dürst, Asmus Freytag (16 May 2007). "Fraction Slash". W3C. Retrieved 13 September 2010.
- ^ "UCD: Scripts.txt". The Unicode Standard . Retrieved 2020-03-17 .
- ^ L2/21-107, L2/21-142
- ^ Silva, Eduardo Marín (2017-03-01). "L2/17-066R: Proposal to encode the Marca Registrada sign" (PDF).
Editing Markup Symbol for 1 2 to One-half
Source: https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
Komentar
Posting Komentar