Hi Hong, Hong Xu <[email protected]> writes:
> On 08/07/2016 08:23 AM, Mosè Giordano wrote: >> >> 2016-08-07 3:48 GMT+02:00 Hong Xu <[email protected]>: >>> >>> Empheq, an environment to typeset math equations, is currently not >>> supported by auctex. Is there any plan to support it? Thanks! >> >> We don't have a style file for empheq.sty in AUCTeX, yet, but you can >> generate one right now from within Emacs with the following command: >> >> M-x TeX-auto-generate RET /path/to/empheq.sty RET RET >> >> Replace "/path/to/empheq.sty" with the actual path of your >> "empheq.sty" file. Restart Emacs and you'll enjoy autocompletion for >> macros and environments (including "empheq", with its optional and >> mandatory arguments) provided by empheq package. >> > > Thanks for your reply. I've run the auto generation command, but one > important feature is missing: the contents within the environment is not > highlighted as math. How can we solve it? Thanks! Writing a style file for empheq.sty was on my list for a long time. I had a skeleton, but now I finished it. Could you test the attached file and report back? I will install the file then for the next release. And while we're at it: Are you also using features from mathtools.sty? I think AUCTeX's style file has a bug in \shoveleft and \shoveright. Best, Arash
empheq.el
Description: application/emacs-lisp
_______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
