I am trying to write some questions which are of objective or multiple choice format. The tasks package does the job except for two things:
Instead of \begin{tasks} and \task I want to write \begin{choices} and \choice;
I want to include and option \correctchoice and print all the answers et the end.
I tried reading the documentations but I am not able to do this. Please help me.
\documentclass[12pt]{article}
\usepackage{tasks}
\usepackage{exsheets}
\SetupExSheets[question]{type=exam}
\begin{document}
\begin{question}
Which one of the entries does not fit with the others?
\begin{tasks}(4)
\task mercury
\task iron
\task lead
\task zinc
\end{tasks}
\end{question}
\settasks{
counter-format=(tsk[a]),
label-width=4ex
}
\begin{question}
What is a function?
\begin{tasks}(2)
\task A dancing electron
\task A dancing proton
\task A dancing neutron
\task A Dixie Dancing Duck
\end{tasks}
\end{question}
\end{document}