You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for bringing this up! Indeed, I did not consider this usage.
I have updated the plugin, please kindly update to v2.5.0.
I added a conditional to check that if expression after superscript is enclosed in round brackets () AND enclosed content is more than 3 characters then replacing the () brackets is performed. The replacing brackets operation is retained as it is for cases when the exponential is a long expression that may include spaces which would prematurely trigger the enclose superscript function ; by using () after the ^ sign, the triggering of autoenclose superscript function is suppressed until cursor moves after the ().
For the case you have mentioned, I presumed it would be mostly for indexing? which most likely would not be more than 3 characters?
Please see if the changes suits the need :)
The subscript version currently does not have the () replacing function as subscript tends to be short.
Yes this suits my needs. It is indeed a form of indexing, it pops up in some mathematics but for me mostly in machine learning. Good job on the compromise!
If I press space after typing
A^(b)
it results inA^{b}
but I expect it to beA^{(b)}
, as is also the case with the subscript version.The text was updated successfully, but these errors were encountered: