diff --git a/amc-templates/amc_template_kprime_shs/automultiplechoice.sty b/amc-templates/amc_template_kprime_shs/automultiplechoice.sty new file mode 100644 index 0000000..a62cd85 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/automultiplechoice.sty @@ -0,0 +1,1719 @@ +%% +%% This is file `automultiplechoice.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% automultiplechoice.dtx (with options: `package') +%% +%% Copyright (C) 2008-2015 Alexis Bienvenue +%% +%% This file is part of Auto-Multiple-Choice +%% +%% Auto-Multiple-Choice is free software: you can redistribute it +%% and/or modify it under the terms of the GNU General Public License +%% as published by the Free Software Foundation, either version 2 of +%% the License, or (at your option) any later version. +%% +%% Auto-Multiple-Choice is distributed in the hope that it will be +%% useful, but WITHOUT ANY WARRANTY; without even the implied warranty +%% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%% General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with Auto-Multiple-Choice. If not, see +%% . +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{automultiplechoice} +\RequirePackage{xcolor} % \fcolorbox to fill (or not) a box +\RequirePackage{fancyhdr} % \pagestyle{empty} +\RequirePackage{bophook} % \AtBeginPage +\RequirePackage{xkeyval} % \setkeys +\RequirePackage{rotating} % \rotatebox +\RequirePackage{fancybox} % \boxput +\def\AMC@VERSION{AMC 1.3.0 r:6551ff313e87} +\newwrite\AMC@logfile +\immediate\openout\AMC@logfile=\jobname.amc +\def\AMC@amclog#1{\immediate\write\AMC@logfile{#1}} +\def\AMCmessage#1{\AMC@amclog{AUTOQCM[#1]^^J}} +\AtBeginDocument{\@ifpackageloaded{bidi}{% + \PackageInfo{automultiplechoice}{Package bidi loaded: using LR for boxes.}% + \let\AMC@LR=\LR}% +{\let\AMC@LR=\relax}}% +\newcount\AMCload@counter +\newcount\AMCid@quest\AMCid@quest=-1 +\newcount\AMCid@check +\newcount\AMCid@etud\AMCid@etud=0 +\newcount\AMCid@etudstart\AMCid@etudstart=0 +\newcount\AMCid@etudfin +\newcount\AMCnum@copies +\newif\ifAMC@ordre\AMC@ordrefalse +\newif\ifAMC@shuffleG\AMC@shuffleGtrue +\newif\ifAMC@fullGroups\AMC@fullGroupsfalse +\newif\ifAMC@correchead\AMC@correcheadfalse +\newif\ifAMC@affichekeys\AMC@affichekeysfalse +\newif\ifAMC@correc\AMC@correcfalse +\newif\ifAMC@qbloc\AMC@qblocfalse +\newif\ifAMC@asqbloc\AMC@asqblocfalse +\newif\ifAMC@rbloc\AMC@rblocfalse +\newif\ifAMCcomplete@multi\AMCcomplete@multifalse +\newif\ifAMCquestionNumber\AMCquestionNumbertrue +\newif\ifAMC@calibration\AMC@calibrationfalse +\newif\ifAMC@plain\AMC@plainfalse +\newif\ifAMCune@bonne +\newif\ifAMCtype@multi +\newif\ifAMC@watermark\AMC@watermarktrue +\newif\ifAMC@inside@box\AMC@inside@boxfalse +\newif\ifAMC@outside@box\AMC@outside@boxfalse +\newif\ifAMC@ensemble\AMC@ensemblefalse +\newif\ifAMC@inside@digit\AMC@inside@digitfalse +\newif\ifAMCformulaire@dedans\AMCformulaire@dedansfalse +\newif\ifAMC@zoneformulaire +\newif\ifAMC@pagelayout\AMC@pagelayouttrue +\newif\ifAMC@postcorrect\AMC@postcorrectfalse +\newif\ifAMC@automarks\AMC@automarksfalse +\newif\ifAMC@invisible\AMC@invisiblefalse +\let\AMCcompleteMulti=\AMCcomplete@multitrue +\let\AMCnoCompleteMulti=\AMCcomplete@multifalse +\def\AMCid@name{} +\newdimen\AMCformVSpace\AMCformVSpace=1.2ex +\newdimen\AMCformHSpace\AMCformHSpace=.3em +\newdimen\AMCinterIrep\AMCinterIrep=\z@ +\newdimen\AMCinterBrep\AMCinterBrep=.5ex +\newdimen\AMCinterIquest\AMCinterIquest=\z@ +\newdimen\AMCinterBquest\AMCinterBquest=3ex +\newif\ifAMCids@top +\newif\ifAMCids@side +\newdimen\AMCids@width +\newdimen\AMCids@height +\define@choicekey*{AMCids}{pos}[\AMCidsVar\AMCidsVarN]{none,top,side}{% + \ifcase\AMCidsVarN\relax + \AMCids@topfalse\AMCids@sidefalse + \or + \AMCids@toptrue\AMCids@sidefalse + \or + \AMCids@topfalse\AMCids@sidetrue + \fi +} +\define@key{AMCids}{width}{\AMCids@width=#1} +\define@key{AMCids}{height}{\AMCids@height=#1} +\def\AMCidsPosition#1{\setkeys{AMCids}{#1}} +\AMCidsPosition{pos=side,width=4cm,height=3ex} +\def\AMCtext#1#2{\expandafter\def\csname AMC@loc@#1\endcsname{#2}} +\def\AMClocalized#1{\csname AMC@loc@#1\endcsname} +\def\AMC@loc@draft{DRAFT} +\def\AMC@loc@message{For your examination, preferably print + documents compiled from auto-multiple-choice.} +\def\AMC@loc@qf#1{\textbf{Question #1:}} +\def\AMC@loc@q#1#2{\textbf{Question #1} #2} +\def\AMC@loc@corrected{Corrected} +\def\AMC@loc@catalog{Catalog} +\def\AMC@loc@explain{\textit{\textbf{Explanation: }}} +\def\AMC@loc@none{None of these answers are correct.} +\def\AMC@loc@question{question} +\def\AMC@loc@questions{questions} +\def\AMC@loc@namesurname{Name and surname:} +\def\AMC@loc@NL{ + \def\AMC@loc@draft{Ontwerp} + \def\AMC@loc@message{Gebruik bij uw proefwerk bij voorkeur die + documenten welke door auto-multiple-choice zijn aangemaakt.} + \def\AMC@loc@qf##1{\textbf{Vraag ##1 :}} + \def\AMC@loc@q##1##2{\textbf{Vraag ##1} ##2} + \def\AMC@loc@corrected{Correctie} + \def\AMC@loc@catalog{Catalogus} + \def\AMC@loc@none{Geen van de antwoorden is juist.} + \def\AMC@loc@question{vraag} + \def\AMC@loc@questions{vragen} +} +\def\AMC@loc@FR{ + \def\AMC@loc@draft{PROJET} + \def\AMC@loc@message{Pour votre examen, imprimez de pr\'ef\'erence + les documents compil\'es \`a l'aide de auto-multiple-choice.} + \def\AMC@loc@qf##1{\textbf{Question ##1 :}} + \def\AMC@loc@q##1##2{\textbf{Question ##1} ##2} + \def\AMC@loc@corrected{Correction} + \def\AMC@loc@catalog{Catalogue} + \def\AMC@loc@explain{\textit{\textbf{Explication : }}} + \def\AMC@loc@none{Aucune de ces r\'eponses n'est correcte.} + \def\AMC@loc@question{question} + \def\AMC@loc@questions{questions} + \def\AMC@loc@namesurname{Nom et pr\'enom :} +} +\def\AMC@loc@DE{ + \def\AMC@loc@draft{ENTWURF} + \def\AMC@loc@message{Benutzen Sie f\"ur Ihre Pr\"ufung bevorzugt Dokumente die mit + auto-multiple-choice erstellt wurden.} + \def\AMC@loc@qf##1{\textbf{Frage ##1 :}} + \def\AMC@loc@q##1##2{\textbf{Frage ##1} ##2} + \def\AMC@loc@corrected{Korrektur} + \def\AMC@loc@catalog{Katalog} + \def\AMC@loc@explain{\textit{\textbf{Erkl\"arung : }}} + \def\AMC@loc@none{Keine dieser Antworten ist korrekt.} + \def\AMC@loc@question{Frage} + \def\AMC@loc@questions{Fragen} +} +\def\AMC@loc@IT{ + \def\AMC@loc@draft{BOZZA} + \def\AMC@loc@message{Per l'esame, \`e preferibile stampare i documenti + a partire da auto-multiple-choice.} + \def\AMC@loc@qf##1{\textbf{Domanda ##1:}} + \def\AMC@loc@q##1##2{\textbf{Domanda ##1} ##2} + \def\AMC@loc@corrected{Correzione} + \def\AMC@loc@catalog{Catalogo} + \def\AMC@loc@none{Nessuna risposta \`e giusta.} + \def\AMC@loc@question{domanda} + \def\AMC@loc@questions{domande} +} +\def\AMC@loc@NO{ + \def\AMC@loc@draft{UTKAST} + \def\AMC@loc@message{Det anbefales {\aa} skrive ut dokumentet + for gjennomgang \\direkte fra auto-multiple-choice.} + \def\AMC@loc@qf##1{\textbf{Oppgave ##1 :}} + \def\AMC@loc@q##1##2{\textbf{Oppgave ##1} ##2} + \def\AMC@loc@corrected{Rettet} + \def\AMC@loc@catalog{Katalog} + \def\AMC@loc@none{Ingen svar er riktige.} + \def\AMC@loc@question{oppgave} + \def\AMC@loc@questions{oppgave} +} +\def\AMC@loc@PT{ + \def\AMC@loc@draft{RASCUNHO} + \def\AMC@loc@message{Para o seu exame, use preferencialmente documentos compilados do auto-multiple-choice.} + \def\AMC@loc@qf##1{\textbf{Quest\~ao ##1:}} + \def\AMC@loc@q##1##2{\textbf{Quest\~ao ##1} ##2} + \def\AMC@loc@corrected{Corrigido} + \def\AMC@loc@catalog{Cat\'alogo} + \def\AMC@loc@explain{\textit{\textbf{Justifique: }}} + \def\AMC@loc@none{Nenhuma das respostas apresentadas est\'a correta.} + \def\AMC@loc@question{Quest\~ao} + \def\AMC@loc@questions{Quest\~oes} +} +\def\AMC@loc@ES{ + \def\AMC@loc@draft{BORRADOR} + \def\AMC@loc@message{Para revisi\'on, preferentemente imprimir documentos compilados + desde auto-multiple-choice.} + \def\AMC@loc@qf##1{\textbf{Pregunta ##1 :}} + \def\AMC@loc@q##1##2{\textbf{Pregunta ##1} ##2} + \def\AMC@loc@corrected{Correcci\'on} + \def\AMC@loc@catalog{Cat\'alogo} + \def\AMC@loc@none{Ninguna de estas preguntas son correctas.} + \def\AMC@loc@question{pregunta} + \def\AMC@loc@questions{preguntas} +} +\def\AMC@loc@JA{ + \def\AMC@loc@draft{ドラフト} + \def\AMC@loc@message{試験の実施には、auto-multiple-choiceでコンパイルされた文書を印刷してください。} + \def\AMC@loc@qf##1{\textbf{問##1:}} + \def\AMC@loc@q##1##2{\textbf{問##1} ##2} + \def\AMC@loc@corrected{模範解答} + \def\AMC@loc@catalog{問題カタログ} + \def\AMC@loc@explain{\textit{\textbf{解説: }}} + \def\AMC@loc@none{該当なし。} + \def\AMC@loc@question{問} + \def\AMC@loc@questions{問} +} +\AtBeginDocument{\@ifpackageloaded{cleveref}{% + \crefalias{AMCquestionaff}{question}% + \crefname{question}{\AMC@loc@question}{\AMC@loc@questions}% +}{}}% +\ifx\AMC@SR\undefined\newcount\AMC@SR\fi +\providecommand\AMC@SRconst{2097152} +\providecommand\AMC@SRset[1]{\global\AMC@SR#1 \ignorespaces} +\providecommand\AMC@SRadvance{% + \begingroup% + \ifnum\AMC@SR<\AMC@SRconst\relax\AMC@SR@count\z@\else\AMC@SR@count\@ne\fi% + \ifodd\AMC@SR\advance\AMC@SR@count\@ne\fi% + \global\divide\AMC@SR\tw@% + \ifodd\AMC@SR@count\global\advance\AMC@SR\AMC@SRconst\relax\fi% + \endgroup} +\providecommand\AMC@SRbit{\AMC@SRadvance\ifodd\AMC@SR1\else0\fi} +\providecommand\AMC@SRtest[2]{\AMC@SRadvance% + \ifodd\AMC@SR#2\else#1\fi\ignorespaces} +\providecommand\AMC@SRvalue{\number\AMC@SR} +\AMC@SRset{1515} +\def\AMCrandomseed#1{\AMC@SRset{#1}} +\newcount\AMC@SR@count +\def\AMC@SR@time{\AMC@SRset{\time}} +\newcount\AMC@SRnum +\def\AMC@SRnextByte{\AMC@SRnum=\z@% + \AMC@SR@count=20% + \loop\multiply\AMC@SRnum\tw@% + \AMC@SRtest{\advance\AMC@SRnum\@ne}{}% + \ifnum\AMC@SR@count>\@ne\advance\AMC@SR@count\m@ne\repeat% +} +\newcommand\AMC@SRmax[1]{\AMC@SRnextByte% + \AMC@SR@count=\AMC@SRnum% + \divide\AMC@SR@count by #1\relax% + \multiply\AMC@SR@count by #1\relax% + \advance\AMC@SRnum by -\AMC@SR@count% +} +\newcount\AMC@sti +\newcount\AMC@stil +\newtoks\AMCsw@p@ +\newcommand\AMCsw@p[2]{% + \global\AMCsw@p@=#1% + \global#1=#2% + \global#2=\AMCsw@p@} +\newcommand{\AMC@shuffletoks}[3][\@ne]{% + \AMC@sti=#2\relax% + \AMC@stil=#2\relax% + \advance\AMC@stil\@ne% + \advance\AMC@stil -#1\relax% + \@whilenum\AMC@sti>#1\do{% + \AMC@SRmax{\AMC@stil}\advance\AMC@SRnum #1\relax% + \AMCsw@p{\csname #3\romannumeral\AMC@SRnum\endcsname}% + {\csname #3\romannumeral\AMC@sti\endcsname}% + \advance\AMC@sti\m@ne\relax% + \advance\AMC@stil\m@ne\relax% + }} +\newcount\AMC@numerotation\AMC@numerotation=\z@% +\def\AMC@definitnumero#1#2{\AMC@amclog{AUTOQCM[NUM=#1=#2]^^J}% + \expandafter\global\expandafter\def\csname AMC@numtab@#2\endcsname{#1}} +\def\AMC@prepare#1{\expandafter\ifx\csname AMC@numtab@#1\endcsname\relax% + \global\advance\AMC@numerotation\@ne% + \expandafter\AMC@definitnumero\expandafter{\the\AMC@numerotation}{#1}\fi} +\def\AMC@unnumero#1{\AMC@prepare{#1}\csname AMC@numtab@#1\endcsname} +\def\AMC@affecte#1#2{\AMC@prepare{#1}\global#2=\csname AMC@numtab@#1\endcsname} +\def\AMC@shapename@{\ifAMC@invisible none\else\AMC@shapename\fi} +\def\AMC@tracepos#1#2{% + \ifAMC@calibration\ifx\@empty#1\@empty\else% + \pdfsavepos\protected@write\AMC@XYFILE{}{% + \string\tracepos% + {\the\AMCid@etud/\thepage:#2}% + {\noexpand\number\pdflastxpos sp}% + {\noexpand\number\pdflastypos sp}% + {\AMC@shapename}}% + \fi\fi} +\def\AMC@traceposx#1#2{% + \ifAMC@calibration\ifx\@empty#1\@empty\else% + \pdfsavepos\protected@write\AMC@XYFILE{}{% + \string\tracepos% + {\the\AMCid@etud/\thepage:#2}% + {\noexpand\number\pdflastxpos sp}% + {0sp}% + {\AMC@shapename}}% + \fi\fi} +\def\AMC@traceposy#1#2{% + \ifAMC@calibration\ifx\@empty#1\@empty\else% + \pdfsavepos\protected@write\AMC@XYFILE{}{% + \string\tracepos% + {\the\AMCid@etud/\thepage:#2}% + {0sp}% + {\noexpand\number\pdflastypos sp}% + {\AMC@shapename}}% +\fi\fi} +\newcommand\AMC@tracebox[3]{% + \vbox{\AMC@traceposy{#1}{#2}% + \hbox{\AMC@traceposx{#1}{#2}#3\AMC@traceposx{#1}{#2}}% + \AMC@traceposy{#1}{#2}}} +\def\AMC@pagepos{% + \ifAMC@calibration\protected@write\AMC@XYFILE{}{% + \string\page% + {\the\AMCid@etud/\thepage/\the\AMCid@check}% + {\the\paperwidth}{\the\paperheight}}\fi} +\newcommand{\AMCdontScan}{\ifAMC@calibration\immediate\write\AMC@XYFILE{\string\dontscan{\the\AMCid@etud,\the\AMCid@quest}}\fi} +\newcommand{\AMCdontAnnotate}{\ifAMC@calibration\immediate\write\AMC@XYFILE{\string\dontannotate{\the\AMCid@etud,\the\AMCid@quest}}\fi} +%% \end{macrocode} +\newwrite\AMC@XYspecial +\newwrite\AMC@tmpXY +\newenvironment{amcxyfile}[1]{% + \openout\AMC@XYspecial#1% + \let\AMC@tmpXY=\AMC@XYFILE% + \let\AMC@XYFILE=\AMC@XYspecial% +}{\let\AMC@XYFILE=\AMC@tmpXY\closeout\AMC@XYspecial} +\newcommand{\namefield}[1]{\AMC@tracebox{1}{nom}{#1}} +\let\AMC@new@savebox=\newsavebox +\let\AMC@save@box=\savebox +\let\AMC@use@box=\usebox +\newif\ifAMC@draw@cross +\newcommand\AMC@setcolors@[2]{% + \def\AMC@boxcolor@{\AMC@boxcolor}% + \ifx\@empty#1\@empty \def\AMC@boxcolor@{black}\fi% + \ifAMC@correc\def\AMC@boxcolor@{black}\fi% + \def\AMC@fillcolor@{\ifx\@empty#2\@empty white\else\AMC@boxcolor@\fi}% + \AMC@draw@crossfalse% + \ifKV@AMCdim@cross\ifx\@empty#2\@empty\else\AMC@draw@crosstrue\fi\fi% +} +\newcommand\AMC@answerBox@[4]{% + \AMC@LR{\hspace{0pt}% + \lower\AMC@boxeddown\hbox{\csname AMC@shape@\AMC@shapename@\endcsname% + {\AMCchoiceLabelFormat{#1}}{#2}{#3}{#4}}}% +} +\newcommand\AMC@shapeprepare@square{} +\newcommand\AMC@shape@square[4]{% + \fboxsep=\z@\fboxrule=\AMC@boxedrule% + \AMC@setcolors@{#3}{#2}% + \ifKV@AMCdim@cross\def\AMC@fillcolor@{white}\fi% + \fcolorbox{\AMC@boxcolor@}{\AMC@fillcolor@}% + {% + \boxput*(0,0){% + \ifAMC@draw@cross\AMC@crosschar\fi% + }{% + \vbox to \AMC@boxedheight{% + \AMC@tracepos{#3}{#4}% + \vfill% + \hbox to \AMC@boxedwidth{\hfill% + \textcolor{\AMC@boxcolor@}{#1}% + \hfill}\vfill}}% + \AMC@tracepos{#3}{#4}}% +} +\newcommand\AMC@makeovalbox[3]{% + \AMC@setcolors@{#1}{#2}% + \ifKV@AMCdim@cross\def\AMC@fillcolor@{white}\fi% + \AMC@save@box{#3}{% + \begin{tikzpicture}% + \useasboundingbox (-0.5\AMC@boxedwidth-0.5\AMC@boxedrule,0.5\AMC@boxedheight+0.5\AMC@boxedrule) + rectangle (0.5\AMC@boxedwidth+0.5\AMC@boxedrule,-0.5\AMC@boxedheight-0.5\AMC@boxedrule); + \draw[\AMC@boxcolor@,fill=\AMC@fillcolor@,line width=\AMC@boxedrule,rounded corners=\AMC@oval@radius] + (-0.5\AMC@boxedwidth,0.5\AMC@boxedheight) + rectangle (0.5\AMC@boxedwidth,-0.5\AMC@boxedheight); + \ifAMC@draw@cross + \draw[\AMC@boxcolor@,line width=\AMC@crossrule] + (-0.5\AMC@boxedwidth,0.5\AMC@boxedheight) -- (0.5\AMC@boxedwidth,-0.5\AMC@boxedheight) + (0.5\AMC@boxedwidth,0.5\AMC@boxedheight) -- (-0.5\AMC@boxedwidth,-0.5\AMC@boxedheight); + \fi + \end{tikzpicture}}% +} +\newcommand\AMC@shapeprepare@oval{% + \AMC@makeovalbox{1}{}{\AMC@ovalbox@R}% + \AMC@makeovalbox{1}{1}{\AMC@ovalbox@RF}% + \AMC@makeovalbox{}{}{\AMC@ovalbox@}% + \AMC@makeovalbox{}{1}{\AMC@ovalbox@F}% +} +\newcommand\AMC@shape@oval[4]{% + \AMC@setcolors@{#3}{#2}% + \AMC@tracebox{#3}{#4}{\boxput*(0,0){\textcolor{\AMC@boxcolor@}{#1}}{% + \ifx\@empty#3\@empty% + \ifx\@empty#2\@empty% + \AMC@use@box{\AMC@ovalbox@}% + \else% + \AMC@use@box{\AMC@ovalbox@F}% + \fi% + \else% + \ifx\@empty#2\@empty% + \AMC@use@box{\AMC@ovalbox@R}% + \else% + \AMC@use@box{\AMC@ovalbox@RF}% + \fi% + \fi% + }}% +} +\newcommand\AMC@shapeprepare@none{} +\newcommand\AMC@shape@none[4]{ #1 } +\def\AMCchoiceLabel#1{% + \ifAMC@inside@digit\arabic{#1}% + \else\Alph{#1}\fi% +} +\def\AMCchoiceLabelFormat#1{#1} +\newcounter{AMC@ncase} +\setcounter{AMC@ncase}{0} +\newcommand\AMC@answerBox[4]{% + \AMC@answerBox@{\ifx\@empty#1\@empty% + \AMCchoiceLabel{AMC@ncase}% + \else #1\fi}{#2}{#3}{#4}} +\newlength\AMC@boxedrule +\newlength\AMC@crossrule +\newlength\AMC@boxeddown +\newlength\AMC@boxedwidth +\newlength\AMC@boxedheight +\newlength\AMC@oval@radius +\newlength\AMC@outside@sep +\define@choicekey{AMCdim}{shape}{square,oval,none}{\def\AMC@shapename{#1}} +\define@key{AMCdim}{size}{\AMC@boxedwidth=#1\AMC@boxedheight=#1} +\define@key{AMCdim}{height}{\AMC@boxedheight=#1} +\define@key{AMCdim}{width}{\AMC@boxedwidth=#1} +\define@key{AMCdim}{rule}{\AMC@boxedrule=#1} +\define@key{AMCdim}{outsidesep}{\AMC@outside@sep=#1} +\define@key{AMCdim}{down}{\AMC@boxeddown=#1} +\define@key{AMCdim}{color}{\def\AMC@boxcolor{#1}} +\define@boolkey{AMCdim}{cross}[false]{} +\define@key{AMCdim}{crosschar}[\textbf{\textsf{X}}]{\def\AMC@crosschar{#1}} +\define@key{AMCdim}{crossrule}[1.5pt]{\AMC@crossrule=#1} +\def\AMCboxStyle#1{% + \setkeys{AMCdim}{#1}% + \ifnum\AMC@boxedwidth<\AMC@boxedheight% + \AMC@oval@radius=\AMC@boxedwidth\divide\AMC@oval@radius\tw@% + \else% + \AMC@oval@radius=\AMC@boxedheight\divide\AMC@oval@radius\tw@% + \fi% + \csname AMC@shapeprepare@\AMC@shapename@ \endcsname% +} +\AMCboxStyle{shape=square,size=2.5ex,down=.4ex,rule=.5pt,outsidesep=.1em,color=black,cross,crosschar,crossrule} +\newcommand\AMCboxColor[1]{\AMCboxStyle{color=#1}} +\let\AMCboxDimensions=\AMCboxStyle +\def\AMCoutsideLabelFormat#1{#1} +\newcommand\AMCboxOutsideLetter[2]{#1\nobreak\hspace{.1em}\AMCoutsideLabelFormat{#2}} +\newcommand\AMC@formBox@[4]{% + \ifAMC@outside@box% letter to be written outside the box + \AMCboxOutsideLetter{\AMC@answerBox@{}{#2}{#3}{#4}}{#1}% + \else% + \AMC@answerBox@{#1}{#2}{#3}{#4}% + \fi% +} +\newcommand\AMC@formBox[4]{% + \AMC@formBox@{\ifx\@empty#1\@empty% + \AMCchoiceLabel{AMC@ncase}% + \else #1\fi}{#2}{#3}{#4}% +} +\newcommand{\AMC@box}[2]{% + \ifAMC@ensemble% + \ifAMC@zoneformulaire% for codes inside form sheet + \protect\AMC@formBox{#1}{#2}{1}{case:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \else% + \ifAMCformulaire@dedans% for answer boxes inside form sheet + \protect\AMC@formBox{#1}{#2}{1}{case:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \else% outside form sheet: not to be read during data capture + \AMC@answerBox{#1}{#2}{1}{casequestion:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \fi\fi% + \else% no separate sheet for answers: always read + \ifAMC@inside@box% + \AMC@answerBox{#1}{#2}{1}{case:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \else% + \AMC@answerBox@{}{#2}{1}{case:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \fi% + \fi% +} +\newif\ifAMCsz@logged\AMCsz@loggedfalse +\newcommand{\AMCscoreZone}[1]{% + \ifAMC@ensemble% + \ifAMCformulaire@dedans% + \AMC@tracebox{1}{score::\the\AMCid@quest,-1}{#1}% + \else% + \AMC@tracebox{1}{scorequestion::\the\AMCid@quest,-1}{#1}% + \fi% + \else% + \AMC@tracebox{1}{score::\the\AMCid@quest,-1}{#1}% + \fi% + \ifAMCsz@logged\else% + \AMC@amclog{AUTOQCM[VAR:scorezones=1]^^J}% + \global\AMCsz@loggedtrue% + \fi% +} +\def\AMCid@checkmax{60} +\def\AMC@NCBetud{12} +\def\AMC@NCBpage{6} +\def\AMC@NCBcheck{6} +\newlength{\AMC@CBtaille}\setlength{\AMC@CBtaille}{5cm} +\def\AMC@premierecopie{1} +\newtoks\AMCbin@sequence +\newcount\AMCbin@number +\newcount\AMCbin@ndigits +\newcount\AMCbin@id +\newcount\AMCbin@digit +\def\AMCbin@one{\advance\AMCbin@digit\@ne% + \AMC@answerBox@{}{1}{1}{chiffre:\the\AMCbin@id,\the\AMCbin@digit}} +\def\AMCbin@zero{\advance\AMCbin@digit\@ne% + \AMC@answerBox@{}{}{1}{chiffre:\the\AMCbin@id,\the\AMCbin@digit}} +\def\AMCbin@begin#1{\AMCbin@id=#1\AMCbin@digit=\z@} +\newcommand{\AMC@binaryBoxes}[2][1]{% +{\AMCboxDimensions{shape=square,size=.32cm,down=0pt,rule=.2pt,cross=false}\AMCbin@sequence={}\AMCbin@number=#2\relax% +\AMCbin@ndigits=\z@% +\loop% +\ifnum\AMCbin@number>\z@% +\advance\AMCbin@ndigits\@ne% +\ifodd\AMCbin@number\AMCbin@sequence=\expandafter{\expandafter\AMCbin@one\the\AMCbin@sequence}% +\else\AMCbin@sequence=\expandafter{\expandafter\AMCbin@zero\the\AMCbin@sequence}\fi% +\divide\AMCbin@number\tw@% +\repeat% +\loop\relax% +\ifnum\AMCbin@ndigits<#1\advance\AMCbin@ndigits\@ne% +\AMCbin@sequence=\expandafter{\expandafter\AMCbin@zero\the\AMCbin@sequence}\repeat% +\the\AMCbin@sequence% +\ifnum\AMCbin@ndigits>#1\PackageError{automultiplechoice}{Too low AMC@NCB value (got #1 but needs \the\AMCbin@ndigits)}{Number of available digits is #1, but needs \the\AMCbin@ndigits}\fi% +}} +\def\AMCcurrentenv{document} +\def\AMCif@env#1{ + \def\AMC@tempenv{#1}% + \ifx\AMC@tempenv\AMCcurrentenv + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi +} +\newcount\AMCtok@k +\newcount\AMCtok@max +\newcount\AMCtok@size +\newcommand{\nouveaugroupe}[2]{% + \expandafter\ifx\csname #1@k\endcsname\relax% + \expandafter\newcount\csname #1@k\endcsname% + \expandafter\newcount\csname AMC#1@j\endcsname% + \csname #1@k\endcsname=\z@\relax% + \csname AMC#1@j\endcsname=\z@\relax% + \setgroupmode{#1}{\AMCdefault@groupmode}% + \fi% +} +\newcommand\AMC@prepare@element[1]{% + \nouveaugroupe{#1}{}% + \global\advance\csname #1@k\endcsname\@ne\relax% + \AMCtok@k=\csname #1@k\endcsname% + \expandafter\ifx\csname #1@\romannumeral\AMCtok@k\endcsname\relax% + \expandafter\newtoks\csname #1@\romannumeral\AMCtok@k\endcsname\fi% +} +\newcommand{\element}[2]{% + \AMC@prepare@element{#1}% + \csname #1@\romannumeral\AMCtok@k\endcsname={#2}% +} +\def\AMCdefault@groupmode{fixed} +\newcommand{\setdefaultgroupmode}[1]{\def\AMCdefault@groupmode{#1}} +\newcommand{\setgroupmode}[2]{% + \expandafter\ifx\csname AMCgrouppre@#2\endcsname\relax% + \PackageError{automultiplechoice}{Unknown group mode for #1 : #2}% + {You asked to set group '#1' mode to '#2', + but '#2' is not a valid group mode}% + \else% + \expandafter\global\expandafter\def\csname AMC#1@mode\endcsname{#2}% + \fi% +} +\newcommand{\AMCgrouppre@fixed}[3]{% + \ifnum#3<\z@% + \csname AMC#1@j\endcsname=\z@% + \else% + \csname AMC#1@j\endcsname=#3% + \fi% +} +\newcommand{\AMCgrouppre@withreplacement}[3]{% + \ifnum#3<\z@% + \csname AMC#1@j\endcsname=\z@% + \else% + \csname AMC#1@j\endcsname=#3% + \fi% + \shufflegroup{#1}% +} +\newcount\AMC@imax +\newcommand{\AMCgrouppre@withoutreplacement}[3]{% + \ifnum#3<\z@% + \else% + \csname AMC#1@j\endcsname=#3% + \fi% + \ifnum\AMCtok@ik=\AMCloop@k% + \AMCtok@ik=\z@% + \fi% + \ifnum\AMCtok@ik=\z@% + \shufflegroup{#1}% + \else% + \AMC@imax=\AMCloop@k% + \advance\AMC@imax -#2\relax% + \ifnum\AMCtok@ik>\AMC@imax% + \shufflegroupslice{#1}{\@ne}{\AMCtok@ik}% + \ifnum\AMCtok@ik<\AMCloop@k% + \advance\AMCtok@ik\@ne% + \shufflegroupslice{#1}{\AMCtok@ik}{\AMCloop@k}% + \fi% + \fi% + \fi% +} +\newcommand{\AMCgrouppre@cyclic}[3]{% + \ifnum#3<\z@% + \else% + \csname AMC#1@j\endcsname=#3% + \fi% +} +\newcommand{\AMCgroup@pre}[4]{% + \csname AMCgrouppre@#1\endcsname{#2}{#3}{#4}% +} +\newcommand{\shufflegroup}[1]{% + \ifAMC@shuffleG{\AMC@shuffletoks{\number\csname #1@k\endcsname}{#1@}}\fi% +} +\newcommand{\shufflegroupslice}[3]{% + \ifAMC@shuffleG{\AMC@shuffletoks[#2]{#3}{#1@}}\fi% +} +\newcount\AMCtok@ik +\newcount\AMCloop@k +\newcommand{\AMCgrouploop@prep}[3]{% + \AMCtok@size=#1\relax% + \ifAMC@fullGroups\AMCtok@size=\z@\fi% + \ifnum\AMCtok@size<\@ne% + \AMCtok@size=\csname #2@k\endcsname% + \fi% + \AMCtok@ik=\csname AMC#2@j\endcsname% + \AMCloop@k=\csname #2@k\endcsname% + \expandafter\ifx\csname AMC#2@mode\endcsname\relax% + \PackageError{automultiplechoice}{No group mode for #2}% + {No mode has been defined for group '#2'. This should not occur...}% + \fi% + \AMCgroup@pre{\csname AMC#2@mode\endcsname}{#2}{\the\AMCtok@size}{#3}% +} +\newcommand{\AMCgrouploop@next}[1]{% + \global\advance\csname AMC#1@j\endcsname\@ne\relax% + \expandafter\ifnum\csname AMC#1@j\endcsname>\AMCloop@k\relax% + \global\csname AMC#1@j\endcsname=\@ne% + \fi% + \AMCtok@ik=\csname AMC#1@j\endcsname% + \advance\AMCtok@size\m@ne% +} +\newcommand{\insertgroupfrom}[3][0]{% + \AMCgrouploop@prep{#1}{#2}{#3}% + {\loop% + \AMCgrouploop@next{#2}% + {\the\csname #2@\romannumeral\AMCtok@ik\endcsname}% + \ifnum\AMCtok@size>\z@\repeat}% +} +\newcommand{\insertgroup}[2][0]{% + \insertgroupfrom[#1]{#2}{-1}% +} +\newcommand{\cleargroup}[1]{% + \nouveaugroupe{#1}{}% + \csname #1@k\endcsname=\z@\relax% + \csname AMC#1@j\endcsname=\z@\relax% +} +\newcommand{\copygroupfrom}[4][0]{% + \AMCgrouploop@prep{#1}{#2}{#4}% + {\loop% + \AMCgrouploop@next{#2}% + \AMC@prepare@element{#3}% + \global\csname #3@\romannumeral\AMCtok@k\endcsname=\csname #2@\romannumeral\AMCtok@ik\endcsname% + \ifnum\AMCtok@size>\z@\repeat}% +} +\newcommand{\copygroup}[3][0]{% + \copygroupfrom[#1]{#2}{#3}{-1}% +} +\newcount\AMCrep@count +\AMCload@counter=199 +\@whilenum\AMCload@counter>0\do{% + \expandafter\newtoks\csname reponse@\romannumeral\AMCload@counter\endcsname% + \advance\AMCload@counter\m@ne% +} +\newcommand\AMCload@reponse[2]{% + \advance\AMCload@counter\@ne\relax% + \csname reponse@\romannumeral\AMCload@counter\endcsname% + =\expandafter{\expandafter\AMCrep@count\expandafter=#2 #1}% +} +\newcommand\AMCrien@deux[2]{#1} +\def\shuffle@it{\AMC@shuffletoks{\number\AMCload@counter}{reponse@}} +\newcount\AMCnum@questions +\newcommand\AMCdump@reponses{% + \global\AMCnum@questions=\AMCload@counter% + \@whilenum\AMCload@counter>0\do{% + \the\csname reponse@\romannumeral\AMCload@counter\endcsname% + \advance\AMCload@counter\m@ne}} +\newcommand\AMCrep@init[1]{% + \ifAMC@ordre\AMCrep@o\else% + \csname AMCrep@#1\endcsname\fi\AMCload@counter=\z@} +\newcommand\AMCrep@o{% + \def\AMCload@@reponse{\AMCrien@deux}\def\AMCrep@fini{}} +\newcommand\AMCrep@r{% + \def\AMCload@@reponse{\AMCload@reponse}% + \def\AMCrep@fini{\shuffle@it\AMCdump@reponses}} +\newcount\AMCrep@@count +\newcommand\lastchoices{% + \AMCrep@@count=\AMCrep@count% + \AMCrep@fini\AMCrep@init{o}% + \AMCrep@count=\AMCrep@@count} +\newcommand\@aucune{\emph{\AMC@loc@none}} +\newcommand\AMC@fin@rep{% + \ifAMCcomplete@multi\ifAMCtype@multi% + \lastchoices\AMCrep@count=-1% + \ifAMCune@bonne\wrongchoice{\@aucune}\else% + \ifAMC@postcorrect\wrongchoice{\@aucune}\else\correctchoice{\@aucune}\fi% + \fi\fi\fi\AMCrep@fini} +\def\AMCmem@ireData{} +\def\AMCformBeforeQuestion{\vspace{\AMCformVSpace}\par} +\def\AMCformAfterQuestion{\ifAMC@asqbloc\egroup\fi} +\def\AMCformQuestion#1{{\AMC@loc@qf{#1}}} +\def\AMCformQuestionA#1#2{\setcounter{AMCquestionaff}{#1}% + \AMCid@quest=#2% + \setcounter{AMC@ncase}{0}% + \AMCformBeforeQuestion% + \ifAMC@asqbloc\vbox\bgroup\fi% + \ifx\@empty\AMC@sza@callout\@empty\else% + \csname\AMC@sza@callout\endcsname% + \fi% + \AMCformQuestion{#1}% + \ifx\@empty\AMC@sza@callin\@empty\else% + \csname\AMC@sza@callin\endcsname% + \fi% +} +\def\AMCformAnswer#1{\hspace{\AMCformHSpace} #1} +\def\AMCformAnswerA#1{\addtocounter{AMC@ncase}{1}\AMCformAnswer{#1}} +\newcommand\AMCmem@ireAJ[1]{% + \ifAMC@ensemble\ifAMC@zoneformulaire\else% + \begingroup\AMCformulaire@dedanstrue% + \let\protect\@unexpandable@protect% + \global\edef\AMCmem@ireData{\AMCmem@ireData #1}% + \endgroup\fi\fi} +\newcommand\AMCmem@ireAJRep[1]{% + \addtocounter{AMC@ncase}{1}\AMCmem@ireAJ{\protect\AMCformAnswerA{#1}}} +\newcommand\AMCmem@ireQ[2]{\AMCmem@ireAJ{\protect\AMCformQuestionA{#1}{#2}}} +\def\AMCformBegin{% + \AMC@zoneformulairetrue\setcounter{section}{0}% + \ifAMC@ensemble\ifAMC@automarks\pagestyle{AMCpageFull}\fi\fi% +} +\newcommand\AMCform{% + \ifAMC@ensemble\AMCformulaire@dedanstrue\AMCmem@ireData% + \global\def\AMCmem@ireData{}\fi} +\newcommand\AMCformS{% + \ifAMC@ensemble\AMCformulaire@dedanstrue% + \AMC@amclog{AUTOQCM[BR=0]^^J}\AMCmem@ireData% + \fi} +\newcommand{\AMCsection}[1]{\section{#1}\AMCmem@ireAJ{\protect\section{#1}}} +\newcommand{\AMCsubsection}[1]{\subsection{#1}\AMCmem@ireAJ{\protect\subsection{#1}}} +\def\AMCBoxedAnswers{\AMC@rbloctrue} +\newenvironment{choices}[1][r]{% + \AMCrep@count=\z@\def\une@rep{\AMCrep@itemize}% + \ifAMC@rbloc\def\une@rep{\AMCrep@bloc}% + \else\begin{itemize}\setlength{\itemsep}{\AMCinterIrep}\fi% + \AMCrep@init{#1}}% + {\AMC@fin@rep\ifAMC@rbloc\else\end{itemize}\fi} +\newenvironment{choiceshoriz}[1][r]{% + \AMCrep@count=\z@\def\une@rep{\AMCrep@ligne}\AMCrep@init{#1}% + \par\begin{center}}% + {\AMC@fin@rep\end{center}} +\newenvironment{choicescustom}[1][r]{% + \AMCrep@count=\z@\def\une@rep{\AMCrep@perso}\AMCrep@init{#1}% + \AMCbeginAnswer\ignorespaces}% + {\AMC@fin@rep\AMCendAnswer} +\newcommand\AMCrep@bloc[2]{\AMCmem@ireAJRep{#1}% + \par\noindent\begin{minipage}{\linewidth}% + \begin{itemize}\item[#1] #2\end{itemize}\end{minipage}% + \vspace{\AMCinterBrep}} +\newcommand\AMCrep@itemize[2]{\AMCmem@ireAJRep{#1}\item[#1] #2} +\newcommand\AMCrep@ligne[2]{\AMCmem@ireAJRep{#1}% + \mbox{#1\hspace*{1em}#2}\hspace{3em plus 4em}} +\newcommand\AMCrep@perso[2]{\AMCmem@ireAJRep{#1}\AMCanswer{#1}{#2}} +\def\AMCbeginAnswer{} +\def\AMCanswer#1#2{#1 #2} +\def\AMCendAnswer{} +\newcommand{\correctchoice}[2][]{\global\advance\AMCrep@count\@ne\relax% + \ifAMC@calibration\AMC@amclog{AUTOQCM[REP=\the\AMCrep@count:B]^^J}\fi% + \global\AMCune@bonnetrue% + \AMCload@@reponse{\une@rep{\ifAMC@correc\AMC@box{#1}{1}% + \else\AMC@box{#1}{}\fi}{#2}}{\the\AMCrep@count}\ignorespaces} +\newcommand{\wrongchoice}[2][]{\global\advance\AMCrep@count\@ne\relax% + \ifAMC@calibration\AMC@amclog{AUTOQCM[REP=\the\AMCrep@count:M]^^J}\fi% + \AMCload@@reponse{\une@rep{\AMC@box{#1}{}}{#2}}{\the\AMCrep@count}% + \ignorespaces} +\newcommand{\AMCemptybox}[3]{{% + \sbox0{}\wd0=#1\ht0=#2\dp0=#3\relax\box0}} +\newlength\AMC@mn@test +\newlength\AMC@mn@sep\AMC@mn@sep=4mm +\newlength\AMC@mn@leftmargin +\newlength\AMC@mn@rightmargin +\newcommand\AMCmarginNote[1]{% + \begin{tikzpicture}[remember picture,overlay]% + \coordinate (here) at (0,0);% + \pgfextractx{\AMC@mn@test}{\pgfpointdiff{\pgfpointorigin}% + {\pgfpointanchor{current page}{center}}}% + \ifodd\thepage% + \AMC@mn@leftmargin=\oddsidemargin% + \AMC@mn@rightmargin=\evensidemargin% + \else + \AMC@mn@leftmargin=\evensidemargin% + \AMC@mn@rightmargin=\oddsidemargin% + \fi + \ifdim\AMC@mn@test < 1cm% + \draw (current page.east |- here)+(-\AMC@mn@rightmargin-1in+\AMC@mn@sep,0pt) node[anchor=text,align=left,text width=\AMC@mn@rightmargin+1in-\AMC@mn@sep]{\strut #1};% + \else% + \draw (current page.west |- here)+(0cm,0pt) node[anchor=text,align=right,text width=\AMC@mn@leftmargin+1in-\AMC@mn@sep]{\strut #1};% + \fi% + \end{tikzpicture}% +} +\newcommand{\AMC@sz@box}{\AMCemptybox{\AMC@sz@width}{\AMC@sz@height}{\AMC@sz@depth}} +\newcommand{\AMC@sz@callin@question}{\AMCscoreZone{\AMC@sz@box}} +\newcommand{\AMC@sz@callout@margin}{\hspace{0pt}\marginpar{\AMCscoreZone{\AMC@sz@box}}} +\newcommand{\AMC@sz@init@margins}{\PackageWarning{automultiplechoice}{Please run twice to get proper margin notes position.}} +\newcommand{\AMC@sz@callout@margins}{\hspace{0pt}\AMCmarginNote{\AMCscoreZone{\AMC@sz@box}}} +\newlength\AMC@sz@width +\newlength\AMC@sz@height +\newlength\AMC@sz@depth +\def\AMC@sz@callout{} +\def\AMC@sz@callin{} +\define@key{AMCsz}{width}{\AMC@sz@width=#1} +\define@key{AMCsz}{height}{\AMC@sz@height=#1} +\define@key{AMCsz}{depth}{\AMC@sz@depth=#1} +\define@key{AMCsz}{calloutside}{\def\AMC@sz@callout{#1}} +\define@key{AMCsz}{callinside}{\def\AMC@sz@callin{#1}} +\define@choicekey{AMCsz}{position}{none,question,margin,margins}{% + \ifcsname AMC@sz@callout@#1\endcsname% + \def\AMC@sz@callout{AMC@sz@callout@#1}% + \else% + \def\AMC@sz@callout{}% + \fi% + \ifcsname AMC@sz@callin@#1\endcsname% + \def\AMC@sz@callin{AMC@sz@callin@#1}% + \else% + \def\AMC@sz@callin{}% + \fi% + \ifcsname AMC@sz@init@#1\endcsname% + \csname AMC@sz@init@#1\endcsname% + \fi% +} +\newcommand{\AMCsetScoreZone}[1]{\setkeys{AMCsz}{#1}} +\AMCsetScoreZone{width=1.5em,height=1.5ex,depth=.5ex,position=none} +\newcommand{\AMC@sza@box}{\AMCemptybox{\AMC@sza@width}{\AMC@sza@height}{\AMC@sza@depth}} +\newcommand{\AMC@sza@init@none}{} +\newcommand{\AMC@sza@callout@none}{} +\newcommand{\AMC@sza@callin@none}{} +\newcommand{\AMC@sza@init@question}{} +\newcommand{\AMC@sza@callout@question}{} +\newcommand{\AMC@sza@callin@question}{\AMCscoreZone{\AMC@sza@box}} +\newcommand{\AMC@sza@init@margin}{} +\newcommand{\AMC@sza@callout@margin}{\hspace{0pt}\marginpar{\AMCscoreZone{\AMC@sza@box}}} +\newcommand{\AMC@sza@callin@margin}{} +\newcommand{\AMC@sza@init@margins}{\PackageWarning{automultiplechoice}{Please run twice to get proper margin notes position.}} +\newcommand{\AMC@sza@callout@margins}{\hspace{0pt}\AMCmarginNote{\AMCscoreZone{\AMC@sz@box}}} +\newcommand{\AMC@sza@callin@margins}{} +\newlength\AMC@sza@width +\newlength\AMC@sza@height +\newlength\AMC@sza@depth +\def\AMC@sza@callout{} +\def\AMC@sza@callin{} +\define@key{AMCsza}{width}{\AMC@sza@width=#1} +\define@key{AMCsza}{height}{\AMC@sza@height=#1} +\define@key{AMCsza}{depth}{\AMC@sza@depth=#1} +\define@key{AMCsza}{calloutside}{\def\AMC@sza@callout{#1}} +\define@key{AMCsza}{callinside}{\def\AMC@sza@callin{#1}} +\define@choicekey{AMCsza}{position}{none,question,margin,margins}{% + \ifcsname AMC@sza@callout@#1\endcsname% + \def\AMC@sza@callout{AMC@sza@callout@#1}% + \else% + \def\AMC@sza@callout{}% + \fi% + \ifcsname AMC@sza@callin@#1\endcsname% + \def\AMC@sza@callin{AMC@sza@callin@#1}% + \else% + \def\AMC@sza@callin{}% + \fi% + \ifcsname AMC@sza@init@#1\endcsname% + \csname AMC@sza@init@#1\endcsname% + \fi% +} +\newcommand{\AMCsetScoreZoneAnswerSheet}[1]{\setkeys{AMCsza}{#1}} +\AMCsetScoreZoneAnswerSheet{width=1.5em,height=1.5ex,depth=.5ex,position=none} +\newcommand{\AMCnoScoreZone}{\AMCsetScoreZone{position=none}\AMCsetScoreZoneAnswerSheet{position=none}} +\newcounter{AMCquestionaff} +\newcommand{\AMCnumero}[1]{\setcounter{AMCquestionaff}{#1}\addtocounter{AMCquestionaff}{-1}} +\newcommand\AMC@stepQuestion{\ifAMCquestionNumber\refstepcounter{AMCquestionaff}\fi} +\newcommand\AMC@qaff{\arabic{AMCquestionaff}} +\def\AMCbeforeQuestion{\ifAMC@qbloc\else\par\noindent\fi} +\def\AMCbeginQuestion#1#2{\noindent\AMC@loc@q{#1}{#2}% + \ifx\@empty\AMC@sz@callin\@empty\hspace*{1em}\fi% +} +\def\multiSymbole{$\clubsuit$} +\ifx\question\undefined\else\let\question\undefined\fi +\def\AMCnobloc{\AMC@qblocfalse} +\def\AMCbloc{\AMC@qbloctrue} +\newenvironment{question}[2][]{% + \def\AMCcurrentenv{question}% + \AMC@stepQuestion% + \global\def\AMCid@name{#2}\AMC@affecte{#2}{\AMCid@quest}% + \ifAMC@calibration\AMCmessage{Q=\the\AMCid@quest}\fi% + \AMCbeforeQuestion% + \ifx\@empty\AMC@sz@callout\@empty\else% + \csname\AMC@sz@callout\endcsname% + \fi% + \AMCtype@multifalse\ifAMC@qbloc\noindent\begin{minipage}{\linewidth}\fi% + \ifAMC@affichekeys\index{\texttt{#2}}\fi% + \AMCbeginQuestion{\ifAMC@affichekeys\ifAMC@ensemble\AMC@qaff\ \fi[\texttt{#2}]\else\AMC@qaff\fi}{#1}% + \ifx\@empty\AMC@sz@callin\@empty\else% + \csname\AMC@sz@callin\endcsname% + \fi% + \AMCformulaire@dedansfalse\setcounter{AMC@ncase}{0}% + \AMCmem@ireQ{\arabic{AMCquestionaff}}{\the\AMCid@quest}}% +{\ifAMC@qbloc\end{minipage}\vspace{\AMCinterBquest}\else\vspace{\AMCinterIquest}\fi\AMCmessage{FQ}\AMCmem@ireAJ{\AMCformAfterQuestion}} +\newenvironment{questionmult}[1]{% + \AMCune@bonnefalse\begin{question}[{{\multiSymbole}}]{#1}% + \AMCtype@multitrue\ifAMC@calibration% + \AMC@amclog{AUTOQCM[MULT]^^J}\fi}% +{\end{question}} +\newenvironment{questionmultx}[1]{% + \begingroup\def\multiSymbole{}\begin{questionmult}{#1}}% +{\end{questionmult}\endgroup} +\newdimen\ouverte@vs +\newenvironment{questionouverte}[1][3cm]{% + \AMC@stepQuestion% + \AMCtype@multifalse\ouverte@vs=#1% + \ifAMC@qbloc\noindent\begin{minipage}{\linewidth}\fi% + \AMCbeginQuestion{\AMC@qaff}{}}% +{\vspace*{\ouverte@vs}\ifAMC@qbloc\end{minipage}\vspace{3ex}\fi} +\newcommand{\explain}[1]{% +\ifAMC@correchead% + \AMCif@env{question}{\par\noindent{\AMC@loc@explain #1}}{\AMC@error@explain}\vspace{1ex}% +\else% + \AMCif@env{question}{}{\AMC@error@explain}% +\fi% +} +\def\scoring#1{\ifAMC@calibration\AMC@amclog{AUTOQCM[B=#1]^^J}\fi} +\def\scoringDefaultS#1{\ifAMC@calibration\AMC@amclog{AUTOQCM[BDS=#1]^^J}\fi} +\def\scoringDefaultM#1{\ifAMC@calibration\AMC@amclog{AUTOQCM[BDM=#1]^^J}\fi} +\def\QuestionIndicative{\ifAMC@calibration\AMC@amclog{AUTOQCM[INDIC]^^J}\fi} +\newcount\AMC@chiffres +\newdimen\AMCcodeHspace\AMCcodeHspace=.5em +\newdimen\AMCcodeVspace\AMCcodeVspace=.5em +\newcommand{\AMCcode}[2]{% +{\def\AMCbeginQuestion##1##2{}\def\AMCbeforeQuestion{}\AMCnoScoreZone% + \AMCquestionNumberfalse% + \setlength{\parindent}{0pt}% + \def\AMCbeginAnswer{\hspace{0pt}% + \vbox\bgroup}% + \def\AMCendAnswer{\vspace{-\AMCcodeVspace}\egroup% + \hspace{\AMCcodeHspace}}% + \def\AMCanswer##1##2{\hbox{\ifAMC@ensemble ##1\else% + \ifAMC@inside@box ##1\else{\AMCboxOutsideLetter{##1}{##2}}\fi\fi\hspace*{\fill}}% + \vspace{\AMCcodeVspace}}% + \AMCnobloc% + \AMC@chiffres=#2\loop% + \begin{question}{#1[\the\AMC@chiffres]}\QuestionIndicative% + \begin{choicescustom}[o]\scoring{auto=0}% + \wrongchoice[0]{0}% + \wrongchoice[1]{1}% + \wrongchoice[2]{2}% + \wrongchoice[3]{3}% + \wrongchoice[4]{4}% + \wrongchoice[5]{5}% + \wrongchoice[6]{6}% + \wrongchoice[7]{7}% + \wrongchoice[8]{8}% + \wrongchoice[9]{9}% + \end{choicescustom}% + \end{question}% + \advance\AMC@chiffres\m@ne\ifnum\AMC@chiffres>0\repeat% + \hspace{-\AMCcodeHspace}% +}} +\newcommand{\AMCcodeH}[2]{% +{\def\AMCbeginQuestion##1##2{}\def\AMCbeforeQuestion{}\AMCnoScoreZone% + \AMCquestionNumberfalse% + \setlength{\parindent}{0pt}% + \def\AMCbeginAnswer{\hbox\bgroup}% + \def\AMCendAnswer{\egroup\vspace{\AMCcodeVspace}\par}% + \def\AMCanswer##1##2{\hbox{\ifAMC@ensemble ##1\else% + \ifAMC@inside@box ##1\else{\AMCboxOutsideLetter{##1}{##2}}\fi\fi}% + \hspace{\AMCcodeHspace}}% + \AMCnobloc% + \AMC@chiffres=#2\loop% + \begin{question}{#1[\the\AMC@chiffres]}\QuestionIndicative% + \begin{choicescustom}[o]\scoring{auto=0}% + \wrongchoice[0]{0}% + \wrongchoice[1]{1}% + \wrongchoice[2]{2}% + \wrongchoice[3]{3}% + \wrongchoice[4]{4}% + \wrongchoice[5]{5}% + \wrongchoice[6]{6}% + \wrongchoice[7]{7}% + \wrongchoice[8]{8}% + \wrongchoice[9]{9}% + \end{choicescustom}% + \end{question}% + \advance\AMC@chiffres\m@ne\ifnum\AMC@chiffres>0\repeat% +}} +\newcommand\AMCformatChoices[4]{% + \global\AMCrep@count=\z@% + \AMCmem@ireAJ{\global\AMCrep@count=\z@% + \protect #1{#3}{#4}{\AMCid@name}{\the\AMCid@quest}}% + \ifAMC@ensemble% + #2{#3}{#4}{\AMCid@name}{\the\AMCid@quest}% + \AMC@amclog{AUTOQCM[QPART]^^J}% + \else% + #1{#3}{#4}{\AMCid@name}{\the\AMCid@quest}% + \fi% +} +\newcommand{\AMCnumeric@char}[2]{% + \global\advance\AMCrep@count\@ne\relax% + \AMC@amclog{AUTOQCM[REP=\the\AMCrep@count:\ifx#2\@empty\@empty M\else B\fi]^^J}% + \ifAMC@correc% + \protect\AMC@formBox@{#1}{#2}{1}{case:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \else% + \protect\AMC@formBox@{#1}{}{1}{case:\AMCid@name:\the\AMCid@quest,\the\AMCrep@count}% + \fi% +} +\newdimen\AMCnumeric@Hspace\AMCnumeric@Hspace=.5em +\newdimen\AMCnumeric@Vspace\AMCnumeric@Vspace=1ex +\newcommand{\AMCnumeric@digit}[2]{% + \ifnum\AMC@chiffres=#1% + \AMCnumeric@char{\the\AMC@chiffres}{1}% + \else% + \AMCnumeric@char{\the\AMC@chiffres}{}% + \fi% +} +\newcommand{\AMCsignV}[1]{% + \ifnum#1<\z@% + \hbox{\AMCnumeric@char{$+$}{}}\vspace{\AMCnumeric@Vspace} + \AMC@amclog{AUTOQCM[B=set.intS=1]^^J}% + \hbox{\AMCnumeric@char{$-$}{1}} + \AMC@amclog{AUTOQCM[B=set.intS=-1]^^J}% + \global\multiply#1\m@ne% + \else% + \hbox{\AMCnumeric@char{$+$}{1}}\vspace{\AMCnumeric@Vspace} + \AMC@amclog{AUTOQCM[B=set.intS=1]^^J}% + \hbox{\AMCnumeric@char{$-$}{}} + \AMC@amclog{AUTOQCM[B=set.intS=-1]^^J}% + \fi% +} +\newcommand{\AMCnumericH}[3]{% + \ifKV@AMCNumeric@nozero\AMC@chiffres=1\else\AMC@chiffres=0\fi% + \loop% + \AMCnumeric@digit{#2}{#3}% + \AMC@amclog{AUTOQCM[B=set.#1=\the\AMC@chiffres]^^J}% + \advance\AMC@chiffres\@ne% + \ifnum\AMC@chiffres<#3\relax\hspace{\AMCnumeric@Hspace}\repeat% +} +\newcommand{\AMCnumericV}[3]{% + \ifKV@AMCNumeric@nozero\AMC@chiffres=1\else\AMC@chiffres=0\fi% + \loop% + \vbox{\hbox{\AMCnumeric@digit{#2}{#3}}}% + \AMC@amclog{AUTOQCM[B=set.#1=\the\AMC@chiffres]^^J}% + \advance\AMC@chiffres\@ne% + \ifnum\AMC@chiffres<#3\relax\vspace{\AMCnumeric@Vspace}\repeat% +} +\newcount\AMC@numeric@lastdigit% +\newcommand{\AMCnumericVR}[3]{% + \ifKV@AMCNumeric@nozero\AMC@numeric@lastdigit=1% + \else\AMC@numeric@lastdigit=0\fi% + \AMC@chiffres=#3\advance\AMC@chiffres\m@ne\loop% + \vbox{\hbox{\AMCnumeric@digit{#2}{#3}}}% + \AMC@amclog{AUTOQCM[B=set.#1=\the\AMC@chiffres]^^J}% + \ifnum\AMC@chiffres>\AMC@numeric@lastdigit% + \advance\AMC@chiffres\m@ne% + \vspace{\AMCnumeric@Vspace}\repeat% +} +\newcount\AMC@integer@modulo +\newcommand\AMC@calcmodulo[2]{% + \AMC@integer@modulo=#1\divide\AMC@integer@modulo\AMC@numeric@base% + \multiply\AMC@integer@modulo\AMC@numeric@base% + \multiply\AMC@integer@modulo\m@ne\advance\AMC@integer@modulo by #1\relax% + #2=\AMC@integer@modulo% +} +\newcount\AMC@numeric@integer +\newcount\AMC@numeric@calcdigit +\newcommand\AMC@calcdigit[3]{% + \AMC@numeric@integer=#1% + \AMC@numeric@calcdigit=#2% + \ifnum#2>\z@\loop{% + \global\divide\AMC@numeric@integer\AMC@numeric@base}% + \advance\AMC@numeric@calcdigit\m@ne% + \ifnum\AMC@numeric@calcdigit>\z@\repeat% + \fi% + \AMC@calcmodulo{\the\AMC@numeric@integer}{#3}% +} +\newcommand\AMCsignificantDigits[4][10]{% + \FPifzero{#3}% + #4\z@% + \else% + \AMCsignificantDigits@nonnull[#1]{#2}{#3}{#4} + \AMC@givesign{#3}{#4}% + \fi% +} +\newcommand\AMC@givesign[2]{% + \FPifpos{#1}\else\multiply#2\m@ne\fi% +} +\newcommand\AMCsignificantDigits@nonnull[4][10]{% + \FPabs\AMC@FP@x{#3}% + \AMC@numeric@calcdigit=#2% + \AMC@numeric@integer=1% + \loop\multiply\AMC@numeric@integer by #1\advance\AMC@numeric@calcdigit\m@ne% + \ifnum\AMC@numeric@calcdigit>\z@\repeat% + \loop\FPiflt\AMC@FP@x{\the\AMC@numeric@integer}\else% + \FPeval\AMC@FP@x{AMC@FP@x / #1}\repeat% + \divide\AMC@numeric@integer by #1\relax% + \loop\FPiflt\AMC@FP@x{\the\AMC@numeric@integer}% + \FPeval\AMC@FP@x{AMC@FP@x * #1}\repeat% + \FPround\AMC@FP@x\AMC@FP@x0\relax% + \AMC@numeric@calcdigit=\AMC@FP@x% + \multiply\AMC@numeric@integer by #1\relax% + \ifnum\AMC@numeric@calcdigit<\AMC@numeric@integer\else% + \divide\AMC@numeric@calcdigit by #1\relax\fi% + #4=\AMC@numeric@calcdigit% +} +\def\AMCdecimalPoint{\raisebox{1ex}{\bf .}} +\def\AMCntextSign{} +\def\AMCntextGoto{} +\def\AMCntextVHead#1{\emph{b#1}} +\def\AMCncol@Border{lightgray} +\def\AMCncol@Background{white} +\def\AMCncol@BorderWidth{1mm} +\newcount\AMC@numeric@digits +\newcount\AMC@numeric@decd +\newcount\AMC@numeric@value +\newcount\AMC@numeric@x +\newcount\AMC@numeric@base +\define@key{AMCNumeric}{Tsign}{\def\AMCntextSign{#1}} +\define@key{AMCNumeric}{Tpoint}{\def\AMCdecimalPoint{#1}} +\define@key{AMCNumeric}{vspace}{\AMCnumeric@Vspace=#1} +\define@key{AMCNumeric}{hspace}{\AMCnumeric@Hspace=#1} +\define@key{AMCNumeric}{bordercol}{\def\AMCncol@Border{#1}} +\define@key{AMCNumeric}{borderwidth}{\def\AMCncol@BorderWidth{#1}} +\define@key{AMCNumeric}{backgroundcol}{\def\AMCncol@Background{#1}} +\define@key{AMCNumeric}{digits}[3]{\AMC@numeric@digits=#1} +\define@key{AMCNumeric}{decimals}[0]{\AMC@numeric@decd=#1} +\define@key{AMCNumeric}{base}[10]{\AMC@numeric@base=#1} +\define@boolkey{AMCNumeric}{sign}[true]{} +\define@boolkey{AMCNumeric}{strict}[false]{} +\define@boolkey{AMCNumeric}{scoring}[true]{} +\define@boolkey{AMCNumeric}{vertical}[false]{} +\define@boolkey{AMCNumeric}{reverse}[true]{} +\define@boolkey{AMCNumeric}{vhead}[false]{} +\define@boolkey{AMCNumeric}{nozero}[false]{} +\define@boolkey{AMCNumeric}{significant}[false]{} +\define@key{AMCNumeric}{scoreexact}[2]{\def\AMC@numeric@scoreexact{#1}} +\define@key{AMCNumeric}{scoreapprox}[1]{\def\AMC@numeric@scoreapprox{#1}} +\newcount\AMC@numeric@exact +\newcount\AMC@numeric@approx +\define@key{AMCNumeric}{exact}[0]{\AMC@numeric@exact=#1} +\define@key{AMCNumeric}{approx}[0]{\AMC@numeric@approx=#1} +\setkeys{AMCNumeric}{digits,decimals,base,sign,strict,scoring,vertical, + reverse,vhead,scoreexact,scoreapprox,exact,approx, + nozero,significant} +\newcommand\AMCnumericOpts[1]{\setkeys{AMCNumeric}{#1}} +\newcommand\AMCnumericShow[4]{% + \ifAMC@ensemble\def\AMCid@name{#3}\AMCid@quest=#4\fi% + \ifAMC@ensemble\ifAMCformulaire@dedans% + \AMC@amclog{AUTOQCM[Q=\the\AMCid@quest]^^J} + \fi\fi% + {\setkeys{AMCNumeric}{#2}% + \ifnum\AMC@numeric@decd>\z@% + \FPeval\AMC@numeric@eval{round(#1 * \the\AMC@numeric@base^\the\AMC@numeric@decd,0)} + \AMC@numeric@value=\AMC@numeric@eval% + \else% + \ifKV@AMCNumeric@significant% + \AMCsignificantDigits[\the\AMC@numeric@base]{\AMC@numeric@digits}{#1}{\AMC@numeric@value}% + \else% + \AMC@numeric@value=#1% + \fi% + \fi% + \ifKV@AMCNumeric@scoring% + \AMC@amclog{AUTOQCM[B=haut=,mz=,formula=(Vdifference<=\the\AMC@numeric@exact?% + \AMC@numeric@scoreexact:% + \ifnum\AMC@numeric@approx>\z@% + (Vdifference<=\the\AMC@numeric@approx?\AMC@numeric@scoreapprox:0)% + \else% + 0% + \fi)]^^J}% + \fi% + \def\AMC@numeric@compute{}% + \AMC@numeric@x=\AMC@numeric@digits\loop{% + \ifKV@AMCNumeric@strict% + \AMC@amclog{AUTOQCM[B=requires.int\@Alph\AMC@numeric@x=1]^^J}% + \else% + \AMC@amclog{AUTOQCM[B=default.int\@Alph\AMC@numeric@x=0]^^J}% + \fi% + \global\edef\AMC@numeric@compute{% + \ifnum\AMC@numeric@x=\AMC@numeric@digits\else% + (\AMC@numeric@compute)*\the\AMC@numeric@base+\fi% + int\@Alph\AMC@numeric@x}% + }\advance\AMC@numeric@x\m@ne\ifnum\AMC@numeric@x>0\repeat% + \ifKV@AMCNumeric@sign% + \ifKV@AMCNumeric@strict% + \AMC@amclog{AUTOQCM[B=requires.intS=1]^^J}% + \else% + \AMC@amclog{AUTOQCM[B=default.intS=1]^^J}% + \fi% + \global\edef\AMC@numeric@compute{(\AMC@numeric@compute)*(intS)}% + \fi% + \AMC@amclog{AUTOQCM[B=set.intV=\the\AMC@numeric@value,% + set.intX=\AMC@numeric@compute]^^J}% + \ifKV@AMCNumeric@significant% + \AMC@amclog{AUTOQCM[B=set.Vdifference="min( abs((intV)-(intX)) , abs(\the\AMC@numeric@base * (intV) - (intX)) , abs((intV) - \the\AMC@numeric@base * (intX)) )"]^^J}% + \else% + \AMC@amclog{AUTOQCM[B=set.Vdifference=abs((intV)-(intX))]^^J}% + \fi% + \vspace{1.5ex}\par{% + \fboxrule=\AMCncol@BorderWidth% + \fcolorbox{\AMCncol@Border}{\AMCncol@Background}{% + \ifKV@AMCNumeric@sign% + \vbox{% + \ifx\AMCntextSign\@empty\@empty\else% + \hbox{\AMCntextSign}\vspace{\AMCnumeric@Vspace}\fi% + \AMCsignV{\AMC@numeric@value}}\hspace{.5em}% + \vrule% + \hspace{.5em}% + \fi% +\advance\AMC@numeric@digits\m@ne% +\advance\AMC@numeric@decd\m@ne% + \ifKV@AMCNumeric@vertical% + \hbox{% + \loop{% + \ifnum\AMC@numeric@digits=\AMC@numeric@decd\relax% + \hbox{\AMCdecimalPoint}% + \fi% + \AMC@calcdigit{\the\AMC@numeric@value}% + {\the\AMC@numeric@digits}{\AMC@numeric@x}% + \hbox{\vbox{% + \ifKV@AMCNumeric@vhead% + \vbox{\hbox{\AMCntextVHead{\the\AMC@numeric@digits}}}% + \vspace{\AMCnumeric@Vspace}% + \fi% + {\advance\AMC@numeric@digits\@ne% + \ifKV@AMCNumeric@reverse% + \AMCnumericVR{int\@Alph\AMC@numeric@digits}% + {\the\AMC@numeric@x}{\AMC@numeric@base}% + \else% + \AMCnumericV{int\@Alph\AMC@numeric@digits}% + {\the\AMC@numeric@x}{\AMC@numeric@base}% + \fi}% + }}% + }\ifnum\AMC@numeric@digits>\z@% + \hspace{\AMCnumeric@Hspace}% + \advance\AMC@numeric@digits\m@ne\repeat% + }% + \else% + \hbox{\vbox{% + \loop{% + \ifnum\AMC@numeric@digits=\AMC@numeric@decd\relax% + \hbox{\AMCdecimalPoint}% + \fi% + \AMC@calcdigit{\the\AMC@numeric@value}% + {\the\AMC@numeric@digits}{\AMC@numeric@x}% + \hbox{% + {\advance\AMC@numeric@digits\@ne% + \AMCnumericH{int\@Alph\AMC@numeric@digits}% + {\the\AMC@numeric@x}{\AMC@numeric@base}% + }}% + }\ifnum\AMC@numeric@digits>\z@% + \vspace{\AMCnumeric@Vspace}\par% + \advance\AMC@numeric@digits\m@ne\repeat% + }}% + \fi% + }% + }% + \ifAMC@ensemble\else\vspace{1.5ex}\par\fi% + \ifAMC@ensemble\ifAMCformulaire@dedans% + \AMC@amclog{AUTOQCM[FQ]^^J}% + \fi\fi% + }% +} +\newcommand\AMCnumericHide[4]{% + \setkeys{AMCNumeric}{#2}% + \AMCntextGoto% + \ifAMC@qbloc\else\vspace{1.5ex}\par\fi% +} +\def\AMCnumericChoices{\AMCformatChoices{\AMCnumericShow}{\AMCnumericHide}} +\def\AMCIntervalFormat#1#2{[#1,\,#2[} +\def\AMC@intervx#1#2{\AMC@CI@cas{\AMCIntervalFormat{#1}{#2}}} +\def\AMCIntervals#1#2#3#4{% +\FPeval\AMC@CI@a{clip(#2)}% +\let\AMC@CI@cas=\wrongchoice% +\loop% + \FPeval\AMC@CI@b{clip(AMC@CI@a + #4)}% + \FPiflt{#1}\AMC@CI@b\let\AMC@CI@cas=\correctchoice\fi% + \FPiflt{#1}\AMC@CI@a\let\AMC@CI@cas=\wrongchoice\fi% + \@expandtwoargs\AMC@intervx{\AMC@CI@a}{\AMC@CI@b}% +\FPiflt\AMC@CI@b{#3}% + \FPset\AMC@CI@a{\AMC@CI@b}% +\repeat} +\def\AMCotextGoto{} +\def\AMCotextReserved{} +\def\AMCocol@Background{lightgray} +\def\AMCocol@BoxFrameRule{white} +\def\AMCocol@FrameRule{black} +\def\AMCocol@Foreground{} +\def\AMCopen@answer{} +\def\AMCopen@question{} +\define@key{AMCOpen}{backgroundcol}{\def\AMCocol@Background{#1}} +\define@key{AMCOpen}{foregroundcol}{\def\AMCocol@Foreground{#1}} +\define@key{AMCOpen}{Treserved}{\def\AMCotextReserved{#1}} +\define@key{AMCOpen}{question}[\AMCid@name]{\def\AMCopen@question{#1}} +\define@key{AMCOpen}{answer}{\def\AMCopen@answer{#1}} +\define@key{AMCOpen}{contentcommand}[AMCopen@lines]{\def\AMCopen@contentcommand{#1}} +\newdimen\AMCopen@Hspace\AMCopen@Hspace=.5em +\define@key{AMCOpen}{hspace}{\AMCopen@Hspace=#1} +\def\AMCopen@Width{.95\linewidth} +\define@key{AMCOpen}{width}{\def\AMCopen@Width{#1}} +\newdimen\AMCopen@LineHeight\AMCopen@LineHeight=1cm +\define@key{AMCOpen}{lineheight}{\AMCopen@LineHeight=#1} +\newcount\AMCopen@Lines\AMCopen@Lines=1 +\define@key{AMCOpen}{lines}{\AMCopen@Lines=#1} +\newdimen\AMCopen@boxmargin\AMCopen@boxmargin=3pt +\define@key{AMCOpen}{boxmargin}{\AMCopen@boxmargin=#1} +\newdimen\AMCopen@boxframerule\AMCopen@boxframerule=1pt +\define@key{AMCOpen}{boxframerule}{\AMCopen@boxframerule=#1} +\define@key{AMCOpen}{boxframerulecol}{\def\AMCocol@BoxFrameRule{#1}} +\define@key{AMCOpen}{framerulecol}{\def\AMCocol@FrameRule{#1}} +\newdimen\AMCopen@framerule\AMCopen@framerule=1pt +\define@key{AMCOpen}{framerule}{\AMCopen@framerule=#1} +\define@boolkey{AMCOpen}{dots}[true]{} +\define@boolkey{AMCOpen}{scan}[true]{} +\define@boolkey{AMCOpen}{annotate}[false]{} +\define@boolkey{AMCOpen}{lineup}[false]{} +\setkeys{AMCOpen}{dots,scan,annotate,lineup,contentcommand} +\newcommand\AMCopenOpts[1]{\setkeys{AMCOpen}{#1}} +\newcommand\AMCopen@lines{% + \begin{minipage}{\AMCopen@Width}% + \loop\vspace{\AMCopen@LineHeight} + \hspace*{.5em}\ifAMC@correc\smash{\AMCopen@answer}\def\AMCopen@answer{}\fi% + \ifKV@AMCOpen@dots% + \dotfill\hspace*{.5em} + \fi + \ifnum\AMCopen@Lines>\@ne\par\advance\AMCopen@Lines\m@ne\repeat% + \end{minipage} +} +\newcommand\AMCopenShow[4]{ + \ifAMC@ensemble\def\AMCid@name{#3}\AMCid@quest=#4\fi% + \ifAMC@ensemble\ifAMCformulaire@dedans% + \AMC@amclog{AUTOQCM[Q=\the\AMCid@quest]^^J}% + \fi\fi% + {\setkeys{AMCOpen}{#1}% + \ifKV@AMCOpen@lineup% + \ifAMC@ensemble\else\par\fi% + \ifAMC@correc\smash{\AMCopen@answer}\fi\dotfill% + \else% + \hspace*{.5em}\linebreak[1]\hspace*{\fill}% + \fi% + {\AMCnoCompleteMulti% + \def\AMCbeginAnswer{}\def\AMCendAnswer{}% + \def\AMCanswer##1##2{\ifAMC@ensemble ##1\else% + \ifAMC@inside@box ##1\else{\AMCboxOutsideLetter{##1}{##2}}\fi\fi% + \hspace{\AMCopen@Hspace}}% + \fboxsep=\AMCopen@boxmargin% + \fboxrule=\AMCopen@boxframerule% + \fcolorbox{\AMCocol@BoxFrameRule}{\AMCocol@Background}{% + \ifAMC@ensemble\AMCopen@question% + \ifx\@empty\AMCopen@question\@empty\else\hspace{\AMCopen@Hspace}\fi% + \fi% + \begin{choicescustom}[o]% + \ifx\AMCocol@Foreground\@empty\@empty\else% + \def\AMC@boxcolor{\AMCocol@Foreground}% + \fi% + #2% + \ifKV@AMCOpen@scan\else\AMCdontScan\fi% + \ifKV@AMCOpen@annotate\else\AMCdontAnnotate\fi% + \end{choicescustom}% + \ifx\@empty\AMCotextReserved\@empty% + \hspace{-\AMCopen@Hspace}% + \else% + \ifx\AMCocol@Foreground\@empty\@empty% + \AMCotextReserved% + \else% + \textcolor{\AMCocol@Foreground}{\AMCotextReserved}% + \fi% + \fi% + }}% + \ifKV@AMCOpen@lineup\else% + \par\nobreak\noindent% + \hspace*{\fill}{% + \fboxrule=\AMCopen@framerule% + \fcolorbox{\AMCocol@FrameRule}{white}{% + \csname\AMCopen@contentcommand\endcsname + }}% + \vspace{7mm}\par% + \fi% + }% + \ifAMC@ensemble\ifAMCformulaire@dedans% + \AMC@amclog{AUTOQCM[FQ]^^J}% + \fi\fi% +} +\newcommand\AMCopenHide[4]{% + \AMCotextGoto% + \ifAMC@qbloc\else\vspace{1.5ex}\par\fi% +} +\def\AMCOpen{\AMCformatChoices{\AMCopenShow}{\AMCopenHide}} +\def\AMCbotextGoto{} +\def\AMCbo@help{} +\define@key{AMCBoxOnly}{help}{\def\AMCbo@help{#1}} +\define@boolkey{AMCBoxOnly}{ordered}[false]{} +\setkeys{AMCBoxOnly}{ordered} +\newcommand\AMCboOpts[1]{\setkeys{AMCBoxOnly}{#1}} +\newcommand\AMCboShow[4]{% + \ifAMC@ensemble\def\AMCid@name{#3}\AMCid@quest=#4\fi% + \ifAMC@ensemble\ifAMCformulaire@dedans% + \AMC@amclog{AUTOQCM[Q=\the\AMCid@quest]^^J}% + \fi\fi% + {\setkeys{AMCBoxOnly}{#1}% + \def\AMCbeginAnswer{}\def\AMCendAnswer{}% + \def\AMCanswer##1##2{\hspace{\AMCformHSpace} \ifAMC@ensemble ##1\else% + \ifAMC@inside@box ##1\else{\AMCboxOutsideLetter{##1}{##2}}\fi\fi% + }% + \ifAMC@ensemble\AMCbo@help\fi% + \ifKV@AMCBoxOnly@ordered% + \begin{choicescustom}[o]% + \else% + \begin{choicescustom}% + \fi% + #2 + \end{choicescustom}% + }% + \ifAMC@ensemble\ifAMCformulaire@dedans% + \AMC@amclog{AUTOQCM[FQ]^^J}% + \fi\fi% +} +\newcommand\AMCboHide[4]{ + \AMCbotextGoto% + \ifAMC@qbloc\else\vspace{1.5ex}\par\fi% +} +\def\AMCBoxOnly{\AMCformatChoices{\AMCboShow}{\AMCboHide}} +\DeclareFontShape{OT1}{cmr}{b}{n}{<35->cmr17}{} +\def\AMC@watertext{\AMC@loc@draft} +\newcommand\AMCw@termark{% + \setlength{\@tempdimb}{.5\paperwidth}% + \setlength{\@tempdimc}{-.5\paperheight}% + \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){% + \makebox(0,0){\rotatebox{45}{\AMC@LR{% + \textcolor[gray]{0.8}{ + \fontencoding{OT1}\fontfamily{cmr} + \fontseries{b}\fontshape{n} + \fontsize{90pt}{120pt} + \selectfont + \AMC@watertext}}}}}} +\newcommand\AMCw@terprint[1]{% + \setbox\@tempboxa\vbox to \z@{% + \vbox{% + \hbox to \z@{% + #1\hss}}\vss} + \dp\@tempboxa\z@ + \box\@tempboxa} +\def\AMCcercle#1#2{% + {\setlength{\unitlength}{1mm}% + \begin{picture}(#1,#1)(-#2,-#2)\thinlines\circle*{#1}\end{picture}}} +\def\m@rqueCalage{\AMCcercle{3.6}{1.8}} +\def\m@rque#1{\AMC@tracebox{1}{#1}{\m@rqueCalage}} +\def\he@dtaille#1{\vbox to 1cm{#1}} +\def\he@dbas#1{\he@dtaille{\vspace*{\fill}#1}} +\def\he@dhaut#1{\he@dtaille{#1\vspace*{\fill}}} +\def\AMC@intituleHead{\AMC@loc@corrected} +\def\AMC@note{} +\def\AMCsetFoot#1{\def\AMC@note{#1}} +\newcommand\AMCStudentNumber{\the\AMC@etud} +\newcommand\AMCIDBoxesA{\AMCbin@begin{1}\AMC@binaryBoxes[\AMC@NCBetud]{\the\AMCid@etud}} +\newcommand\AMCIDBoxesB{\AMCbin@begin{2}\AMC@binaryBoxes[\AMC@NCBpage]{\thepage}} +\newcommand\AMCIDBoxesC{\AMCbin@begin{3}\AMC@binaryBoxes[\AMC@NCBcheck]{\the\AMCid@check}} +\newcommand\AMCIDBoxesABC{% + \hbox{\vbox{\noindent\AMCIDBoxesA\\ + \noindent\AMCIDBoxesB\AMCIDBoxesC}}% +} +\AtBeginPage{\ifAMC@pagelayout\global\advance\AMCid@check\m@ne% + \ifnum\AMCid@check<1\global\AMCid@check=\AMCid@checkmax\fi% + \AMC@pagepos% + \ifAMC@watermark\ifAMC@correchead\else\AMCw@terprint{\AMCw@termark}% + \fi\fi\fi} +\fancypagestyle{AMCpageHeadOnly}{% + \fancyhf{}\fancyhead[C]{\textsc{\AMC@intituleHead}}% + \renewcommand{\headrulewidth}{0pt}% + \renewcommand{\footrulewidth}{0pt}% +} +\fancypagestyle{AMCpageFull}{% + \fancyhf{}% + \fancyhead[L]{\AMC@LR{\he@dbas{\leavevmode\m@rque{positionHG}}}}% + \fancyhead[R]{\AMC@LR{\he@dbas{\leavevmode\m@rque{positionHD}}}}% + \fancyfoot[L]{\AMC@LR{\leavevmode\m@rque{positionBG}}}% + \fancyfoot[R]{\AMC@LR{\leavevmode\m@rque{positionBD}}}% + \fancyhead[C]{\AMC@LR{\he@dhaut{% + \begin{minipage}[b]{\AMC@CBtaille}\AMCboxColor{black}% + \ifAMCids@top\vbox to \AMCids@height{\texttt{+\the\AMCid@etud/\thepage/\the\AMCid@check+}}\fi% + \AMCIDBoxesABC + \end{minipage}% + \ifAMCids@side\hbox to \AMCids@width{\hspace*{\fill}% + \texttt{+\the\AMCid@etud/\thepage/\the\AMCid@check+}}\fi% + }}}% + \fancyhfoffset[EOLR]{5mm}% + \fancyfoot[C]{\AMC@note}% + \renewcommand{\headrulewidth}{0pt}% + \renewcommand{\footrulewidth}{0pt}% +} +\newcommand\AMCsubjectPageTag{% + \fbox{\texttt{\the\AMCid@etud:\thepage}}% +} +\fancypagestyle{AMCpageNoMarks}{% + \fancyhf{}% + \fancyhead[R]{\AMCsubjectPageTag}% + \fancyfoot[C]{\AMC@note}% + \renewcommand{\headrulewidth}{0pt}% + \renewcommand{\footrulewidth}{0pt}% +} +\fancypagestyle{AMCpageEmpty}{% + \fancyhf{}% + \renewcommand{\headrulewidth}{0pt}% + \renewcommand{\footrulewidth}{0pt}% +} +\AtBeginDocument{% + \ifAMC@pagelayout% + \ifAMC@correchead + \pagestyle{AMCpageHeadOnly} + \else + \pagestyle{AMCpageFull} + \fi + \fi +} +\newcommand{\onecopy}[2]{% + \ifx\AMCNombreCopies\undefined\AMCnum@copies=#1% + \else\AMCnum@copies=\AMCNombreCopies\fi% + \AMC@amclog{AUTOQCM[TOTAL=\the\AMCnum@copies]^^J}% + \AMCid@etud=\AMCid@etudstart% + \ifnum\AMCid@etud=0\AMCid@etud=\AMC@premierecopie\fi% + \AMCid@etudfin=\AMCnum@copies% + \advance\AMCid@etudfin\AMCid@etud\relax% + \ifAMC@correchead\AMCid@etudfin=\AMC@premierecopie\fi + \loop{% + \AMC@zoneformulairefalse\setcounter{page}{1}\setcounter{section}{0}% + \ifAMC@ensemble\ifAMC@automarks\pagestyle{AMCpageNoMarks}\fi\fi% + \AMCnumero{1}% + \ifAMC@calibration\AMC@amclog{AUTOQCM[ETU=\the\AMCid@etud]^^J}\fi% + #2\clearpage}\advance\AMCid@etud\@ne\ifnum\AMCid@etud<\AMCid@etudfin\repeat% + \global\AMCid@etudstart=\AMCid@etud% +} +\def\AMCcleardoublepage{\ifodd\thepage\clearpage% + \ifAMC@automarks\pagestyle{AMCpageEmpty}\fi% + ~\fi\clearpage} +\newcommand{\AMCaddpagesto}[1]{% + \@whilenum\thepage<#1\do{% + \clearpage~% + \ifnum\thepage<#1% + \ifAMC@automarks\pagestyle{AMCpageEmpty}\fi% + \fi% + }% +} +\def\exemplairepair{\ifodd\AMCid@etud} +\newcommand\AMCstudentlabel[1]{\the\AMCid@etud-#1} +\def\AMClabel#1{\expandafter\label{\AMCstudentlabel{#1}}} +\def\AMCref#1{\expandafter\ref{\AMCstudentlabel{#1}}} +\def\AMCpageref#1{\expandafter\pageref{\AMCstudentlabel{#1}}} +\newcommand{\AMCqlabel}[1]{% + \AMClabel{#1}% +} +\newcommand{\AMCassociation}[1]{% + \ifAMC@calibration\protected@write\AMC@XYFILE{}{% + \string\association{\the\AMCid@etud}{#1}% + }\fi% +} +\def\AMC@lang@code{} +\DeclareOptionX{noshuffle}{\AMC@ordretrue} +\DeclareOptionX{noshufflegroups}{\AMC@shuffleGfalse} +\DeclareOptionX{fullgroups}{\AMC@fullGroupstrue} +\DeclareOptionX{answers}{\AMC@correcheadtrue\AMC@correctrue} +\DeclareOptionX{indivanswers}{\AMC@correctrue} +\DeclareOptionX{box}{\AMC@qbloctrue} +\DeclareOptionX{asbox}{\AMC@asqbloctrue} +\DeclareOptionX{separateanswersheet}{\AMC@ensembletrue} +\DeclareOptionX{digits}{\AMC@inside@digittrue} +\DeclareOptionX{ordre}{\AMC@ordretrue} +\DeclareOptionX{correc}{\AMC@correcheadtrue\AMC@correctrue} +\DeclareOptionX{modele}{\AMC@correcheadtrue\AMC@correcfalse\AMC@ordretrue} +\DeclareOptionX{correcindiv}{\AMC@correctrue} +\DeclareOptionX{init}{\AMC@SR@time} +\DeclareOptionX{bloc}{\AMC@qbloctrue} +\DeclareOptionX{completemulti}{\AMCcomplete@multitrue} +\DeclareOptionX{insidebox}{\AMC@inside@boxtrue} +\DeclareOptionX{ensemble}{\AMC@ensembletrue} +\DeclareOptionX{chiffres}{\AMC@inside@digittrue} +\DeclareOptionX{outsidebox}{\AMC@outside@boxtrue} +\DeclareOptionX{calibration}{\AMC@calibrationtrue} +\DeclareOptionX{nowatermark}{\AMC@watermarkfalse} +\newcommand\AMC@catalogMode{% + \AMC@watermarkfalse\AMC@correcheadtrue% + \AMC@correctrue\AMC@ordretrue\AMC@shuffleGfalse% + \AMC@fullGroupstrue% + \def\AMC@intituleHead{\AMC@loc@catalog}\AMC@affichekeystrue} +\DeclareOptionX{catalog}{\AMC@catalogMode} +\DeclareOptionX{francais}{\def\AMC@lang@code{FR}\AMC@loc@FR} +\DeclareOptionX{lang}{\def\AMC@lang@code{#1}\csname AMC@loc@#1\endcsname} +\DeclareOptionX{versionA}{% + \def\AMCid@checkmax{31}\def\AMC@NCBetud{9}\def\AMC@NCBpage{4}% + \def\AMC@NCBcheck{5}\setlength{\AMC@CBtaille}{4cm}% + \def\AMC@premierecopie{100}} +\DeclareOptionX{plain}{\AMC@plaintrue} +\DeclareOptionX{nopage}{\AMC@pagelayoutfalse} +\DeclareOptionX{postcorrect}{\AMC@postcorrecttrue} +\DeclareOptionX{automarks}{\AMC@automarkstrue} +\newif\ifAMCneeds@storebox\AMCneeds@storeboxfalse +\DeclareOptionX{storebox}{\AMCneeds@storeboxtrue} +\ProcessOptionsX + +\ifAMCneeds@storebox + \RequirePackage{storebox}\AtBeginDocument{{}}% +\fi +\AtBeginDocument{ + \ifAMCneeds@storebox + \let\AMC@new@savebox=\newstorebox% + \let\AMC@save@box=\storebox% + \let\AMC@use@box=\usestorebox% + \fi + \AMC@new@savebox{\AMC@ovalbox@R} + \AMC@new@savebox{\AMC@ovalbox@RF} + \AMC@new@savebox{\AMC@ovalbox@} + \AMC@new@savebox{\AMC@ovalbox@F} +} +\def\AMC@error@explain{\PackageError{automultiplechoice}{ + Command \protect\explain\space can only be used inside\MessageBreak question like environments}{Something's gone wrong.\MessageBreak \space \space Try typing \space \space to proceed, ignoring \protect\explain. +}} +\ifAMC@plain +\else + \IfFileExists{environ.sty}{\RequirePackage{environ}}{} + \ifx\eTeXversion\@undefined + \else + \RequirePackage{etex} + \fi +\fi +\@ifpackageloaded{environ}{% + \ifx\NewEnviron\undefined\PackageWarning{automultiplechoice}% + {Package environ loaded but too old version: + environnement examcopy/copieexamen will NOT be defined.}% + \else\NewEnviron{examcopy}[1][5]{\onecopy{#1}{\BODY}}\fi}% +{\PackageWarning{automultiplechoice}% + {Package environ not loaded: environnement + examcopy/copieexamen will NOT be defined.}} +\ifx\SujetExterne\undefined\else +\message{***SUJET***^^J} +\AMC@calibrationtrue\AMC@correcfalse\AMC@correcheadfalse\AMC@watermarkfalse +\fi +\ifx\ScoringExterne\undefined\else +\message{***SCORING***^^J} +\AMC@calibrationtrue\AMC@correcfalse\AMC@correcheadfalse\AMC@watermarkfalse\AMC@invisibletrue +\fi +\ifx\CorrigeExterne\undefined\else +\message{***CORRIGE***^^J} +\AMC@calibrationfalse\AMC@correcheadtrue\AMC@correctrue\AMC@watermarkfalse +\fi +\ifx\CorrigeIndivExterne\undefined\else +\message{***CORRIGE***^^J} +\AMC@calibrationfalse\AMC@correcheadfalse\AMC@correctrue\AMC@watermarkfalse +\fi +\ifx\CatalogExterne\undefined\else +\message{***CATALOG***^^J} +\AMC@catalogMode +\fi +\ifx\NoWatermarkExterne\undefined\else +\AMC@watermarkfalse +\fi +\@ifpackageloaded{geometry}{}{\usepackage{geometry}} +\ifAMC@pagelayout + \ifAMC@correchead + \geometry{hmargin=3cm,vmargin={1cm,1cm},includeheadfoot,headheight=1cm,footskip=1cm} + \else + \geometry{hmargin=3cm,headheight=2cm,headsep=.3cm,footskip=1cm,top=3.5cm,bottom=2.5cm} + \fi + \ifAMC@watermark + \ifAMC@correchead\else + \def\AMC@note{\begin{minipage}{0.65\linewidth} + \AMC@LR{\textcolor{blue}{\AMC@loc@message}} + \end{minipage} + } + \fi + \fi +\fi +\AMCid@check=\AMCid@checkmax\advance\AMCid@check\@ne +\ifAMC@ensemble\AMC@amclog{AUTOQCM[VAR:ensemble=1]^^J}\fi +\ifAMC@inside@box\AMC@amclog{AUTOQCM[VAR:insidebox=1]^^J}\fi +\ifAMC@outside@box\AMC@amclog{AUTOQCM[VAR:outsidebox=1]^^J}\fi +\ifAMC@postcorrect\AMC@amclog{AUTOQCM[VAR:postcorrect=1]^^J}\fi +\ifAMC@calibration +\newwrite\AMC@XYFILE% +\immediate\openout\AMC@XYFILE\jobname.xy% +\immediate\write\AMC@XYFILE{\string\version{\AMC@VERSION}} +\immediate\write\AMC@XYFILE{\string\with{codedigit=squarebrackets}} +\immediate\write\AMC@XYFILE{\string\with{version=\AMC@VERSION}} +\immediate\write\AMC@XYFILE{\string\with{ensemble=\ifAMC@ensemble yes\else no\fi}} +\immediate\write\AMC@XYFILE{\string\with{insidebox=\ifAMC@inside@box yes\else no\fi}} +\immediate\write\AMC@XYFILE{\string\with{ousidebox=\ifAMC@outside@box yes\else no\fi}} +\immediate\write\AMC@XYFILE{\string\with{postcorrect=\ifAMC@postcorrect yes\else no\fi}} +\immediate\write\AMC@XYFILE{\string\with{lang=\AMC@lang@code}} +\fi +\let\reponses=\choices\let\endreponses=\endchoices +\let\reponseshoriz=\choiceshoriz\let\endreponseshoriz=\endchoiceshoriz +\let\reponsesperso=\choicescustom\let\endreponsesperso=\endchoicescustom +\let\bonne=\correctchoice +\let\mauvaise=\wrongchoice +\let\bareme=\scoring +\let\baremeDefautM=\scoringDefaultM +\let\baremeDefautS=\scoringDefaultS +\def\exemplaire{\AMC@loc@FR\onecopy} +\@ifpackageloaded{environ}{% + \let\copieexamen=\examcopy\let\endcopieexamen=\endexamcopy}{} +\let\melangegroupe=\shufflegroup +\let\restituegroupe=\insertgroup +\let\alafin=\lastchoices +\let\formulaire=\AMCform +\let\AMCdebutFormulaire=\AMCformBegin +\let\champnom=\namefield +\let\choixIntervalles=\AMCIntervals +\endinput +%% +%% End of file `automultiplechoice.sty'. diff --git a/amc-templates/amc_template_kprime_shs/exam-info.tex b/amc-templates/amc_template_kprime_shs/exam-info.tex new file mode 100644 index 0000000..41d315e --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/exam-info.tex @@ -0,0 +1,7 @@ +\newcommand{\prof}{Prof. M. Bochud} +\newcommand{\totalPages}{8} +\newcommand{\StudentsPath}{./students.csv} +\newcommand{\Time}{Durée - 120 minutes} +\newcommand{\ExamDate}{25 août 2020} +\newcommand{\ExamName}{Santé, population et société HUM-257} +\newcommand{\ExamLanguage}{fr} diff --git a/amc-templates/amc_template_kprime_shs/exam.tex b/amc-templates/amc_template_kprime_shs/exam.tex new file mode 100644 index 0000000..d8529f7 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/exam.tex @@ -0,0 +1,77 @@ +\documentclass[a4paper]{article} + +\usepackage[utf8]{inputenc} %Unicode +\usepackage[T1]{fontenc} +\usepackage{xcolor} +\usepackage{fix-cm} +\usepackage[lang=FR,bloc]{automultiplechoice} + +% Color used for signature box +\definecolor{light-Gray}{gray}{0.95} + +\input{./packages.tex} +% \input{./commands.tex} +\input{./style_extra.tex} + +%%% increase the space between header and bottom for AMC control dots +\renewcommand{\baselinestretch}{1.10}% ESPACEMENT VERTICAL +\geometry{includeheadfoot,hmargin=2.25cm,headheight=2cm,headsep=0.2cm} +\geometry{footskip=.8cm,top=.5cm,bottom=1.1cm,paper=a4paper} + +\newcommand{\TRUE}{ + \bareme{b=1/4,m=0} + \begin{choiceshoriz}[o] + \bonne{VRAI} + \mauvaise{FAUX} + \end{choiceshoriz} +\medskip +} + +\newcommand{\FALSE}{ + \bareme{b=1/4,m=0} + \begin{choiceshoriz}[o] + \mauvaise{VRAI} + \bonne{FAUX} + \end{choiceshoriz} +\medskip +} + +%%% Randomseed +\input{./random-seed.tex} + + +%%% Exam info +\input{./exam-info.tex} + +\begin{document} + +%%% Import sections +\input{./section_1.tex} +\input{./section_2.tex} +\input{./sub_section_2.tex} + +\def\multiSymbole{} +\makeatletter +\def\AMCforcecorrect{\AMC@correctrue} +\makeatother +\AMCforcecorrect + +\newcommand{\sujet}{ + \onecopy{1}{ + % \setcounter{equation}{0} + \input{./first_page.tex} + \input{./header_1.tex} + \restituegroupe{section1} + \input{./header_2.tex} + \restituegroupe{section2} + + % Make sure that all the exams have the same number of pages (otherwise Repro will not be able to print!) + \loop \ifnum \thepage < \totalPages \clearpage ~ \repeat + + \AMCassociation{\ID} + } +} + +\csvreader[head to column names]{./students.csv}{}{\sujet} + +\end{document} diff --git a/amc-templates/amc_template_kprime_shs/first_page.tex b/amc-templates/amc_template_kprime_shs/first_page.tex new file mode 100644 index 0000000..b63ef56 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/first_page.tex @@ -0,0 +1,92 @@ +% First page - FRENCH + +\noindent +\begin{minipage}[b]{260pt} + \includegraphics[scale=0.6]{epfl-logo.pdf} \\ + \medskip + + + \bf \prof \\ + \bf \ExamName~-~\SECTION \\ + \bf \ExamDate \\ + \bf \Time +\end{minipage} +\begin{minipage}[b]{180pt} + \begin{flushright} + \fontsize{100}{120}{\selectfont{\ID{}}} \\ + ~\ \ + \end{flushright} +\end{minipage} +\vspace{1cm} + +\noindent +\begin{minipage}[c]{\textwidth} + \begin{center} + \fontsize{40}{48}{\selectfont{\NAME{}}} + \end{center} +\end{minipage} +\vspace{1cm} + +\noindent +\namefield{SCIPER\,: {\Large \bf \SCIPER{} }} %SIGNATURE \hfill Signature\,:~\textcolor{light-Gray}{\rule{5cm}{1.5cm}} +\vspace{1cm} + +\noindent +\textbf{Attendez le d\'ebut de l'\'epreuve avant de tourner la page.} +\textbf{Ce document est imprim\'e recto-verso, il contient \totalPages\ pages, les derni\`eres pouvant \^etre vides.} +\textbf{Ne~pas d\'egrafer.} + +\medskip +\vfill + +\noindent + +\begin{center} + \fbox{ + \parbox{160mm}{\centering + \mbox{} + \vspace{2mm} + \begin{itemize} + \setlength\itemsep{-1mm} + \item Posez votre carte d'\'etudiant sur la table. + \item Mat\'eriel autoris\'e : supports de cours papier (cela peut \^etre une impression des pr\'esentations des intervenants, vos notes personnelles, etc.) + \item \textbf{Attention :} pas de natel, ni tablette, ni PC - Tout contact avec l'ext\'erieur est interdit (pas d'acc\`es internet) - Une arriv\'ee tardive sup\'erieure à 15 minutes entra\^ine l'annulation de l'examen. + % \item Pour les questions \textbf{de type A}, on comptera\,: + \item Pour les questions \textbf{de type A}, on comptera : + \vspace{-3mm} + \begin{itemize} + \setlength\itemsep{-1mm} + \item [$+1$] point si la r\'eponse est correcte, + % \item [$0$] point si la r\'eponse est incorrecte, si la question n'est pas r\'epondue ou s'il y a plusieures r\'eponses inscrites. + \item [$0$] point si la r\'eponse est incorrecte, s'il y a plusieurs r\'eponses inscrites ou si la question n'est pas r\'epondue. + \end{itemize} + \vspace{-1.5mm} + \item Pour les questions \textbf{de type K'}, on comptera\,: + \vspace{-3mm} + \begin{itemize} + \setlength\itemsep{-1mm} + \item [$+1/4$] point si la r\'eponse est correcte, + \item [$0$] point si la r\'eponse est incorrecte, s'il y a plusieurs r\'eponses inscrites ou si la question n'est pas r\'epondue. + % si la question n'est pas r\'epondue ou s'il y a plusieures r\'eponses inscrites. + \end{itemize} + \vspace{-1.5mm} + \item Utilisez un \textbf{stylo} \`a encre \textbf{noire ou bleu fonc\'e} et effacez proprement avec du \textbf{correcteur blanc} si n\'ecessaire. + \item Si une question est erronée, l'enseignant se réserve le droit de l'annuler. + \end{itemize} + \vspace{-1mm} + \mbox{} + } + } + +\end{center} +\vfill +\noindent +\begin{center} +\includegraphics[scale=0.19]{good_bad_square} +\end{center} + + + + + +%% End of first page diff --git a/amc-templates/amc_template_kprime_shs/header_1.tex b/amc-templates/amc_template_kprime_shs/header_1.tex new file mode 100644 index 0000000..bb7fb73 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/header_1.tex @@ -0,0 +1,11 @@ + +\newpage + +\subsection*{Premi\`ere partie, questions de type A} + +\noindent +Pour chaque question, marquer la case correspondante \`a la r\'eponse correcte sans faire de ratures. Il n'y a qu'\textbf{une seule} r\'{e}ponse correcte par question. +\bigskip + + +%% Leave at least 2 empty lines after the \bigskip diff --git a/amc-templates/amc_template_kprime_shs/header_2.tex b/amc-templates/amc_template_kprime_shs/header_2.tex new file mode 100644 index 0000000..89c3319 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/header_2.tex @@ -0,0 +1,11 @@ + +\newpage + +\subsection*{Deuxi\`eme partie, questions de type K'} + +\noindent +Pour chaque question, marquer (sans faire de ratures) la case VRAI si l'affirmation est \textbf{toujours vraie} ou la case FAUX si elle \textbf{n'est pas toujours vraie} (c'est-\`a-dire, si elle est parfois fausse). +\bigskip + + +%% Leave at least 2 empty lines after the \bigskip \ No newline at end of file diff --git a/amc-templates/amc_template_kprime_shs/media/good_bad_square.png b/amc-templates/amc_template_kprime_shs/media/good_bad_square.png new file mode 100644 index 0000000..67d7c75 Binary files /dev/null and b/amc-templates/amc_template_kprime_shs/media/good_bad_square.png differ diff --git a/amc-templates/amc_template_kprime_shs/packages.tex b/amc-templates/amc_template_kprime_shs/packages.tex new file mode 100644 index 0000000..3fe3e0a --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/packages.tex @@ -0,0 +1,24 @@ +%% CSV file access +\usepackage{csvsimple} + +%% Multicolumn formatting +\usepackage{multicol} + +%% Math packages +\usepackage{graphicx} +\usepackage{amsmath} +\usepackage{mathrsfs} +\usepackage{euscript} +\usepackage{epsfig} +\usepackage{ifthen} +\usepackage{amsfonts} +\usepackage{amssymb} + +%% Graphics +\usepackage{graphicx} +\graphicspath{ {media/} } + +%% Drawing +\usepackage{tikz} + +%% Place your additional packages below diff --git a/amc-templates/amc_template_kprime_shs/random-seed.tex b/amc-templates/amc_template_kprime_shs/random-seed.tex new file mode 100644 index 0000000..fb5b35b --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/random-seed.tex @@ -0,0 +1 @@ +\AMCrandomseed{11051975} \ No newline at end of file diff --git a/amc-templates/amc_template_kprime_shs/section_1.tex b/amc-templates/amc_template_kprime_shs/section_1.tex new file mode 100644 index 0000000..02e7270 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/section_1.tex @@ -0,0 +1,47 @@ +%% seciton 1 - MCQ +% \element{section1}{ +% \input{./questions/fr/mc01.tex} +% } +% \element{section1}{ +% \input{./questions/fr/mc02.tex} +% } + +%%% ----------- question QCM 1 +\element{section1}{ + \begin{question}{SCQ-01} + Enoncé de la question 1 + \begin{reponses} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \bonne{la bonne réponse à la question} + \end{reponses} + \end{question} +} +%%% ----------- question QCM 2 +\element{section1}{ + \begin{question}{SCQ-02} + Enoncé de la question 2 + \begin{reponses} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \bonne{la bonne réponse à la question} + \end{reponses} + \end{question} +} +%%% ----------- question QCM 3 +\element{section1}{ + \begin{question}{SCQ-03} + Enoncé de la question 3 + \begin{reponses} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \mauvaise{choix de réponse} + \bonne{la bonne réponse à la question} + \end{reponses} + \end{question} +} diff --git a/amc-templates/amc_template_kprime_shs/section_2.tex b/amc-templates/amc_template_kprime_shs/section_2.tex new file mode 100644 index 0000000..f1748c4 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/section_2.tex @@ -0,0 +1,81 @@ +%%% SECTION 2 K-PRIME %%% + + +\element{section2}{ +\noindent +\vspace{-1mm} +\begin{minipage}{\textwidth} +\addtocounter{AMCquestionaff}{1} +\textbf{Question~\theAMCquestionaff :} +Enoncé de la question Kprime 1 (Vrai-Faux) \\ + \\ +\bigskip + + +\melangegroupe{kp1} +\restituegroupe{kp1} +\end{minipage}} + + +\element{section2}{ +\noindent +\vspace{-1mm} +\begin{minipage}{\textwidth} +\addtocounter{AMCquestionaff}{1} +\textbf{Question~\theAMCquestionaff :} +Enoncé de la question Kprime 2 (Vrai-Faux) \\ + \\ +\bigskip + + +\melangegroupe{kp2} +\restituegroupe{kp2} +\end{minipage}} + + +\element{section2}{ +\noindent +\vspace{-1mm} +\begin{minipage}{\textwidth} +\addtocounter{AMCquestionaff}{1} +\textbf{Question~\theAMCquestionaff :} +Enoncé de la question Kprime 3 (Vrai-Faux) \\ + \\ +\bigskip + + +\melangegroupe{kp3} +\restituegroupe{kp3} +\end{minipage}} + + +\element{section2}{ +\noindent +\vspace{-1mm} +\begin{minipage}{\textwidth} +\addtocounter{AMCquestionaff}{1} +\textbf{Question~\theAMCquestionaff :} +Enoncé de la question Kprime 4 (Vrai-Faux) \\ + \\ +\bigskip + + +\melangegroupe{kp4} +\restituegroupe{kp4} +\end{minipage}} + + +\element{section2}{ +\noindent +\vspace{-1mm} +\begin{minipage}{\textwidth} +\addtocounter{AMCquestionaff}{1} +\textbf{Question~\theAMCquestionaff :} +Enoncé de la question Kprime 5 (Vrai-Faux) \\ + \\ +\bigskip + + +\melangegroupe{kp5} +\restituegroupe{kp5} +\end{minipage}} diff --git a/amc-templates/amc_template_kprime_shs/students.csv b/amc-templates/amc_template_kprime_shs/students.csv new file mode 100644 index 0000000..4adffe7 --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/students.csv @@ -0,0 +1,4 @@ +ID,SCIPER,NAME,SECTION,EMAIL,STATUS +1,999000,Student 1,MA,student1@epfl.ch,OK +2,999001,Student 2,MT,student2@epfl.ch,OK +3,999002,Student 3,SV,student3@epfl.ch,OK diff --git a/amc-templates/amc_template_kprime_shs/style_extra.tex b/amc-templates/amc_template_kprime_shs/style_extra.tex new file mode 100755 index 0000000..ef7fc8d --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/style_extra.tex @@ -0,0 +1,2343 @@ +% New style_extra version with OpenBox, Opengrid, full correctors boxes +% Points 1 to 36, halfpoint 0,5 to 16 and 20, quarterpoint 0,25 to 4, Simone groupe points + +%************************************************************** +%%Package for tabular in openquestion +\usepackage{array} + +%% Default values for open questions: +\AMCopenOpts{lines=10,lineheight=2ex,framerulecol=black,dots=false} + +\newcommand{\letter}{A} + +\makeatletter +\renewcommand{\theenumi}{\alph{enumi}} +\renewcommand{\labelenumi}{(\theenumi)} +\makeatother + +%************************************************************** +%% OpenBox commands ============================ +\newcommand{\OpenBox}[1]{ +\noindent + \fbox{ + \centering + \begin{minipage}{.97\textwidth} +~ + \vspace{#1} +~ + \end{minipage} + } +} + +\newcommand{\FullPageOpenBox}{ + \clearpage + \OpenBox{24.5cm} +} + +\newcommand{\FullPageOpenBoxForever}{ + \loop \ifnum \thepage < \totalPages \FullPageOpenBox \repeat +} + +%% OpenGrid commands ============================ +\newcommand{\OpenGrid}[1]{ +\noindent +\begin{tikzpicture} +\draw[step=.5cm,lightgray] +(0cm,0cm) grid (16.5cm,#1); +\end{tikzpicture} +} + +\newcommand{\FullPageOpenGrid}{ + \clearpage + \OpenGrid{24.5cm} +} + +\newcommand{\FullPageOpenGridForever}{ + \loop \ifnum \thepage < \totalPages \FullPageOpenGrid \repeat +} + +%% Extra sheets message +\newcommand{\ExtraSheet}{\mbox{}\hfil\smash{\fbox{\scriptsize\quad Si vous avez besoin de place suppl\'ementaire, demandez une feuille quadrill\'ee \`a un des surveillants\quad}}}% + +%************************************************************** + +% correctors boxes by points =================================== +\newcommand{\correctorChoicesOne}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\correctchoice[Y]{\tiny{1}\qquad}\scoring{1}} +\newcommand{\correctorOne}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=1} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesOne}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTwo}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\wrongchoice[Y]{\tiny{1}}\scoring{1} +\correctchoice[X]{\tiny{2}\qquad}\scoring{2}} +\newcommand{\correctorTwo}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=2} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTwo}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesThree}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\wrongchoice[Y]{\tiny{1}}\scoring{1} +\wrongchoice[X]{\tiny{2}}\scoring{2} +\correctchoice[W]{\tiny{3}\qquad}\scoring{3}} +\newcommand{\correctorThree}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=3} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesThree}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFour}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\wrongchoice[Y]{\tiny{1}}\scoring{1} +\wrongchoice[X]{\tiny{2}}\scoring{2} +\wrongchoice[W]{\tiny{3}}\scoring{3} +\correctchoice[V]{\tiny{4}\qquad}\scoring{4}} +\newcommand{\correctorFour}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=4} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFour}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFive}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\wrongchoice[Y]{\tiny{1}}\scoring{1} +\wrongchoice[X]{\tiny{2}}\scoring{2} +\wrongchoice[W]{\tiny{3}}\scoring{3} +\wrongchoice[V]{\tiny{4}}\scoring{4} +\correctchoice[U]{\tiny{5}\qquad}\scoring{5}} +\newcommand{\correctorFive}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=5} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFive}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSix}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\wrongchoice[Y]{\tiny{1}}\scoring{1} +\wrongchoice[X]{\tiny{2}}\scoring{2} +\wrongchoice[W]{\tiny{3}}\scoring{3} +\wrongchoice[V]{\tiny{4}}\scoring{4} +\wrongchoice[U]{\tiny{5}}\scoring{5} +\correctchoice[T]{\tiny{6}\qquad}\scoring{6}} +\newcommand{\correctorSix}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=6} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesSix}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSeven}{ +\wrongchoice[0]{\tiny{0}}\scoring{0} +\wrongchoice[Y]{\tiny{1}}\scoring{1} +\wrongchoice[X]{\tiny{2}}\scoring{2} +\wrongchoice[W]{\tiny{3}}\scoring{3} +\wrongchoice[V]{\tiny{4}}\scoring{4} +\wrongchoice[U]{\tiny{5}}\scoring{5} +\wrongchoice[T]{\tiny{6}}\scoring{6} +\correctchoice[S]{\tiny{7}\qquad}\scoring{7}} +\newcommand{\correctorSeven}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=7} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesSeven}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesEight}{ +\wrongchoice[0]{\tiny{0}}\scoring{0}\hspace{-0.5ex} +\wrongchoice[Y]{\tiny{1}}\scoring{1}\hspace{-0.5ex} +\wrongchoice[X]{\tiny{2}}\scoring{2}\hspace{-0.5ex} +\wrongchoice[W]{\tiny{3}}\scoring{3}\hspace{-0.5ex} +\wrongchoice[V]{\tiny{4}}\scoring{4}\hspace{-0.5ex} +\wrongchoice[U]{\tiny{5}}\scoring{5}\hspace{-0.5ex} +\wrongchoice[T]{\tiny{6}}\scoring{6}\hspace{-0.5ex} +\wrongchoice[S]{\tiny{7}}\scoring{7}\hspace{-0.5ex} +\correctchoice[R]{\tiny{8}\qquad}\scoring{8}} +\newcommand{\correctorEight}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=8} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesEight}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesNine}{ +\wrongchoice[0]{\tiny{0}}\scoring{0}\hspace{-0.5ex} +\wrongchoice[Y]{\tiny{1}}\scoring{1}\hspace{-0.5ex} +\wrongchoice[X]{\tiny{2}}\scoring{2}\hspace{-0.5ex} +\wrongchoice[W]{\tiny{3}}\scoring{3}\hspace{-0.5ex} +\wrongchoice[V]{\tiny{4}}\scoring{4}\hspace{-0.5ex} +\wrongchoice[U]{\tiny{5}}\scoring{5}\hspace{-0.5ex} +\wrongchoice[T]{\tiny{6}}\scoring{6}\hspace{-0.5ex} +\wrongchoice[S]{\tiny{7}}\scoring{7}\hspace{-0.5ex} +\wrongchoice[R]{\tiny{8}}\scoring{8}\hspace{-0.5ex} +\correctchoice[Q]{\tiny{9}\qquad}\scoring{9}} +\newcommand{\correctorNine}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=9} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesNine}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTen}{ +\wrongchoice[0]{\tiny{0}}\scoring{0}\hspace{-0.5ex} +\wrongchoice[Y]{\tiny{1}}\scoring{1}\hspace{-0.5ex} +\wrongchoice[X]{\tiny{2}}\scoring{2}\hspace{-0.5ex} +\wrongchoice[W]{\tiny{3}}\scoring{3}\hspace{-0.5ex} +\wrongchoice[V]{\tiny{4}}\scoring{4}\hspace{-0.5ex} +\wrongchoice[U]{\tiny{5}}\scoring{5}\hspace{-0.5ex} +\wrongchoice[T]{\tiny{6}}\scoring{6}\hspace{-0.5ex} +\wrongchoice[S]{\tiny{7}}\scoring{7}\hspace{-0.5ex} +\wrongchoice[R]{\tiny{8}}\scoring{8}\hspace{-0.5ex} +\wrongchoice[Q]{\tiny{9}}\scoring{9}\hspace{-0.5ex} +\correctchoice[P]{\tiny{10}\qquad}\scoring{10}} +\newcommand{\correctorTen}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=10} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTen}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesEleven}{ +\wrongchoice[0]{\tiny{0}}\scoring{0}\hspace{-0.5ex} +\wrongchoice[Y]{\tiny{1}}\scoring{1}\hspace{-0.5ex} +\wrongchoice[X]{\tiny{2}}\scoring{2}\hspace{-0.5ex} +\wrongchoice[W]{\tiny{3}}\scoring{3}\hspace{-0.5ex} +\wrongchoice[V]{\tiny{4}}\scoring{4}\hspace{-0.5ex} +\wrongchoice[U]{\tiny{5}}\scoring{5}\hspace{-0.5ex} +\wrongchoice[T]{\tiny{6}}\scoring{6}\hspace{-0.5ex} +\wrongchoice[S]{\tiny{7}}\scoring{7}\hspace{-0.5ex} +\wrongchoice[R]{\tiny{8}}\scoring{8}\hspace{-0.5ex} +\wrongchoice[Q]{\tiny{9}}\scoring{9}\hspace{-0.5ex} +\wrongchoice[P]{\tiny{10}}\scoring{10}\hspace{-0.5ex} +\correctchoice[O]{\tiny{11}}\scoring{11}} + +\newcommand{\correctorEleven}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=11} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesEleven}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTwelve}{ +\wrongchoice[0]{\tiny{0}}\scoring{0}\hspace{-0.5ex} +\wrongchoice[Y]{\tiny{1}}\scoring{1}\hspace{-0.5ex} +\wrongchoice[X]{\tiny{2}}\scoring{2}\hspace{-0.5ex} +\wrongchoice[W]{\tiny{3}}\scoring{3}\hspace{-0.5ex} +\wrongchoice[V]{\tiny{4}}\scoring{4}\hspace{-0.5ex} +\wrongchoice[U]{\tiny{5}}\scoring{5}\hspace{-0.5ex} +\wrongchoice[T]{\tiny{6}}\scoring{6}\hspace{-0.5ex} +\wrongchoice[S]{\tiny{7}}\scoring{7}\hspace{-0.5ex} +\wrongchoice[R]{\tiny{8}}\scoring{8}\hspace{-0.5ex} +\wrongchoice[Q]{\tiny{9}}\scoring{9}\hspace{-0.5ex} +\wrongchoice[P]{\tiny{10}}\scoring{10}\hspace{-0.5ex} +\wrongchoice[O]{\tiny{11}}\scoring{11}\hspace{-0.5ex} +\correctchoice[N]{\tiny{12}\qquad}\scoring{12}} + +\newcommand{\correctorTwelve}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=12} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTwelve}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesThirteen}{ +\setlength{\tabcolsep}{0.08em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\hspace{.2cm}\begin{tabular}{lllllll} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{1}}\scoring{1} & +\wrongchoice[X]{\tiny{2}}\scoring{2} & +\wrongchoice[W]{\tiny{3}}\scoring{3} & +\wrongchoice[V]{\tiny{4}}\scoring{4} & +\wrongchoice[U]{\tiny{5}}\scoring{5} & +\wrongchoice[T]{\tiny{6}}\scoring{6} +\\ +\wrongchoice[S]{\tiny{7}}\scoring{7} & +\wrongchoice[R]{\tiny{8}}\scoring{8} & +\wrongchoice[Q]{\tiny{9}}\scoring{9} & +\wrongchoice[P]{\tiny{10}}\scoring{10} & +\wrongchoice[O]{\tiny{11}}\scoring{11} & +\wrongchoice[N]{\tiny{12}}\scoring{12} & +\correctchoice[M]{\tiny{13}}\scoring{13} +\\ +\end{tabular}}} +\newcommand{\correctorThirteen}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=13} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ +\parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirteen\makebox[0pt][c]{}} +\hspace*{5ex}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFourteen}{ +\setlength{\tabcolsep}{0.08em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\hspace{.2cm}\begin{tabular}{llllllll} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{1}}\scoring{1} & +\wrongchoice[X]{\tiny{2}}\scoring{2} & +\wrongchoice[W]{\tiny{3}}\scoring{3} & +\wrongchoice[V]{\tiny{4}}\scoring{4} & +\wrongchoice[U]{\tiny{5}}\scoring{5} & +\wrongchoice[T]{\tiny{6}}\scoring{6} & +\wrongchoice[S]{\tiny{7}}\scoring{7} +\\ +& +\wrongchoice[R]{\tiny{8}}\scoring{8} & +\wrongchoice[Q]{\tiny{9}}\scoring{9} & +\wrongchoice[P]{\tiny{10}}\scoring{10} & +\wrongchoice[O]{\tiny{11}}\scoring{11} & +\wrongchoice[N]{\tiny{12}}\scoring{12} & +\wrongchoice[M]{\tiny{13}}\scoring{13} & +\correctchoice[L]{\tiny{14}}\scoring{14} +\\ +\end{tabular}}} +\newcommand{\correctorFourteen}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=14} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ +\parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesFourteen\makebox[0pt][c]{}} +\hspace*{5ex}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFifteen}{ +\setlength{\tabcolsep}{0.08em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\hspace{.2cm}\begin{tabular}{llllllll} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{1}}\scoring{1} & +\wrongchoice[X]{\tiny{2}}\scoring{2} & +\wrongchoice[W]{\tiny{3}}\scoring{3} & +\wrongchoice[V]{\tiny{4}}\scoring{4} & +\wrongchoice[U]{\tiny{5}}\scoring{5} & +\wrongchoice[T]{\tiny{6}}\scoring{6} & +\wrongchoice[S]{\tiny{7}}\scoring{7} +\\ +\wrongchoice[R]{\tiny{8}}\scoring{8} & +\wrongchoice[Q]{\tiny{9}}\scoring{9} & +\wrongchoice[P]{\tiny{10}}\scoring{10} & +\wrongchoice[O]{\tiny{11}}\scoring{11} & +\wrongchoice[N]{\tiny{12}}\scoring{12} & +\wrongchoice[M]{\tiny{13}}\scoring{13} & +\wrongchoice[L]{\tiny{14}}\scoring{14} & +\correctchoice[K]{\tiny{15}}\scoring{15} +\\ +\end{tabular}}} +\newcommand{\correctorFifteen}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=15} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ +\parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesFifteen\makebox[0pt][c]{}} +\hspace*{5ex}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSixteen}{ +\setlength{\tabcolsep}{0.08em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\hspace{.2cm}\begin{tabular}{lllllllll} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{1}}\scoring{1} & +\wrongchoice[X]{\tiny{2}}\scoring{2} & +\wrongchoice[W]{\tiny{3}}\scoring{3} & +\wrongchoice[V]{\tiny{4}}\scoring{4} & +\wrongchoice[U]{\tiny{5}}\scoring{5} & +\wrongchoice[T]{\tiny{6}}\scoring{6} & +\wrongchoice[S]{\tiny{7}}\scoring{7} & +\wrongchoice[R]{\tiny{8}}\scoring{8} +\\ +\wrongchoice[Q]{\tiny{9}}\scoring{9} & +\wrongchoice[P]{\tiny{10}}\scoring{10} & +\wrongchoice[O]{\tiny{11}}\scoring{11} & +\wrongchoice[N]{\tiny{12}}\scoring{12} & +\wrongchoice[M]{\tiny{13}}\scoring{13} & +\wrongchoice[L]{\tiny{14}}\scoring{14} & +\wrongchoice[K]{\tiny{15}}\scoring{15} & +\correctchoice[J]{\tiny{16}}\scoring{16} +\end{tabular}}} +\newcommand{\correctorSixteen}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=16} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ +\parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesSixteen\makebox[0pt][c]{}} +\hspace*{5ex}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSeventeen}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} + \\ + \wrongchoice[P]{\tiny{10}}\scoring{10}& + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[I]{\tiny{16}}\scoring{16} & + \correctchoice[H]{\tiny{17}}\scoring{17} + \\ +\end{tabular}}} +\newcommand{\correctorSeventeen}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=17} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesSeventeen\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesEightteen}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} + \\ + \wrongchoice[P]{\tiny{10}}\scoring{10}& + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[I]{\tiny{16}}\scoring{16} & + \wrongchoice[H]{\tiny{17}}\scoring{17} & + \correctchoice[G]{\tiny{18}}\scoring{18} + \\ +\end{tabular}}} +\newcommand{\correctorEightteen}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=18} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesEightteen\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesNineteen}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} + \\ + \wrongchoice[P]{\tiny{10}}\scoring{10}& + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15}& + \wrongchoice[I]{\tiny{16}}\scoring{16} & + \wrongchoice[H]{\tiny{17}}\scoring{17} & + \wrongchoice[G]{\tiny{18}}\scoring{18} & + \correctchoice[F]{\tiny{19}}\scoring{19} + \\ +\end{tabular}}} +\newcommand{\correctorNineteen}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=19} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesNineteen\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwenty}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \correctchoice[F]{\tiny{20}}\scoring{20} + \\ +\end{tabular}}} +\newcommand{\correctorTwenty}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=20} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwenty\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentyOne}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} & + \correctchoice[F]{\tiny{21}}\scoring{21} + \\ +\end{tabular}}} +\newcommand{\correctorTwentyOne}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=21} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyOne\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + + +\newcommand{\correctorChoicesTwentyTwo}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding +\hspace{.2cm}\begin{tabular}{llllllllllll} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{1}}\scoring{1} & +\wrongchoice[X]{\tiny{2}}\scoring{2} & +\wrongchoice[W]{\tiny{3}}\scoring{3} & +\wrongchoice[V]{\tiny{4}}\scoring{4} & +\wrongchoice[U]{\tiny{5}}\scoring{5} & +\wrongchoice[T]{\tiny{6}}\scoring{6} & +\wrongchoice[S]{\tiny{7}}\scoring{7} & +\wrongchoice[R]{\tiny{8}}\scoring{8} & +\wrongchoice[Q]{\tiny{9}}\scoring{9} & +\wrongchoice[P]{\tiny{10}}\scoring{10} & +\wrongchoice[O]{\tiny{11}}\scoring{11} +\\ & +\wrongchoice[N]{\tiny{12}}\scoring{12} & +\wrongchoice[M]{\tiny{13}}\scoring{13} & +\wrongchoice[L]{\tiny{14}}\scoring{14} & +\wrongchoice[K]{\tiny{15}}\scoring{15} & +\wrongchoice[J]{\tiny{16}}\scoring{16} & +\wrongchoice[I]{\tiny{17}}\scoring{17} & +\wrongchoice[G]{\tiny{18}}\scoring{18} & +\wrongchoice[F]{\tiny{19}}\scoring{19} & +\wrongchoice[E]{\tiny{20}}\scoring{20} & +\wrongchoice[D]{\tiny{21}}\scoring{21} & +\correctchoice[C]{\tiny{22}}\scoring{22} +\\ +\end{tabular}}} +\newcommand{\correctorTwentyTwo}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=22} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyTwo\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentyThree}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} + \\ + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \correctchoice[C]{\tiny{23}}\scoring{23} + \\ +\end{tabular}}} +\newcommand{\correctorTwentyThree}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=23} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyThree\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentyFour}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} + \\ + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \correctchoice[B]{\tiny{24}}\scoring{24} + \\ +\end{tabular}}} +\newcommand{\correctorTwentyFour}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=24} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyFour\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentyFive}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} + \\ + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \correctchoice[A]{\tiny{25}}\scoring{25} + \\ +\end{tabular}}} +\newcommand{\correctorTwentyFive}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=25} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyFive\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentySix}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \correctchoice[AY]{\tiny{26}}\scoring{26} + \\ +\end{tabular}}} +\newcommand{\correctorTwentySix}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=26} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentySix\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentySeven}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AY]{\tiny{26}}\scoring{26} & + \correctchoice[AX]{\tiny{27}}\scoring{27} + \\ +\end{tabular}}} +\newcommand{\correctorTwentySeven}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=27} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentySeven\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentyEight}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AY]{\tiny{26}}\scoring{26} & + \wrongchoice[AX]{\tiny{27}}\scoring{27} & + \correctchoice[AW]{\tiny{28}}\scoring{28} + \\ +\end{tabular}}} +\newcommand{\correctorTwentyEight}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=28} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyEight\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesTwentyNine}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AY]{\tiny{26}}\scoring{26} & + \wrongchoice[AX]{\tiny{27}}\scoring{27} & + \wrongchoice[AW]{\tiny{28}}\scoring{28} & + \correctchoice[AV]{\tiny{29}}\scoring{29} + \\ +\end{tabular}}} +\newcommand{\correctorTwentyNine}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=29} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesTwentyNine\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirty}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ & + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ & + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AY]{\tiny{26}}\scoring{26} & + \wrongchoice[AX]{\tiny{27}}\scoring{27} & + \wrongchoice[AW]{\tiny{28}}\scoring{28} & + \wrongchoice[AV]{\tiny{29}}\scoring{29} & + \correctchoice[AU]{\tiny{30}}\scoring{30} + \\ +\end{tabular}}} +\newcommand{\correctorThirty}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=30} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirty\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirtyOne}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AA]{\tiny{26}}\scoring{26} & + \wrongchoice[AB]{\tiny{27}}\scoring{27} & + \wrongchoice[AC]{\tiny{28}}\scoring{28} & + \wrongchoice[AD]{\tiny{29}}\scoring{29} & + \wrongchoice[AE]{\tiny{30}}\scoring{30} + \\ + \correctchoice[AF]{\tiny{31}}\scoring{31} + +\end{tabular}}} +\newcommand{\correctorThirtyOne}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=31} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirtyOne\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirtyTwo}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AA]{\tiny{26}}\scoring{26} & + \wrongchoice[AB]{\tiny{27}}\scoring{27} & + \wrongchoice[AC]{\tiny{28}}\scoring{28} & + \wrongchoice[AD]{\tiny{29}}\scoring{29} & + \wrongchoice[AE]{\tiny{30}}\scoring{30} + \\ + \wrongchoice[AF]{\tiny{31}}\scoring{31} & + \correctchoice[AG]{\tiny{32}}\scoring{32} + +\end{tabular}}} +\newcommand{\correctorThirtyTwo}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=32} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirtyTwo\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirtyThree}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AA]{\tiny{26}}\scoring{26} & + \wrongchoice[AB]{\tiny{27}}\scoring{27} & + \wrongchoice[AC]{\tiny{28}}\scoring{28} & + \wrongchoice[AD]{\tiny{29}}\scoring{29} & + \wrongchoice[AE]{\tiny{30}}\scoring{30} + \\ + \wrongchoice[AF]{\tiny{31}}\scoring{31} & + \wrongchoice[AG]{\tiny{32}}\scoring{32} & + \correctchoice[AH]{\tiny{33}}\scoring{33} + +\end{tabular}}} +\newcommand{\correctorThirtyThree}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=33} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirtyThree\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirtyFour}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AA]{\tiny{26}}\scoring{26} & + \wrongchoice[AB]{\tiny{27}}\scoring{27} & + \wrongchoice[AC]{\tiny{28}}\scoring{28} & + \wrongchoice[AD]{\tiny{29}}\scoring{29} & + \wrongchoice[AE]{\tiny{30}}\scoring{30} + \\ + \wrongchoice[AF]{\tiny{31}}\scoring{31} & + \wrongchoice[AG]{\tiny{32}}\scoring{32} & + \wrongchoice[AH]{\tiny{33}}\scoring{33} & + \correctchoice[AI]{\tiny{34}}\scoring{34} + +\end{tabular}}} +\newcommand{\correctorThirtyFour}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=34} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirtyFour\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirtyFive}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AA]{\tiny{26}}\scoring{26} & + \wrongchoice[AB]{\tiny{27}}\scoring{27} & + \wrongchoice[AC]{\tiny{28}}\scoring{28} & + \wrongchoice[AD]{\tiny{29}}\scoring{29} & + \wrongchoice[AE]{\tiny{30}}\scoring{30} + \\ + \wrongchoice[AF]{\tiny{31}}\scoring{31} & + \wrongchoice[AG]{\tiny{32}}\scoring{32} & + \wrongchoice[AH]{\tiny{33}}\scoring{33} & + \wrongchoice[AI]{\tiny{34}}\scoring{34} & + \correctchoice[AL]{\tiny{35}}\scoring{35} + +\end{tabular}}} +\newcommand{\correctorThirtyFive}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=35} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirtyFive\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +\newcommand{\correctorChoicesThirtySix}{ + \setlength{\tabcolsep}{0.08em} % for the horizontal padding + {\renewcommand{\arraystretch}{1.2}% for the vertical padding + \hspace{.2cm}\begin{tabular}{lllllllllll} + \wrongchoice[0]{\tiny{0}}\scoring{0} & + \wrongchoice[Y]{\tiny{1}}\scoring{1} & + \wrongchoice[X]{\tiny{2}}\scoring{2} & + \wrongchoice[W]{\tiny{3}}\scoring{3} & + \wrongchoice[V]{\tiny{4}}\scoring{4} & + \wrongchoice[U]{\tiny{5}}\scoring{5} & + \wrongchoice[T]{\tiny{6}}\scoring{6} & + \wrongchoice[S]{\tiny{7}}\scoring{7} & + \wrongchoice[R]{\tiny{8}}\scoring{8} & + \wrongchoice[Q]{\tiny{9}}\scoring{9} & + \wrongchoice[P]{\tiny{10}}\scoring{10} + \\ + \wrongchoice[O]{\tiny{11}}\scoring{11} & + \wrongchoice[N]{\tiny{12}}\scoring{12} & + \wrongchoice[M]{\tiny{13}}\scoring{13} & + \wrongchoice[L]{\tiny{14}}\scoring{14} & + \wrongchoice[K]{\tiny{15}}\scoring{15} & + \wrongchoice[J]{\tiny{16}}\scoring{16} & + \wrongchoice[I]{\tiny{17}}\scoring{17} & + \wrongchoice[H]{\tiny{18}}\scoring{18} & + \wrongchoice[G]{\tiny{19}}\scoring{19} & + \wrongchoice[F]{\tiny{20}}\scoring{20} + \\ + \wrongchoice[E]{\tiny{21}}\scoring{21} & + \wrongchoice[D]{\tiny{22}}\scoring{22} & + \wrongchoice[C]{\tiny{23}}\scoring{23} & + \wrongchoice[B]{\tiny{24}}\scoring{24} & + \wrongchoice[A]{\tiny{25}}\scoring{25} & + \wrongchoice[AA]{\tiny{26}}\scoring{26} & + \wrongchoice[AB]{\tiny{27}}\scoring{27} & + \wrongchoice[AC]{\tiny{28}}\scoring{28} & + \wrongchoice[AD]{\tiny{29}}\scoring{29} & + \wrongchoice[AE]{\tiny{30}}\scoring{30} + \\ + \wrongchoice[AF]{\tiny{31}}\scoring{31} & + \wrongchoice[AG]{\tiny{32}}\scoring{32} & + \wrongchoice[AH]{\tiny{33}}\scoring{33} & + \wrongchoice[AI]{\tiny{34}}\scoring{34} & + \wrongchoice[AL]{\tiny{35}}\scoring{35} & + \correctchoice[AM]{\tiny{36}}\scoring{36} & + +\end{tabular}}} +\newcommand{\correctorThirtySix}[3][0]{% + \par + \noindent + \begin{question}{#2}\bareme{MAX=36} + #3~\\ + \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{ + \parbox{0.85\linewidth}{\linespread{1.25}\selectfont \correctorChoicesThirtySix\makebox[0pt][c]{}} + \hspace*{5ex}} + \end{question} + \vspace{-55pt}~ + \par +} + +%************************************************************** +%% correctors boxes by half points 0,5 to 16 =================================== +\newcommand{\correctorChoicesOneHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\correctchoice[X]{\tiny{1}}\scoring{1} +\\ +\end{tabular}}} +\newcommand{\correctorOneHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=1} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesOneHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTwoHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\correctchoice[V]{\tiny{2}}\scoring{2} +\\ +\end{tabular}}} +\newcommand{\correctorTwoHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=2} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTwoHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesThreeHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\correctchoice[T]{\tiny{3}}\scoring{3} +\\ +\end{tabular}}} +\newcommand{\correctorThreeHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=3} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesThreeHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFourHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\correctchoice[R]{\tiny{4}}\scoring{4} +\\ +\end{tabular}}} +\newcommand{\correctorFourHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=4} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFourHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFiveHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\correctchoice[P]{\tiny{5}}\scoring{5} +\\ +\end{tabular}}} +\newcommand{\correctorFiveHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=5} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFiveHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSixHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\correctchoice[N]{\tiny{6}}\scoring{6} +\\ +\end{tabular}}} +\newcommand{\correctorSixHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=6} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesSixHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSevenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} +\\ +& +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\correctchoice[L]{\tiny{7}}\scoring{7} +\\ +\end{tabular}}} +\newcommand{\correctorSevenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=7} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesSevenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesEightHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} +\\ +& +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\correctchoice[J]{\tiny{8}}\scoring{8} +\\ +\end{tabular}}} +\newcommand{\correctorEightHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=8} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesEightHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesNineHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} +\\ +& +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\correctchoice[H]{\tiny{9}}\scoring{9} +\\ +\end{tabular}}} +\newcommand{\correctorNineHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=9} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesNineHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} +\\ +& +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\correctchoice[F]{\tiny{10}}\scoring{10} +\\ +\end{tabular}}} +\newcommand{\correctorTenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=10} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesElevenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} +\\ + & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\correctchoice[D]{\tiny{11}}\scoring{11} +\\ +\end{tabular}}} +\newcommand{\correctorElevenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=11} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesElevenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTwelveHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} +\\ +& +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\wrongchoice[D]{\tiny{11}}\scoring{11} & +\wrongchoice[C]{\tiny{.5}}\scoring{11.5} & +\correctchoice[B]{\tiny{12}}\scoring{12} +\\ +\end{tabular}}} +\newcommand{\correctorTwelveHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=12} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTwelveHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesThirteenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} +\\ +& +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\wrongchoice[D]{\tiny{11}}\scoring{11} & +\wrongchoice[C]{\tiny{.5}}\scoring{11.5} & +\wrongchoice[B]{\tiny{12}}\scoring{12} & +\wrongchoice[A]{\tiny{.5}}\scoring{12.5} & +\correctchoice[AY]{\tiny{13}}\scoring{13} +\\ +\end{tabular}}} +\newcommand{\correctorThirteenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=13} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesThirteenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFourteenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} +\\ +& +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\wrongchoice[D]{\tiny{11}}\scoring{11} & +\wrongchoice[C]{\tiny{.5}}\scoring{11.5} & +\wrongchoice[B]{\tiny{12}}\scoring{12} & +\wrongchoice[A]{\tiny{.5}}\scoring{12.5} & +\wrongchoice[AY]{\tiny{13}}\scoring{13} & +\wrongchoice[AX]{\tiny{.5}}\scoring{13.5} & +\correctchoice[AW]{\tiny{14}}\scoring{14} +\\ +\end{tabular}}} +\newcommand{\correctorFourteenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=14} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFourteenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFifteenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} & +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} +\\ +& +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\wrongchoice[D]{\tiny{11}}\scoring{11} & +\wrongchoice[C]{\tiny{.5}}\scoring{11.5} & +\wrongchoice[B]{\tiny{12}}\scoring{12} & +\wrongchoice[A]{\tiny{.5}}\scoring{12.5} & +\wrongchoice[AY]{\tiny{13}}\scoring{13} & +\wrongchoice[AX]{\tiny{.5}}\scoring{13.5} & +\wrongchoice[AW]{\tiny{14}}\scoring{14} & +\wrongchoice[AV]{\tiny{.5}}\scoring{14.5} & +\correctchoice[AU]{\tiny{15}}\scoring{15} +\\ +\end{tabular}}} +\newcommand{\correctorFifteenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=15} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFifteenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesSixteenHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} +\\ +& +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\wrongchoice[D]{\tiny{11}}\scoring{11} & +\wrongchoice[C]{\tiny{.5}}\scoring{11.5} & +\wrongchoice[B]{\tiny{12}}\scoring{12} & +\wrongchoice[A]{\tiny{.5}}\scoring{12.5} +\\ +& +\wrongchoice[AY]{\tiny{13}}\scoring{13} & +\wrongchoice[AX]{\tiny{.5}}\scoring{13.5} & +\wrongchoice[AW]{\tiny{14}}\scoring{14} & +\wrongchoice[AV]{\tiny{.5}}\scoring{14.5} & +\wrongchoice[AU]{\tiny{15}}\scoring{15} & +\wrongchoice[AV]{\tiny{.5}}\scoring{15.5} & +\correctchoice[AU]{\tiny{16}}\scoring{16} +\\ +\end{tabular}}} +\newcommand{\correctorSixteenHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=16} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesSixteenHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +% For CMS *********** +\newcommand{\correctorChoicesTwentyHalf}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[X]{\tiny{1}}\scoring{1} & +\wrongchoice[W]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[V]{\tiny{2}}\scoring{2} & +\wrongchoice[U]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[T]{\tiny{3}}\scoring{3} & +\wrongchoice[S]{\tiny{.5}}\scoring{3.5} & +\wrongchoice[R]{\tiny{4}}\scoring{4} & +\wrongchoice[Q]{\tiny{.5}}\scoring{4.5} & +\wrongchoice[P]{\tiny{5}}\scoring{5} & +\wrongchoice[O]{\tiny{.5}}\scoring{5.5} & +\wrongchoice[N]{\tiny{6}}\scoring{6} & +\wrongchoice[M]{\tiny{.5}}\scoring{6.5} +\\ +\wrongchoice[L]{\tiny{7}}\scoring{7} & +\wrongchoice[K]{\tiny{.5}}\scoring{7.5} & +\wrongchoice[J]{\tiny{8}}\scoring{8} & +\wrongchoice[I]{\tiny{.5}}\scoring{8.5} & +\wrongchoice[H]{\tiny{9}}\scoring{9} & +\wrongchoice[G]{\tiny{.5}}\scoring{9.5} & +\wrongchoice[F]{\tiny{10}}\scoring{10} & +\wrongchoice[E]{\tiny{.5}}\scoring{10.5} & +\wrongchoice[D]{\tiny{11}}\scoring{11} & +\wrongchoice[C]{\tiny{.5}}\scoring{11.5} & +\wrongchoice[B]{\tiny{12}}\scoring{12} & +\wrongchoice[A]{\tiny{.5}}\scoring{12.5} & +\wrongchoice[AY]{\tiny{13}}\scoring{13} & +\wrongchoice[AX]{\tiny{.5}}\scoring{13.5} +\\ +& +\wrongchoice[AW]{\tiny{14}}\scoring{14} & +\wrongchoice[AV]{\tiny{.5}}\scoring{14.5} & +\wrongchoice[AU]{\tiny{15}}\scoring{15} & +\wrongchoice[AV]{\tiny{.5}}\scoring{15.5} & +\wrongchoice[AU]{\tiny{16}}\scoring{16} & +\wrongchoice[AT]{\tiny{.5}}\scoring{16.5} & +\wrongchoice[AS]{\tiny{17}}\scoring{17} & +\wrongchoice[AR]{\tiny{.5}}\scoring{17.5} & +\wrongchoice[AQ]{\tiny{18}}\scoring{18} & +\wrongchoice[AP]{\tiny{.5}}\scoring{18.5} & +\wrongchoice[AO]{\tiny{19}}\scoring{19} & +\wrongchoice[AN]{\tiny{.5}}\scoring{19.5} & +\correctchoice[AM]{\tiny{20}}\scoring{20} +\\ +\end{tabular}}} +\newcommand{\correctorTwentyHalf}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=20} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTwentyHalf}} +\end{question} +\vspace{-55pt}~ +\par +} + +%************************************************************** +%% corrector boxes by quarter points 0,25 to 4 ==================== + +\newcommand{\correctorChoicesOneQuarter}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.5}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2.3em}} +\hspace{-0.25cm}\begin{tabular}{LLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.25}}\scoring{0.25} & +\wrongchoice[X]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[W]{\tiny{.75}}\scoring{0.75} & +\correctchoice[V]{\tiny{1}}\scoring{1} +\\ +\end{tabular}}} +\newcommand{\correctorOneQuarter}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=1} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesOneQuarter}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesTwoQuarter}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.3}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2.3em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.25}}\scoring{0.25} & +\wrongchoice[X]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[W]{\tiny{.75}}\scoring{0.75} & +\wrongchoice[V]{\tiny{1}}\scoring{1} & +\wrongchoice[U]{\tiny{.25}}\scoring{1.25} & +\wrongchoice[T]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[S]{\tiny{.75}}\scoring{1.75} & +\correctchoice[[R]{\tiny{2}}\scoring{2} +\\ +\end{tabular}}} +\newcommand{\correctorTwoQuarter}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=2} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesTwoQuarter}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesThreeQuarter}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2.3em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.25}}\scoring{0.25} & +\wrongchoice[X]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[W]{\tiny{.75}}\scoring{0.75} & +\wrongchoice[V]{\tiny{1}}\scoring{1} & +\wrongchoice[U]{\tiny{.25}}\scoring{1.25} & +\wrongchoice[T]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[S]{\tiny{.75}}\scoring{1.75} & +\wrongchoice[R]{\tiny{2}}\scoring{2} & +\wrongchoice[Q]{\tiny{.25}}\scoring{2.25} & +\wrongchoice[P]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[O]{\tiny{.75}}\scoring{2.75} & +\correctchoice[N]{\tiny{3}}\scoring{3} +\\ +\end{tabular}}} +\newcommand{\correctorThreeQuarter}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=3} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesThreeQuarter}} +\end{question} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorChoicesFourQuarter}{ +\setlength{\tabcolsep}{0em} % for the horizontal padding +{\renewcommand{\arraystretch}{1.2}% for the vertical padding +\newcolumntype{L}{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{2.3em}} +\hspace{-0.25cm}\begin{tabular}{LLLLLLLLLLLLLLLLL} +\wrongchoice[0]{\tiny{0}}\scoring{0} & +\wrongchoice[Y]{\tiny{.25}}\scoring{0.25} & +\wrongchoice[X]{\tiny{.5}}\scoring{0.5} & +\wrongchoice[W]{\tiny{.75}}\scoring{0.75} & +\wrongchoice[V]{\tiny{1}}\scoring{1} & +\wrongchoice[U]{\tiny{.25}}\scoring{1.25} & +\wrongchoice[T]{\tiny{.5}}\scoring{1.5} & +\wrongchoice[S]{\tiny{.75}}\scoring{1.75} & +\wrongchoice[R]{\tiny{2}}\scoring{2} & +\wrongchoice[Q]{\tiny{.25}}\scoring{2.25} & +\wrongchoice[P]{\tiny{.5}}\scoring{2.5} & +\wrongchoice[O]{\tiny{.75}}\scoring{2.75} & +\wrongchoice[N]{\tiny{3}}\scoring{3} +\\ +& +\wrongchoice[M]{\tiny{.25}}\scoring{3.25} & +\wrongchoice[L]{\tiny{.5}}\scoring{3} & +\wrongchoice[K]{\tiny{.75}}\scoring{3.75} & +\correctchoice[J]{\tiny{4}}\scoring{4} +\\ +\end{tabular}}} +\newcommand{\correctorFourQuarter}[3][0]{% +\par +\noindent +\begin{question}{#2}\bareme{MAX=4} +#3~\\ +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}% +{\makebox[0.9\linewidth][l]{\correctorChoicesFourQuarter}} +\end{question} +\vspace{-55pt}~ +\par +} + + + +%************************************************************** +%% 5 boxes correctors (0,1/4,1/2,3/4 and 1 * openquestionmax) ==================== + +\newcommand{\openquestionmax}{1} + +\newcommand{\correctorPointsPerGroup}[1]{ +\renewcommand{\openquestionmax}{#1} +} + +\newcommand{\correctorChoices}{\correctchoice[0]{}\scoring{b=0}\correctchoice[Y]{}\scoring{b=\openquestionmax/4}\correctchoice[X]{}\scoring{b=\openquestionmax/2}\correctchoice[W]{}\scoring{b=\openquestionmax*3/4}\correctchoice[V]{\qquad}\scoring{b=\openquestionmax}} + + +\newcommand{\correctorOneFive}[3][0]{ +\par +\noindent +\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\makebox[338pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\makebox[325pt][c]{}} +\end{questionmultx} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorTwoFive}[3][0]{ +\par +\noindent\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*2} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\correctorChoices\makebox[249pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\correctorChoices\makebox[218pt][c]{}} + +\end{questionmultx} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorThreeFive}[3][0]{ +\par +\noindent +\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*3} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\correctorChoices\correctorChoices\makebox[140pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\correctorChoices\correctorChoices\makebox[108pt][c]{}} + +\end{questionmultx} +\vspace{-55pt}~ +\par +} + +%% 3 boxes correctors (0,1/2,and 1 * openquestionmax) ==================== + +\newcommand{\correctorChoicesSimple}{\correctchoice[0]{}\scoring{b=0}\correctchoice[Y]{}\scoring{b=\openquestionmax/2}\correctchoice[X]{}{\qquad}\scoring{b=\openquestionmax}} + +\newcommand{\correctorOneThree}[3][0]{ +\par +\noindent +\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\makebox[340pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\makebox[362pt][c]{}} + +\end{questionmultx} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorTwoThree}[3][0]{ +\par +\noindent +\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*2} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\correctorChoicesSimple\makebox[260pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\correctorChoicesSimple\makebox[290pt][c]{}} + +\end{questionmultx} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorThreeThree}[3][0]{ +\par +\noindent +\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*3} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\correctorChoicesSimple\correctorChoicesSimple\makebox[180pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\correctorChoicesSimple\correctorChoicesSimple\makebox[218pt][c]{}} + +\end{questionmultx} +\vspace{-55pt}~ +\par +} + +\newcommand{\correctorFourThree}[3][0]{ +\par +\noindent +\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*4} +#3~\\ +% \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\correctorChoicesSimple\correctorChoicesSimple\correctorChoicesSimple\makebox[100pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoicesSimple\correctorChoicesSimple\correctorChoicesSimple\correctorChoicesSimple\makebox[148pt][c]{}} + +\end{questionmultx} +\vspace{-55pt}~ +\par +} + + + +%************************************************************** +\newcommand{\correctorStop}{ +\bigskip + + +\noindent +} diff --git a/amc-templates/amc_template_kprime_shs/sub_section_2.tex b/amc-templates/amc_template_kprime_shs/sub_section_2.tex new file mode 100644 index 0000000..4ccbdec --- /dev/null +++ b/amc-templates/amc_template_kprime_shs/sub_section_2.tex @@ -0,0 +1,137 @@ +%%% SECTION 2 SUB K-PRIME %%% +\element{kp1}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp1a} +\hspace{5mm}Sous question 1A +\FALSE +\end{question} +} +\element{kp1}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp1b} +\hspace{5mm}Sous question 1B +\FALSE +\end{question} +} +\element{kp1}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp1c} +\hspace{5mm}Sous question 1C +\TRUE +\end{question} +} +\element{kp1}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp1d} +\hspace{5mm}Sous question 1D +\TRUE +\end{question} +} + +\element{kp2}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp2a} +\hspace{5mm}Sous question 2A +\FALSE +\end{question} +} +\element{kp2}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp2b} +\hspace{5mm}Sous question 2B +\FALSE +\end{question} +} +\element{kp2}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp2c} +\hspace{5mm}Sous question 2C +\TRUE +\end{question} +} +\element{kp2}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp2d} +\hspace{5mm}Sous question 2D +\TRUE +\end{question} +} + + +\element{kp3}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp3a} +\hspace{5mm}Sous question 3A +\FALSE +\end{question} +} +\element{kp3}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp3b} +\hspace{5mm}Sous question 3B +\FALSE +\end{question} +} +\element{kp3}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp3c} +\hspace{5mm}Sous question 3C +\TRUE +\end{question} +} +\element{kp3}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp3d} +\hspace{5mm}Sous question 3D +\TRUE +\end{question} +} + + +\element{kp4}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp4a} +\hspace{5mm}Sous question 4A +\FALSE +\end{question} +} +\element{kp4}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp4b} +\hspace{5mm}Sous question 4B +\FALSE +\end{question} +} + + + +\element{kp5}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp5a} +\hspace{5mm}Sous question 5A +\FALSE +\end{question} +} +\element{kp5}{ +\AMCquestionNumberfalse +\def\AMCbeginQuestion#1#2{} +\begin{question}{kp5b} +\hspace{5mm}Sous question 5B +\FALSE +\end{question} +}