[OS X TeX] Custom labels in Paralist

Ross Moore ross at ics.mq.edu.au
Tue Jan 5 16:56:12 EST 2010


Hi Alain,

On 06/01/2010, at 8:34 AM, Alain Schremmer wrote:

>> \begin{enumerate}[(A)]
>> \setcounter{enumi}{12}
>> \item foo
>> \item bar
>> \end{enumerate}
>
> With great disappointment, I must report that the above didn't  
> work: I still got (A) foo, (B) bar
>
>> The enumitem package allows you to specify the starting counter in  
>> the list setup.  But if you're happy with paralist, you might as  
>> well stick with it.
>
> \setcounte{enumi} didn't work with paralist either. Since it is  
> really occasional, I will try enumitem tomorrow.
>
> The reason I would like to have it is only to list:
>
> M. foo
> N. bar
> O. fly
> P. whatever

This is inside another list, of Exercises, or Exercise Sets, yes?

Then the counter might be  {enumii} , or {enumiii},
or even {enumiv}, etc.

The counter name increases (with roman numerals) for each
increase in depth of nested counters.


Alternatively, you can define your own counter

    \newcounter{mycount}  %  once, in the preamble

and always use this:

>> \begin{enumerate}[(A)]
    \usecounter{mycount}
>> \setcounter{mycount}{12}
    ...


This is all explained in any LaTeX book.


>
> so as to use in multiple choices such as:
>
> a. M, N
> b. P
> c. O, P
> d. M. O
>
> As you can see, no big deal.
>
> Grateful regards
> --schremmer


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the MacOSX-TeX mailing list