I am writing an answer key to a (math) problem set which contains, suppose, 10 problems. To generate a sequence of numbers I am using task
environment with global settings \NewTasks[label = {\bf \arabic*.},label-width=4ex]{answers}[\a]
.
For example, suppose the problem number 5, 6, 7 are 'prove that' type problems. It means that I don't need to show their answers in the answer key. So, I want to generate a sequence from 1 to 4 and then from 8 to 10.
I don't know how to skip these three particular numbers. I am using TexShop 4.58.
My code is
\usepackage{tasks}
\usepackage{amsmath, amsthm, amssymb, amsfonts}
\NewTasks[label = {\bf \arabic*.},label-width=4ex]{answers}[\a]
\begin{document}
\begin{answers}(5)
\a (C)
\a (D)
\a (D)
\a (C)
\a (D)
\a (A)
\a (C)
\a (C)
\a (A)
\a (B)
\end{answers}
\end{document}
It produces
Please tell me what changes should I do to get desired output?
Thanks