Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Manual exercise question numbering

Views: 410

Manual exercise question numbering

I am using exercise package to list exercises/questions. I am defining exercise list like this:

\begin{ExerciseList} \Exercise{Exercise title} \ExeText Some exercise introduction \Question{First question} \Question{Second question} \Question{Third question} \end{ExerciseList}

In the output questions are numbered like this:

1. First question

However my desire is to have following output:

(a) First question

Actually it would be best if I could manually define list letter for question as I anticipate some gaps in numbering later. For example \Question{e}{Some question}. From the package source I see that questions are translated to list items:

\def\@QuestionHeader{\item[{\makebox[0cm][r]{\begingroup\@getQuestionInfo% \QuestionHeaderDifficulty\QuestionNB\endgroup}}]% \begingroup\@getQuestionInfo\QuestionHeaderTitle\endgroup\ignorespaces}

However I am unsure on how to redefine the macro in order to accomplish my goal.. Any ideas or hints?