Hi Delia,

2015-06-08 18:25 GMT+02:00 Delia G. Fara <[email protected]>:
> Hi there,
>
> I've written a customized list environment.  I would like it to automatically 
> offer "\item" when I call it with C-c C-e, the way it works with itemize and 
> enumerate.
>
> How can I do that?

Where do you define this environment?  In a custom style file?  In
that case, you should write your own .el style file (see
https://gnu.org/software/auctex/manual/auctex.html#Style-Files for
more information) and add

    (LaTeX-add-environments '("YOURENVIRONMENT" LaTeX-env-item))

inside the style hook.  Replace "YOURENVIRONMENT" with your
environment name (case sensitive, with quotes).

Bye,
Mosè

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

Reply via email to