auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: How to complete \[ ?


From: Felipe Csaszar
Subject: [AUCTeX] Re: How to complete \[ ?
Date: Fri, 3 Oct 2008 14:17:30 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

xiaopeng hu <huxiaopengstat <at> gmail.com> writes:

> 
> When I input \[, how to make auctex input \] and put point in the
> middle?Thanks
> 

I use cdlatex to do something like that.  

If you put the following in your .emacs:

(setq cdlatex-command-alist '(
("eq" "Insert an unnumbered equation"
"\\[
?
\\]"
cdlatex-position-cursor nil t nil)
))

Then writing "eq" and pressing TAB will insert \[ \] and put the point
in between.

Best,

Felipe






reply via email to

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