I am using the exam document class.  In that class there are two new 
itemize-like environments defined, namely "questions" whith each item 
called "question" and "parts" with each item called "part".  I would
like to use the command "LaTeX-insert-item" to insert items for
these environments.  By reading the info manual I concluded that
this can be acomplished by setting the variable "LaTeX-item-list" 
so I did

(setq LaTeX-item-list
'(("questions"  '(lambda () (insert "\\question")))
  ("parts"  '(lambda () (insert "\\part")))))

and it didn't work: when I type "C-c C-j" inside a "questions" 
environment I just get "\item" just as before.  What did I do 
wrong?

Thanks in advance,
Nikos



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

Reply via email to