4 ms·
Unicode has superscript versions of all of the arabic numerals. "⁶" here is U+2076, "SUPERSCRIPT SIX"[1]; there's not any real "formatting" happening in my post
by deathanatos 11y ago
Unicode has superscript versions of all of the arabic numerals. "⁶" here is U+2076, "SUPERSCRIPT SIX"[1]; there's not any real "formatting" happening in my post. (Because HN doesn't support superscript, and two asterisks is a pain as I noted, and ^ gets confused by programmers for xor…)
If you happen to be on OS X, you can type Control+Command+Space in most contexts, and get a popup that will let you select special characters, like the above, emoji, etc. It even has a decent search box.
If you're on Linux, you can set a key as a Compose key (I use my right alt key); the default set of compose sequences includes superscript six as Compose, ^, 6. You can also input arbitrary unicode into most contexts if the app is using GTK with Ctrl+Shift+u, followed by the hexadecimal code point, followed by space.
On Windows, I have no idea.
[1]: http://www.fileformat.info/info/unicode/char/2076/index.htm http://www.fileformat.info/info/unicode/char/2076/index.htm