diff --git a/data/templates/chemistry/base/style_extra.tex b/data/templates/chemistry/base/style_extra.tex index 69c3a13..31df2ce 100644 --- a/data/templates/chemistry/base/style_extra.tex +++ b/data/templates/chemistry/base/style_extra.tex @@ -1,137 +1,136 @@ %% 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}{1.0\textwidth} ~ \vspace{#1} ~ \end{minipage} } } \newcommand{\FullPageOpenBox}{ \clearpage \OpenBox{23cm} } %% OpenGrid commands ============================ \newcommand{\OpenGrid}[1]{ \noindent \begin{tikzpicture} \draw[step=.5cm,lightgray] (0cm,0cm) grid (15.5cm,#1); \end{tikzpicture} } \newcommand{\FullPageOpenGrid}{ \clearpage \OpenGrid{23cm} } \newcommand{\FullPageOpenGridForever}{ \loop \ifnum \thepage < \totalPages \FullPageOpenGrid \repeat } %% ============================================== % Single points \newcommand{\openquestionmax}{1} \newcommand{\correctorPointsPerGroup}[1]{ \renewcommand{\openquestionmax}{#1} } % \correctorcommands (5 boxes: 0, 1/4, 1/2, 3/4, 4/4) \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{\correctorOne}[3][0]{ \par \noindent \begin{questionmultx}{#2}\bareme{MAX=\openquestionmax,m=0} #3~\\ \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\makebox[218.6pt][c]{}} \end{questionmultx} \vspace{-55pt}~ \par } \newcommand{\correctorTwo}[3][0]{ \par \noindent\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*2,m=0} #3~\\ \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\correctorChoices\makebox[109.8pt][c]{}} \end{questionmultx} \vspace{-55pt}~ \par } \newcommand{\correctorThree}[3][0]{ \par \noindent \begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*3,m=0} #3~\\ \noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorChoices\correctorChoices\correctorChoices\makebox[1pt][c]{}} \end{questionmultx} \vspace{-55pt}~ \par } % \correctorThirds commands (4 boxes: 0, 1/3, 2/3, 3/3) \newcommand{\correctorThirdsChoices}{\correctchoice[0]{}\scoring{b=0}\correctchoice[Y]{}\scoring{b=\openquestionmax/3}\correctchoice[X]{}\scoring{b=\openquestionmax*2/3}\correctchoice[W]{\qquad}\scoring{b=\openquestionmax}} \newcommand{\correctorThirdsOne}[3][0]{ \par \noindent \begin{questionmultx}{#2}\bareme{MAX=\openquestionmax,m=0} #3~\\ -%\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\makebox[245.7pt][c]{}} -\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\makebox[245.7pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\makebox[235.7pt][c]{}} \end{questionmultx} \vspace{-55pt}~ \par } \newcommand{\correctorThirdsTwo}[3][0]{ \par \noindent\begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*2,m=0} #3~\\ -\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\correctorThirdsChoices\makebox[154.8pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\correctorThirdsChoices\makebox[144.8pt][c]{}} \end{questionmultx} \vspace{-55pt}~ \par } \newcommand{\correctorThirdsThree}[3][0]{ \par \noindent \begin{questionmultx}{#2}\bareme{MAX=\openquestionmax*3,m=0} #3~\\ -\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\correctorThirdsChoices\correctorThirdsChoices\makebox[63.9pt][c]{}} +\noindent\AMCOpen{lines=#1,boxframerulecol=lightgray,framerulecol=white}{\correctorThirdsChoices\correctorThirdsChoices\correctorThirdsChoices\makebox[53.9pt][c]{}} \end{questionmultx} \vspace{-55pt}~ \par } % \correctorStop \newcommand{\correctorStop}{ \bigskip \noindent }