Closed thirs closed 6 years ago
Thanks!
Thanks to you!
I would rather have put them at the end of the list than in the middle of numbers. There is no code-point ordering in place AFAICS, so this would make more sense. It’s also the case for subscripts btw.
Sure.
Also note that those are modifiers letters, not superscripts. And they are some more like this: ᶲ, ᶿ, ᶥ, ᶷ.
If you’re going this way, there is also a lot of missing Latin letters from https://unicode-table.com/en/blocks/phonetic-extensions/. I can add them in a PR if required.
Hi Bruno -- thanks for the input. As long as the additions aren't going too overboard (or too much of a stretch in terms of overloading the meaning of a particular unicode slot, etc.) I would support additional subscripts and superscripts that people might expect to work in a mathematical context. PR away!
(I haven't tested the performance but I don't think we're too limited by what we add here. The actual code that makes this work does need to be improved, though. Mostly just a comment to myself.)
Well, I was trying to find detailed Unicode properties but I can’t remember where to find them. Anyway, for instance the sub- and superscripts β are defined as <sub> GREEK SMALL LETTER BETA (U+03B2)
and <super> GREEK SMALL LETTER BETA (U+03B2)
respectively, so despite their names of Greek Subscript Small Letter Beta
vs Modifier Letter Small Beta
, I think it should be OK. However I’m not sure whether fonts implement them though.
PR on its way, I’m making sure to got everything included this time. Do we also want Cyrillic letters? Else I will limit myself to latin+greek.
It doesn't matter if the fonts include glyphs for them — this is an input feature, and maps the unicode input char into a form that LaTeX can typeset using its mathematical engine. It follows, too, that Cyrillic (at this stage) isn't needed since we don't have anything (again, at this stage) to properly support Cyrillic in maths.
Status
Extremely minor.
Description
Just added a few superscripts for greek letters.
Minimal example demonstrating the new/fixed functionality