XimeraProject / ximeraLatex

Author tools for creating Ximera activities
LaTeX Project Public License v1.3c
40 stars 36 forks source link

Multiple-choice in solutions #4

Closed bartsnapp closed 10 years ago

bartsnapp commented 10 years ago

Currently multiple choice needs to go inside of solutions.

However, when this compiles as a handout, we lose the choices!

How do we keep them?

bartsnapp commented 10 years ago

One solution for this would be to have a \showchoices command. It would work like this:

\begin{question} \begin{solution} \begin{multipleChoice} \choice[correct]{The correct answer.} \choice{A distractor.} \choice{A distractor.} \choice{A distractor.} \end{multipleChoice} \end{solution} \showchoices \end{question}

I think this can be done in a similar fashion as \maketitle

bartsnapp commented 10 years ago

Fixed by prompt. If enclosed in prompt, it is not shown in handout mode. If not enclosed in prompt, shown in handout mode.