Forums » Using AMC (english) »
A question with a large explain section that does not fit in one page
Added by Juani Mela over 4 years ago
Hello:
I have a question with a large explain section that does not fit in one page. AMC restricts to at most one page for a question, which has been fine so far, except this time I wanted to explain carefully and the correction does not fit.
The question has several parts, but they cannot be split into different question because they share some calculated variables.
Is there a way to display the full solution?
Regards
PS: I found a way to split the question, but this problem may show up again.
Replies (5)
RE: A question with a large explain section that does not fit in one page - Added by Alexis Bienvenüe over 4 years ago
Maybe moving this long explain section at the end?
RE: A question with a large explain section that does not fit in one page - Added by Juani Mela over 4 years ago
Thanks for replying, Alexis, but I cannot make it.
The \explain{} must be inside a question, and each question is limited to one page.
Maybe if there is flag that is only triggered when building the solution... something like:
...
\insertgroup3{T1}
\insertgroup1{T2}
\explain_outside_question{
This advice will only appear in DOC-corrige.
}
\AMCassociation{\id}
...
Regards
RE: A question with a large explain section that does not fit in one page - Added by Frédéric Bréal over 4 years ago
Something like my own command ?
I am not sur about \\ or \newline or something else.
\makeatletter \newcommand{\AffichageSiCorrige}[1]{\ifAMC@correc #1\\ \fi} \makeatother
\documentclass[a4paper]{article} \usepackage{lipsum} \usepackage[box,completemulti]{automultiplechoice} \makeatletter \newcommand{\AffichageSiCorrige}[1]{\ifAMC@correc #1\newline \fi} \makeatother \begin{document} \onecopy{10}{ \noindent{\bf QCM \hfill TEST} \vspace*{.5cm} \begin{minipage}{.4\linewidth} \centering\large\bf Test\\ Examination on Jan., 1st, 2008\end{minipage} \namefield{\fbox{ \begin{minipage}{.5\linewidth} Firstname and lastname: \vspace*{.5cm}\dotfill \vspace*{1mm} \end{minipage} }} \begin{center}\em Duration : 10 minutes. No documents allowed. The use of electronic calculators is forbidden. Questions using the sign \multiSymbole{} may have zero, one or several correct answers. Other questions have a single correct answer. Negative points may be attributed to \emph{very bad} answers. \end{center} \vspace{1ex} \AffichageSiCorrige{\lipsum[8]} \begin{question}{prez} Among the following persons, which one has ever been a President of the French Republic? \begin{choices} \correctchoice{René Coty} \wrongchoice{Alain Prost} \wrongchoice{Marcel Proust} \wrongchoice{Claude Monet} \end{choices} \end{question} \AffichageSiCorrige{\lipsum[4-6]} \begin{questionmult}{pref} Among the following cities, which ones are French prefectures? \begin{choices} \correctchoice{Poitiers} \wrongchoice{Sainte-Menehould} \correctchoice{Avignon} \end{choices} \end{questionmult} \AffichageSiCorrige{\lipsum[1]} % \AMCaddpagesto{3} } \end{document}
RE: A question with a large explain section that does not fit in one page - Added by Juani Mela over 4 years ago
Thanks a lot Gérard, I think your trick and a little bit of common sense can help avoid this issue completely in practice.
Have a nice day
RE: A question with a large explain section that does not fit in one page - Added by Pablo UPM over 4 years ago
(1-5/5)