How to insert \( \) or \[ \]?


#1

Sorry for my english. I want insert ... or \(…\) or \[…\] by typing a single $ or \(. I try write a autocomplete package but i cant, it too difficult. Thank you very much.


#2

You don’t need to write a package, just a snippet.