I'm trying to create an environment for homework assignment problems. Most of these problems consists of itemized questions about an introductory paragraph.
I know I can write a problem environment and put an enumerate environment inside it, but I really want is to be able to write something like this:
\begin{problem}
John was born in 1992.
\item How old is John?
\item How old will John be next year?
\end{problem}
Ideally, I should also allow \item[1,0] or something similar to specify the question value. The output should be like:
Question 1. John was born in 1992.
a) How old is John?
b) How old will John be next year?
Is there any enumerating package which supports this behavior? If not, how could I do it manually?
\item[1,0]
translate to in your output?exsheets
,probsoln
or theexam
class.