Keyboard shortcut to replace LaTeX code using equation editor
Often when I create equations, I go through a page and write all the equations as LaTeX code, then when I am done writing the page I do the following with each piece of code:
- highlight the code
- click the button to enter the equation editor
- click insert equation
Sometimes I have to do this dozens of times, since really each time I refer to a variable 'x' the best practice is to format even that single character as an equation. And when my browser window is small, there is an additional click I have to make — I have to click the button with three vertical dots to get the button for the equation editor to appear, then I have to click twice more as described above.
It would be a great speed-up if there were a hotkey that you could type after highlighting code that would immediately act as if you had opened the equation editor and click "insert equation."
One potential drawback is that if you typed erroneous LaTeX code that didn't display propertly, this shortcut would keep you from seeing a preview first. But I don't think that's a problem. When you try to insert an equation with bad code, it just shows "LaTeX: {bad code here}". That only happens to me occasionally, and I have no problem then entering the equation editor proper with the preview so I can correct the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.