COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### enumitem question

• Email
• 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

See related articles to this posting

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.

%--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

In article
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.
>

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

2 Replies
297 Views

Similar Articles

12/12/2013 4:58:27 PM
[PageSpeed]

Similar Artilces:

Questions, Questions...
Hi! I took the routine from Gastronor.mdb: In the frmOrderDetails -> ITemID_AfterUpdate: Dim strFilter as String strFilter = "ItemID = " & Me!ItemID but it didn't work on win 2000 with access 2000. However, after playing around for a while, I found: Me!UnitPrice = ItemID.Column(2) to work just fine, even after updating prices in the tblItems. Anybody knows why? The routine in win 98/win nt in the footer of frmOrderDetails: =Sum((Price*Amount*(1-[Discount])/100)*100)) didn't either work. After testing and trying I finally discovered that =Sum(Price*Amount*Discount)...

Questions, Questions, Questions -- Well, really only two
This newsgroup seemed distribution non-specific so here goes: 1. Many companies who want to use linux, want it for email and web service. These systems don't need xwindows, and, in fact, as I understand it, not installing it not only saves resources but reduces security risk. Is there anywhere freely available a how-to install various current distributions of linux using text only, and installing mail, web and domain name service that is fairly easy for the uninformed to follow? Especially helpful would be a debian install. 2. Does anyone know of an encyclopedia, preferrably text-b...

Question and bonus question
Given an integer between 0 and 5000 (characters 0-9; no leading zero) can anyone suggest a non-iterative, non-recursive way of summing the individual digits? I'm just looking for a clever way to do what is easy with the obvious loop: Sum = 0 Do I = 1 to length(n) Sum = sum + substr(n,I,1) End Bonus Question: Can anyone suggest a mechanism to allow reading the TOC (Table of Content) of an Audio CD? The connection? The TOC contains frame numbers where each track starts. Do an integer divide by 75 and you get the time offset in seconds. Sum the digits of each of the start times...

All the interesting questions are software questions
A presentation attributed to Intel was posted in another group: http://www.beyond3d.com/content/articles/31 While the presentation is framed as a CPU-GPU confrontation, it really just presents as policy some trends that could have been predicted quite some time ago: 1. More simple (in-order cores) get you more bang for the buck than do mainstream OoO cores. 2. They also get you more bang per watt. 3. GPU's are already infringing on CPU territory and the trend is bound to continue. 4. Some problems are better suited to a GPGPU (general purpose GPU) than others. 5. The big question is...

Question
I have a history that I have written in MS Word. It is composed of text and images. Is Pagemaker the best program to use for setting up the pages images etc and if so how do I import a MS document into Pagemaker? Thanks folks, I know the questions are probably rather dumb but...... ;-) Wolf wrote: > I have a history that I have written in MS Word. > It is composed of text and images. > Is Pagemaker the best program to use for setting up the pages images etc and > if so how do I import a MS document into Pagemaker? > > Thanks folks, I know the questions are probably...

Question
Can anyone define the difference between ITS vs. simulation? Anne L. Michaels almichaels@dynasims.com "simarts" <almichaels@crashzoom.com> wrote in news:1125937604.488797.222670@g14g2000cwa.googlegroups.com: > Can anyone define the difference between ITS vs. simulation? Probably, if you'd care to say what "ITS" means. All the best, John. On Mon, 05 Sep 2005 15:06:43 -0400, "simarts" <almichaels@crashzoom.com> wrote: >Can anyone define the difference between ITS vs. simulation? What is ITS?... A.L. A.L. <alewando@alamakota.co...

Question
Hi, Can someone tell me why this little piece of php/mysql code fails? $row =$result->fetch_assoc(); if ($clog) fwrite($logfile,"row['nametag'] {$row['nametag']}\n"); if ($row['nametag'] != 0) { if ($clog) fwrite($logfile,"name {\$row['nametag']}\n"); } I've got this logfile where I am putting debug output. In the above, the first fwrite works -- it writes the name contained in the row value 'nametag'...

Question
I have this statement: DELETE FROM TMP_TABLE_MERGE WHERE EXISTS (SELECT 1 FROM TMP_TABLE_1 T1 WHERE TMP_TABLE_MERGE.OBJECT_ID = T1.OBJECT_ID) In both the table TMP_TABLE_MERGE and TMP_TABLE_1 the field OBJECT_ID is the primary key but in the Explain Plan the table TMP_TABLE_MERGE is acessed in full scan mode. Do someone knows how can I force the use of the primary keys? Thanks Pier On Sat, 4 Jan 2003 14:20:33 +0100, "Pier Gaetano Novara" <pgaetanoNoSpam@csc.com> wrote: >I have this statement: >DELETE FROM > TMP_TABLE_MERGE >WHERE EXIS...

