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




_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to