Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting the counter to 2 in inparaenum (paralist)

92 views
Skip to first unread message

aha...@iastate.edu

unread,
Jan 2, 2006, 5:21:17 PM1/2/06
to
I would like the counter to start at 2 in

\usepackage{paralist}

\begin{inparaenum}[1)]
\item carefully targeted nutrition and health interventions,
\item good governance, and
\item appropriate private institutions and incentives,
\end{inparaenum}

Becauase I have a bunch of places like this in the document I was
trying to automate


\begin{inparaenum}
\item [2)] carefully targeted nutrition and health interventions,
\item [3)] good governance, and
\item [4)] appropriate private institutions and incentives,
\end{inparaenum}


Any ideas?

I am not that familiar with this kind of stuff.

Stefan Höst

unread,
Jan 2, 2006, 5:48:42 PM1/2/06
to
aha...@iastate.edu wrote:

The numbers are controlled by the counter \@listctr. So, with the
commands

\makeatletter
\def\setliststart#1{\setcounter{\@listctr}{#1}%
\addtocounter{\@listctr}{-1}}
\makeatother

you can write

\begin{inparaenum}[1)]\setliststart{2}


\item carefully targeted nutrition and health interventions,
\item good governance, and
\item appropriate private institutions and incentives,
\end{inparaenum}

to start the list at 2.

/Stefan


--

aha...@iastate.edu

unread,
Jan 3, 2006, 7:11:34 AM1/3/06
to
Thanks much. This is great. I didn't know how to make a list counter
like this one.

0 new messages