Currently I've this one as a starter MWE. It's messed up right at the start because it counts a c) at the beginning of the solutions but it is something to work with. How do I fix this?

## MWE

\documentclass{article}

\Opensolutionfile{mysolutions}
\Newassociation{mysolution}{mySoln}{mysolutions}

\begin{document}

\section{Questions}
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$

\begin{mysolution}
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$
\end{mysolution}

\Closesolutionfile{mysolutions}

\input{mysolutions}
\end{document}


• Use \, before the differential. – egreg Jun 22 '16 at 8:33

This label is generated by mySoln environment to suppress this use

\renewcommand{\mySolnlabel}[1]{\null}% suppresses the label


Full MWE is ...

\documentclass{article}

\Opensolutionfile{mysolutions}
\Newassociation{mysolution}{mySoln}{mysolutions}

\renewcommand{\mySolnlabel}[1]{\null}% suppresses the label

\begin{document}

\section{Questions}
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$

\begin{mysolution}
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$
\task $\int\sqrt{4-x}\mathrm{d}x$