auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Support for empheq


From: Hong Xu
Subject: Re: [AUCTeX] Support for empheq
Date: Wed, 10 Aug 2016 15:23:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

On 08/10/2016 04:26 AM, Arash Esbati wrote:
> 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.
> 

Hi Arash,

Thanks for the empheq style file -- it works well for me! Unfortunately
I've never used mathtools.sty, and I don't really know what kind of bug
ACUTeX has on them.

Hong





reply via email to

[Prev in Thread] Current Thread [Next in Thread]