From e403b5892f209477e44b123a10b5b35cc425d8e9 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 13 Sep 2021 03:01:31 +0000 Subject: CTAN sync 202109130301 --- macros/latex/contrib/mcexam/mcexam.tex | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'macros/latex/contrib/mcexam/mcexam.tex') diff --git a/macros/latex/contrib/mcexam/mcexam.tex b/macros/latex/contrib/mcexam/mcexam.tex index c97e86f3a8..bd450a0668 100644 --- a/macros/latex/contrib/mcexam/mcexam.tex +++ b/macros/latex/contrib/mcexam/mcexam.tex @@ -218,7 +218,7 @@ The package also defines the \verb$\mcexamoptions{key=value,...}$ command which \subsection{The questions} -The most important parts of the exam are, of course, the questions. Within the body of your script file, you place the questions within the \verb$mcquestions$-environment which works similar to list-environments. Each question is preceded by a \verb$\question$ command similar to the \verb$\item$ command : +The most important parts of the exam are, of course, the questions. Within the body of your script file, you place the questions within the \verb$mcquestions$-environment which works similar to list-environments. Each question is preceded by a \verb$\question$ command similar to the \verb$\item$ command: \begin{code} \begin{mcquestions} \question This is the first question. @@ -314,7 +314,7 @@ By default, all answers are randomly shuffled within the \verb$mcanswerslist$ an \item \verb$permutenone$: This option doesn't permute the answers and sorts the answers in each version in the same order as they are given in the script file. \item \emph{User specific}: - If none of the above options satisfies your needs, you can still enter the possible permutations manually. You achieve this by making a comma separated list of all allowed permutations where each permutation itself is a comma separated list of all answer numbers within two curly braces. For example, if your question contains three answers you can give the option \verb$[{1,2,3},{2,3,1}]$. With this option, the package will either put the answers in the order `answer 1, answer 2, answer 3' or in the order `answer 2, answer 3, answer 1'. The package will throw errors if only one permutation is given, if a permutation does not contain all answer numbers, if a permutations contains answer numbers more than once, or if a permutation contains invalid answer numbers. The package will not throw errors if a permutation is given more than once. For example, \verb$[{1,2,3},{1,2,3},{2,3,1}]$ will not give errors, it just means that the order `1,~2,~3' is twice more likely to appear than the order `2,~3,~1'. + If none of the above options satisfies your needs, you can still enter the possible permutations manually. You achieve this by making a comma separated list of all allowed permutations where each permutation itself is a comma separated list of all answer numbers within two curly braces. For example, if your question contains three answers you can give the option \verb$[{1,2,3},{2,3,1}]$. With this option, the package will either put the answers in the order `answer 1, answer 2, answer 3' or in the order `answer 2, answer 3, answer 1'. The package will throw errors if only one permutation is given, if a permutation does not contain all answer numbers, if a permutation contains answer numbers more than once, or if a permutation contains invalid answer numbers. The package will not throw errors if a permutation is given more than once. For example, \verb$[{1,2,3},{1,2,3},{2,3,1}]$ will not give errors, it just means that the order `1,~2,~3' is twice more likely to appear than the order `2,~3,~1'. \end{itemize} Putting all together, in your script file you can write something like this: @@ -684,18 +684,13 @@ in the preamble of your script file. \item[2017/12/26 v0.4:] Added \texttt{pgffor} package to fix bug. +\item[2021/09/12 v0.5:] Fixed bugs with randomization of answers. + \end{description} -\subsection{Planned modifications} -\begin{itemize} - \item Add an error message when you only have one question and the option randomizequestions=true. Now, you should change this option explicitly to randomizequestions=false for one question. - \item Find an alternative for longtable which is now the default for tables in the package. Longtable doesn't work with twocolumn. - \item Add a function to reproduce the questions in another permutation/version within the same document. - \item Add the option to continue the question counter over several mcquestions environments. -\end{itemize} -- cgit v1.2.3