FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Request: Superscript and Subscript

Open ivaniesta14 opened this issue 5 years ago • 4 comments

Currently, many superscript and subscript characters are not implemented. Unicode Blocks U+2070 to U+209F "Superscripts and Subscript" and U+1D00 to U+1D7F "Phonetic Extensions" contain most of them Example characters: , , , .

ivaniesta14 avatar Aug 18 '19 16:08 ivaniesta14

That’s a lot of work, not sure I’ll be able to pull it off

tonsky avatar Aug 19 '19 12:08 tonsky

Perhaps you might at least implement a few missing ones used for LaTeX math, e.g by tex-conceal (this is a common plugin for LaTeX users). Out of the many superscripts and subscripts used in this plugin (see here), it seems like only 8 of them don't exist in the latest Fira Code: x

From what I can see, the missing unicode chars are: 2095, 2096, 2097, 2098, 2099, 209A, 209B, 209C.

Any chance to perhaps only add these?

Thanks for the awesome font btw :)

avivrosenberg avatar Jun 21 '20 13:06 avivrosenberg

That subset of letters would also be awesome for programming languages with unicode support. They are the most often used letters for indexing so having super and subscripts would be great.

darsnack avatar Jun 21 '20 14:06 darsnack

Make a bounty? I'd love to see this too. Or perhaps some hints on where these could be added? @tonsky I'm most interested in adding super/subscript i and j (many ML math expressions use i and j sub/super scripts) Unfortunately, my experience level working on fonts is basically zero.

laduran avatar Nov 02 '23 17:11 laduran