Tagged Questions
4
votes
2answers
122 views
Problem putting answers in a macro
I want to put the \begin{sol} and \end{sol} from the answers package in a macro like
\newcommand{\assignment}[2]
{
\item #1
\begin{sol} #2 \end{sol}
}
###
\assignment{question}{answer}
It's just ...