I am trying to create a new environment for multiple choice test questions. I want to make sure that every question has a number and has a constant indentation:
1. Lorem ipsum
dolor sit amet.
Lorem ipsum
dolor sit amet.
2. Lorem ipsum
dolor sit amet.
Lorem ipsum
dolor sit amet.
I think I should use a minipage for each question in the environment definition. But I don't know how to adjust the spacing so that each question body is aligned. What should I use for the numbers?
Edit:
I'm attaching my working example. Down below is a portion of the latex.ltx file, with enumerate modified to cnumerate to prevent name clashes. I basically want to create an independent environment like the equation or tabular. Just assume that \begin{question} \item Lorem. \end{question} is to create a single indented item with a number.
Why does cnumerate not print numbers? The indentation is fine, but there is no numbers. I print \thecnumi for each item, and it works, but the numbers do not show up in the labels.
cnumerate.sty:
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cnumerate}
[1999/03/05 v3.00 cnumerate extcnsions (DPC)]
% latex.ltx
\newcount\@cnumdepth \@cnumdepth = 0
\@definecounter{cnumi}
\@definecounter{cnumii}
\@definecounter{cnumiii}
\@definecounter{cnumiv}
\def\cnumerate{%
\ifnum \@cnumdepth >\thr@@\@toodeep\else
\advance\@cnumdepth\@ne
\edef\@cnumctr{cnum\romannumeral\the\@cnumdepth}%
\expandafter
\list
\csname label\@cnumctr\endcsname
{\usecounter\@cnumctr\def\makelabel##1{\hss\llap{##1}}}%
\fi}
\let\endcnumerate =\endlist
\endinput
the main file, doc.tex
\documentclass{article}
\usepackage{cnumerate}
\begin{document}
\begin{cnumerate}
\item Lorem ipsum.
\end{cnumerate}
end{document}

, while adding
If you would like custom question labels (instead of simply incremental), I've written a few new commands for that:
examdocument class? It's a lot easier for things like this. If you need custom question numbers (not automagic), I've written a few macros for that. – Sean Allred Oct 25 '12 at 23:24examclass does exactly what I want, especially the multiple choice questions. I'm surprised I didn't come across that before. I am going to delve into the source code to make it suit my needs. Perhaps you could post your comment as an answer so I could mark it? – osolmaz Oct 26 '12 at 08:19