|
|
enumitem question
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: MikTeX Windows 7 64-bit, can't download packages - comp.text.tex ...So the question is, why is MiKTeX trying to go to the wrong places? I've tried ... fancyvrb, listings, overpics, rotating, subfigure, titlesec, bibtopic, enumitem ... [memoir, fourier, microtype] horizontal/vertical shifts when ...... Post Question | Groups | ... etc. paralist.sty 2002/03/18 v2.3b Extended list environments (BS) enumitem.sty ... lists - Make enumerate have beamer themes when using enumitem ...It can be fixed by protecting the beamer use-commands. This is compilable and uses the color of the Singapore beamer theme: \documentclass[12pt]{beamer} \usetheme ... Latex VERY compact itemize - Stack OverflowI have tried many packages (paralist, mdwlist, enumitem) but non of them can fully ... Browse other questions tagged latex or ask your own question. 7/23/2012 10:42:33 AM
|
|
|
|
|
|
|
|
|