# Manipulating list items

Is there a way to get the n'th element of a list, e.g. an enumerate? Itemize, enumerate and others are all wrappers for the list environment, defined in the LaTeX kernel.

Regardless of the existence of the n'th element, I want to place the items into a tabular environment. The first thing to do would be to prevent the list environment from printing the items. I couldn't exactly grasp the how list operates with \item, but I would guess calling \item does not store the contents of that item in somewhere? And I also guess that what I want to do requires some hooks, since the items are going to be placed arbitrarily in an arbitrary tabular environment? Right, I'm a bit confused.

Further explanation: I want to create a multiple choice question environment with a flexible format. Look at here. {32} means 2 tabular environments, one with 3 and the other with 2 columns. I am modifying choices environment from the exam package.

-
Can you give an example of what you want to achieve? –  Guido Oct 28 '12 at 21:31
@Guido I edited the question with more explanation. –  nrs Oct 28 '12 at 21:41
Perhaps this might be helpful: onlyitems? How to select specific items from an item list. –  Peter Grill Oct 29 '12 at 0:22
I did a workaround by writing from scratch, but answers are still welcome. –  nrs Oct 29 '12 at 9:50
@OnurSolmaz Why don't you post your workaround here? –  egreg Dec 1 '12 at 21:53

I ended up modifying the environments from the exam package. I wanted to place the choices in flexible layouts, so I created two environments choices and choices*.
choices is a simplified version of its counterpart from the exam package. I just modified the spaces and choice label. (1 choice per line)
choices* allows you to create flexible layouts using the tabular environment. For example, if you have 5 choices, you may want to distribute it like 3x2 or 2x2x1, (3 choices for the first line, 2 choices for the second line, and vice versa).
Ah, I remember when that first happened to me. The first bit of TeX programming I learned was \expandafter. Then I asked for the TeXbook as a birthday present... –  Ryan Reich Dec 2 '12 at 7:02