Closed chengchou closed 7 years ago
Nice work! I switched to Vim, so I no longer develop this project. However, would you like to send a pull request so that I can merge your changes? Did you test the snippets yourself?
I have initialised a pull request. Yes, I have tested the snippets on my Mac computer.
Wonderful! Thank you for your contribution.
Suppose I have written an unnumbered equation
It is not unusual that I need to change this unnumbered equation to be a numbered one.
I wrote two snippets to do the above conversion. The first one is to convert the selected unnumbered equation to be a numbered one.
The next one to do the inverse, converting the numbered one to unnumbered one.
Saving these two snippets, one define key bindings to implement them. For example, let
Packages/User/My Snippets/LaTeX/turn_on_number.sublime-snippet
be path of the first snippet. One can definecmd + 1
(in Mac) as the short cut for "turning the equation number on".The two snippet files are attached.
equation_snippets.zip