enumitem
Dear all, I want that in an enumerate environment the labels are aligned exactly with the surrounding text (I use the enumeration in a theorem environment and thus there should be no indent after "...thus we have the following: (i) ... (iv)") Following the enumitem doc, chapter 3, expl. 2, I tried (among others) the following: ---------------------------- \documentclass [11pt, a4paper]{article} \usepackage{enumitem} %\renewcommand{\labelenumi}{(\roman{enumi})} \begin{document} XXXXXX XXXX XXXXXXXX X X X XXXXX XX XXXXXXXXXX X XXXX XXXXXX XXXXXXXX XXXX XXXXXXX XXX X X XXX XX XX XXXXX...

Question
Hello, I have just subscribed to this group today and am reading some of the posts. I've tried looking for the answer to this question but can't seem to find it with any of the search functions. I'm looking for a game new game to play and I don't play many nor do I really keep up with trends so I'm looking for advice and suggestions. My favorite games are rpgs with turn based combat and extensive dialouge trees. My favorite game ever was Planescape: Torment though I had fun with Neverwinter Nights, mostly because of some of the downloaded modules for it. Genre is not imp...

question
Hello, I would like to know what EDIF and SDF are? Thanks, Neil They are my cousins from the side of the family that we don't talk about much. Thy don't spll wll ether. Did you try a web search? www.EDIF.org SDF = standard delay format Regards, Jim Neil Zanella wrote: > Hello, > > I would like to know what EDIF and SDF are? > > Thanks, > > Neil > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jim Lewis Director of Training mailto:Jim@SynthWorks.com SynthWorks Design Inc. http://www.SynthWorks.com 1-503-59...

Question
Hi all I have a very naive question.Is there any analogy between manchester encoding and scrambling using PN sequence. Thanks sanjana ...

Newbie question...simple rule question...
Dear All, I am trying to understand the best way to write a rule which checks on all the elements. ------------- people(a). people(c). ok(b). ok(a). everybodyok_works :- findall(X,ok(X),List),maplist(people,List). everybodyok_bad :- people(X),ok(X). ------------- What am I missing? Is there a better way to write rule which says: "Everybody is ok if for all people we know has said they are OK." ? Thanks in Advance, Mans On 2005-08-11, mans <mshapshak@gmail.com> wrote: > Dear All, > > I am trying to understand the best way to write a rule which checks on > a...

ipfw question & portscan question
Using BrickHouse to set ipfw so that only port 80 is open (I serve several Web sites), I note lots of the following sort of stuff in console.log and system.log: Jan 27 06:17:34 Stella-Blue kernel: ipfw: 55005 Deny UDP 64.122.147.30:137 216.243.177.155:137 in via en0 Jan 27 06:25:29 Stella-Blue kernel: ipfw: 55005 Deny ICMP:8.0 216.243.190.220 216.243.177.155 in via en0 Jan 27 06:56:48 Stella-Blue kernel: ipfw: 55005 Deny UDP 210.13.22.79:1160 216.243.177.155:1434 in via en0 Jan 27 07:06:11 Stella-Blue kernel: ipfw: 55005 Deny ICMP:8.0 216.244.14.36 216.243.177.155 in via en0 Jan 27 07:09:...

Two related question. Question 1
I have two related question. Let me introduce a pure function f = #1^2 + #2 & Now. I want to make an operation over the function, for example to find its square and to call the result (the expected function f = (#1^2 + #2)^2 & ) c: c=f^2 However, I do not obtain this, as c[a,b] does not evaluate to (a+b)^2. Can anybody advise me how to obtain such a function without long substitutions. I would like to obtain something which is made for derivatives : In[11]:= Derivative[1][f] Out[11]= 2 #1& In[12]:= Derivative[2][f] Out[12]= 2& Regards ...

factoring book question and cast question.
What is recommended as the best practical factoring and coding in C++ book? (...if exists...) related topic: If I have well factored and designed C++ code in a fairly complex system, where if any would dynamic_cast<> statements be? Should dynamic_cast<> be the only really proper type of cast ideally that would exist?? Thanks a lot! todd. -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] todma wrote: > What is recommended as the best practical factoring and coding in C++ > book? (...i...

64HDD setup questions (and RS232 question)
Yesterday I got fired from a real lousy job so had time to reformat my 64hdd setup. Originally it was a msdos box and worked fine. Then I formatted it to get rid of all the win 3.1 crap. I used freedos .9 version I think. 64hdd wouldn't boot right. I used an msdos 6.2 boot disk from then on. I wasn't sure if the msdos boot disk could install dos. Is it that 6.2 can only 'sys' FAT32? So I made two boot disks. One with msdos 5.0 and one with msdos 6.2. Then I formatted the hd from a FreeDos 1.0 boot cd and installed that os. (Is there an easier way to do this?) When I booted...