Choice Grouping / Insertion (Support #245)


Added by Rico van Endern almost 11 years ago. Updated almost 4 years ago.


Status:Closed Start date:12/18/2013
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:LaTeX
Target version:-

Description

I´m not quite sure if i´m to stupid to find the Funktion and this is a Support request or there is no such functionality and this is a feature request ... but I search/want something like:

The \element{xxx} \shufflegroup{xxx} \insertgroup[xxx] commands (that already exist for questions) in an equal manner for "choices" like:

\celement{choicesC} {
\correctchoice{BLA1}
\correctchoice{BLA2}
}

\celement{choicesW} {
\wrongchoice{BLA3}
\wrongchoice{BLA4}
\wrongchoice{BLA5}
}

\element{question1}{
\begin{question}{1}
\begin{choices}
\cshufflegroup{choices1C}
\cinsertgroup[1]{choices1C}
\cshufflegroup{choices1W}
\cinsertgroup[2]{choices1W}
\end{choices}
\end{question}
}

or even better

\celement{choices1} {
\wrongchoice{BLA1}
\wrongchoice{BLA3}
\correctchoice{BLA2}
\correctchoice{BLA4}
}

\element{question1}{
\begin{question}{1}
\begin{choices}
\cshufflegroup{choices1}
\cinsertgroup[1][2]{choices1} % arg1 = amount of correctchoice | arg2 = amount of wrongchoice
\end{choices}
\end{question}
}

rc.tex - Sample source file with random answers selection (1.1 kB) Alexis Bienvenüe, 10/31/2014 07:04 pm

rc.pdf (63.3 kB) Alexis Bienvenüe, 10/31/2014 07:04 pm


History

Updated by Alexis Bienvenüe almost 11 years ago

  • Description changed from I´m not quite sure if i´m to stupid to find the Funktion and this is a S... to I´m not quite sure if i´m to stupid to find the Funktion and this is a S... More

Updated by Alexis Bienvenüe about 10 years ago

Here is one proposal. It does not work without the [o], I don't know why, but this is not a problem since the answersgroup is shuffled before insertion.

Updated by Alexis Bienvenüe almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF