[Top][All Lists]

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

Re: [AUCTeX-devel] Wrap dollars around active region

From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Wrap dollars around active region
Date: Thu, 25 Apr 2013 20:41:34 +0200

Hi Tassilo,

2013/4/25 Tassilo Horn <address@hidden>:
> Right.  So maybe the value 'double would surround the region with $$ in
> plain-TeX-mode, and with a displaymath environment in latex-mode.  That
> would be fine with me.
To keep things simple `TeX-electric-dollar' can be a boolean variable
and `TeX-insert-dollar' will only insert a single `$' when it's
non-nil, and do nothing when it's nil.

>>>   1. set the region containing the formula
>>>   2. C-c C-e displaymath RET
>>> Ok, that's a bit longer than just doing 1 and then $, but really, who
>>> forgets to insert some proper math environment before starting to write
>>> a formula?
>> John has already showed a case of use, the same I was thinking about.
>> If there isn't agreement about this change, it's not a problem for me
>> ;-)
> Let's wait a bit more, and if there's a third person that is in favour
> of that feature, just go for it.


reply via email to

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