enumitem question

  • Follow


Hi, 

Is it possible to define a new list using enumitem whose counter doesn't 
get reset?  I know about the [resume] argument, but I'd like to just 
create a list that wouldn't require the use of [resume], but whose 
counter never resets.

Alan
0
Reply amunn (406) 7/4/2010 11:28:46 PM

Hi Alan,

On Jul 5, 1:28=A0am, Alan Munn <am...@msu.edu> wrote:
> Hi,
>
> Is it possible to define a new list using enumitem whose counter doesn't
> get reset? =A0I know about the [resume] argument, but I'd like to just
> create a list that wouldn't require the use of [resume], but whose
> counter never resets.

just adding resume to your \setlist-statement should do the trick.

%--8<--
\documentclass{article}
\usepackage{enumitem}
\newlist{foo}{enumerate}{1}
\setlist[foo]{resume,label=3D\arabic*)}
\begin{document}
\begin{foo}
\item one-one
\item one-two
\end{foo}
some text
\begin{foo}
\item two-one
\item two-two
\end{foo}
\end{document}
%-->8--

KR
Rainer
0
Reply Rainer 7/5/2010 4:22:13 AM


In article 
<0fe8565d-8791-4c0e-90d8-9b21385ace54@e5g2000yqn.googlegroups.com>,
 Rainer Schnaack <rais@esko.com> wrote:

> Hi Alan,
> 
> On Jul 5, 1:28�am, Alan Munn <am...@msu.edu> wrote:
> > Hi,
> >
> > Is it possible to define a new list using enumitem whose counter doesn't
> > get reset? �I know about the [resume] argument, but I'd like to just
> > create a list that wouldn't require the use of [resume], but whose
> > counter never resets.
> 
> just adding resume to your \setlist-statement should do the trick.

Thanks.  So simple, and obvious.  I guess I just assumed that [resume] 
wouldn't work as part of the list definition.  I should have tried it.

Thanks again.

Alan
0
Reply Alan 7/5/2010 5:03:46 AM

2 Replies
260 Views

(page loaded in 0.052 seconds)

Similiar Articles:





7/23/2012 10:42:33 AM


Reply: