LaTeX-auto-activating-snippets
LaTeX-auto-activating-snippets copied to clipboard
option to type numbers without underscore in chemical environment
Would it be possible to have turn off the underscoring when typing numbers in a chemformula environment. E.g. one could have something like this:

Or maybe it is possible to deactivate it completely? Thank you in advance!
I don't think we have an efficient method to detect when point is in a \ch{} macro. Maybe we could just check the few preceding lines? Or up to the math start reported by texmathp? PRs welcome.
To disable them all:
(aas-set-snippets 'laas-mode "0" nil "1" nil "2" nil "3" nil "4" nil "5" nil "6" nil "7" nil "8" nil "9" nil)
Ok, thank you very much... I think putting the numbers to nil helps already...sorry for the late reply