[Top][All Lists]

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

[AUCTeX] Items in itemize-like environments

From: Nikos Apostolakis
Subject: [AUCTeX] Items in itemize-like environments
Date: Tue, 11 Apr 2006 03:00:38 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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 

Thanks in advance,

reply via email to

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