It looks like these are spread out across different ranges, and not all characters are available There is a very easy way to print superscripts and subscripts using unicode characters Press alt + f2 type charmap on doing so, you'll get tons of characters including subscripts, superscripts, etc The term is combining character as opposed to precomposed character Such superscript combining characters don't exist because subscript or superscript is a formatting feature Unicode is just a character set for mapping between characters / glyphs to numbers
It only deals with plain text and is not supposed for formatting text rich text Also known as styled text The authoritative reference on what characters there are in unicode is the unicode standard You can find the relevant information in the pdf code charts The most commonly needed subscript characters are in the “superscripts and subscripts” block To get a full list, check the unicodedata.txt file and search for characters with <sub> in their description
Unicode is a character set for mapping between characters / glyphs to numbers It only deals with plain text and is not supposed for formatting text § You can't make a letter bold, italic or move a letter to above or below the baseline purely with the unicode code points (see create unicode subscripts and superscripts with combining glyphs) characters that seem to represent formatting exist. 5 the unicode superscript (and subscript) code points are for backwards compatibility with older character sets and are essentially deprecated They are not intended to be complete, or be used to format text If you need to use superscript characters, the recommended (and most complete/compatible) approach is to use a markup language.
In python 3.3, is there any way to make a part of text in a string subscript when printed H₂ (h and then a subscript 2) For example, wikipedia has a page on unicode subscripts and superscripts just cut and paste the ones you need X² x³ x⁴ x⁵ x⁶ x⁷ x⁸ x⁹ paste it into your legend statement. I want to use unicode superscript and subscripts for variable names for my math homework as it's easier to relate the variables to math, like σ² for variance, μ₁, μ₂ for means and so on.
WATCH