svenkreiss / unicodeit

Converts LaTeX tags to unicode: \mathcal{H} → ℋ. Available on the web or as Automator script for the Mac.
https://www.unicodeit.net
Other
275 stars 35 forks source link

Subscript and superscript in latex is not working properly #30

Closed anindyasdas closed 3 years ago

anindyasdas commented 3 years ago

In online demo X_{N-1} gives X_N₋₁ X^{N-1} results in Xᴺ⁻¹

svenkreiss commented 3 years ago

This happens when unicodeit doesn't know a subscript. I assume it doesn't know the subscript for N.

anindyasdas commented 3 years ago

sni0 How does one get unicode for this from latex?

svenkreiss commented 3 years ago

Few letters are supported by unicode as subscripts last time I checked. This (sort of) works: https://www.unicodeit.net/?word_%7Bj-1%7D