[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Support for empheq
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX] Support for empheq |
Date: |
Wed, 10 Aug 2016 13:26:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 |
Hi Hong,
Hong Xu <address@hidden> writes:
> On 08/07/2016 08:23 AM, Mosè Giordano wrote:
>>
>> 2016-08-07 3:48 GMT+02:00 Hong Xu <address@hidden>:
>>>
>>> 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] Support for empheq, Hong Xu, 2016/08/06
- Re: [AUCTeX] Support for empheq, Mosè Giordano, 2016/08/07
- Re: [AUCTeX] Support for empheq, Hong Xu, 2016/08/08
- Re: [AUCTeX] Support for empheq,
Arash Esbati <=
- Re: [AUCTeX] Support for empheq, Hong Xu, 2016/08/10
- Re: [AUCTeX] Support for empheq, Mosè Giordano, 2016/08/11
- Re: [AUCTeX] Support for empheq, Arash Esbati, 2016/08/12
- Re: [AUCTeX] Support for empheq, Mosè Giordano, 2016/08/13
- Re: [AUCTeX] Support for empheq, Arash Esbati, 2016/08/13