auctex
[Top][All Lists]

Re: [AUCTeX] Adding curly braces in math mode

 From: David Kastrup Subject: Re: [AUCTeX] Adding curly braces in math mode Date: Tue, 01 Nov 2005 18:35:54 +0100 User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> Also, does anybody know why
> TeX-electric-escape'/TeX-electric-macro' is implemented in a way
> that Emacs has to be restarted for a change of TeX-electric-escape'
> to take effect?  If nobody objects I can change it, so that typing
> \' will always call TeX-electric-macro' (maybe renamed) and the
> function will then check the value of TeX-electric-escape'.

I don't feel that is a good idea.  Wouldn't it break the TeX input
method, for example?

>> Furthermore I'm looking for a way to expand math operators with indices
>> to its last values.
>> Example: I typed $\sum_{i=1}^n ...$. Later I type \$\sum_' and now I want
>> AUCTeX to print \sum_{i=1}^n '. How can this be done?
>
> Hm, isn't something like this only useful in special cases?

Well, special cases are nice, anyway.  Maybe it is something one could
teach that M-/ or so?

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum