-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added more unicode sub/superscripts to Latex tab completions #7018
Conversation
Seems fine to me. |
Just to ask the obvious, since I haven't been part of these discussions: why is it that some of the letters can't be represented? |
@kmsquire Its a matter of what is available in unicode. If you can find a unicode superscript q I welcome the addition. |
See this discussion on Unicode q superscripts. Useful quote:
|
This Unicode Technical Note "UNICODE NEARLY PLAIN-TEXT ENCODING OF MATHEMATICS" might be a good resource for the future |
Added more unicode sub/superscripts to Latex tab completions
Not all of these seem to be supported in identifiers yet:
|
This is in category Lm, which is allowed for identifiers. However utf8proc seems not to know about this character, or has some bug in its tables. |
Ah, that character was added in unicode 6.0.0, and the latest utf8proc only supports 5.0.0. |
I've created a github repo to work on a proposal for more sub/superscripts, to be submitted to Unicode: https://github.com/stevengj/subsuper-proposal Comments/contributions are welcome. |
Great! I wasn't joking in #18139 (comment). Worked for http://unicodepowersymbol.com. |
This is an addition to pr #6927. This adds a full superscript Latin lowercase alphabet except q ( ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ ), a limited uppercase Latin alphabet ( ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ ), a few subscripted lowercase Latin letters ( ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ ), and some Greek letters ( ᵅ ᵝ ᵞ ᵟ ᵋ ᶿ ᶥ ᶲ ᵠ ᵡ ᵦ ᵧ ᵨ ᵩ ᵪ ).