amoose136 Posted May 14, 2016 Share Posted May 14, 2016 I found myself chatting with people from time to time and needing to send equations. Obviously when Latex is available it's preferable but sometimes it's not. As a result I need a solution that requires zero installs but formats text a little better than you can get with the standard characters on the keyboard. Example: let's not say x^2 but x². Let's not say sqrt(x) but √(x). I want to be able to do this without looking up characters in a character table and I don't want it to add to how much I have to type much. Enter snippets. They allow for decently complex notation without needing Latex. Because this is just unicode it works in most browsers and on most smartphones as well. Github link. Link to comment
therockmandolinist Posted May 14, 2016 Share Posted May 14, 2016 Sweet! I made a similar one for all greek letters. Personally, I prefer mathematica's style, where [Esc]p[Esc] is pi, for example. It shortens some of them, and gives it termination (if another has a similar beginnig, like phi, you add another letter, like [Esc]ph[Esc]). I simulated the Esc with a ";" both times. Though, in mathematica you can actually type the full word as well (it's more of an autocompletion type system), and the latex way is probably much more clear/less ambiguous way of doing this when it comes to snippets, so I might switch to the full words. Link to comment
realliyifei Posted December 2, 2019 Share Posted December 2, 2019 Underrated snippet! So pity I didn’t figure it out early! Thanks a lot! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now