auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Automatic \item with C-c C-e


From: Joost Kremers
Subject: Re: [AUCTeX] Automatic \item with C-c C-e
Date: Tue, 09 Jun 2015 01:08:02 +0200

On Mon, Jun 08 2015, Delia Fara <address@hidden> wrote:

> I've just written it as a LaTeX macro using "\newenvironment", put it
> in a .tex file and enable it using "\input{}". The point of the list
> is to have the labels be numbers in parentheses that don't start over
> with "(1)" with each \begin{}... \end{} pair.

You know, the enumitem package offers this functionality. You can simply
say:

,----
| \begin{enumerate}
| \item ...
| \item ...
| \end{enumerate}
| 
| Some text.
| 
| \begin{enumerate}[resume] % option 'resume' will continue the counter
| \item ...
| \item ...
| \end{enumerate}
`----

and have the numbering of the second list start where the first list
left off.

-- 
Joost Kremers
Life has its moments



reply via email to

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