[Tuglist] I'm stuck with a certain kind of enumerate (in LaTeX)

Radhakrishnan CV tuglist@tug.org.in
Wed, 2 Jan 2002 12:07:02 +0530 (IST)


On Mon, 31 Dec 2001 at 10:50, P J Paul wrote:

   On 28-12-2001 Ajay Shah wrote
    
   I am in need of this effect
     Group title
        1. String
   
   One work around is
   
   \newcounter{itno}

   Group Title
   \begin{enumerate}
      \item String
      \item String
      \setcounter{itno}{\value{enumi}}
   \end{enumerate}


The following code in your document will do the job:

\makeatletter
\def\usecounter#1{\@nmbrlisttrue\def\@listctr{#1}}
\makeatother

This will avoid the code to reset the itno counter in each and 
every enumerate. 

-- 
Radhakrishnan