auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Is there any local variable to redefine "\item"?


From: Ralf Angeli
Subject: Re: [AUCTeX] Is there any local variable to redefine "\item"?
Date: Sat, 08 Oct 2005 12:16:32 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

[Redirecting to the mailing list.

Please don't omit the mailing list in replies, especially if you have
further questions.  By that you are reducing a possibly large number
of people able to help you to one.

Also, please make yourself acquainted with quoting conventions
normally used in mailing lists and Usenet.  It is difficult to reply
to messages with top posts.  I repaired this one for you.]

* Adam Johnson (2005-10-07) writes:

> "Ralf Angeli" <address@hidden> wrote:
>
>>* Adam Johnson (2005-10-07) writes:
>>
>>> I'm wondering that whether there is a local environment variable that
>>> I can use it to redefine the "\item".  When I use "proper" package for
>>> writing presentation slides, it redefines all the "\item" to "\xitem".
>>> However, when I use "C-c C-j", it still inserts "\item" for me.  I
>>> need change it everytime.
>>
>> LaTeX-item-list
>
> But I cannot figure out how to use it correctly.  In "prosper" package, it 
> still uses the regular "itemize, enumerate" environments, and adds new 
> "itemstep, enumeratestep" environments.  The package just renew ALL "\item" 
> to "\xitem".
> Can you give me a brief example how to deal with it?  Thanks again.

The prosper package does not provide an \xitem macro.  Are you
referring to HA-prosper?  Please be more exact when asking questions.
It saves people answering you time.

In HA-prosper it seems you still can use \item, though the
documentation is not clear about if this is advisable.  Anyway, here
is what you could use in a style file for HA-prosper:

(defun LaTeX-haprosper-xitem ()
  (insert "\\xitem "))

(add-to-list 'LaTeX-item-list
             '("itemize" . LaTeX-haprosper-xitem))

-- 
Ralf




reply via email to

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