Tagged Questions
4
votes
2answers
119 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 ...
1
vote
2answers
172 views
Problem with the answers package.
I am using the answers package to build a series of exercises. The problem i have encountered is when going from
\item $ 5x^2-x \geq 0 $
\begin{sol}
$x \geq 1, x \leq 0$
\end{sol}
to
...