Commit 06686225 authored by Erwan BOUSSE's avatar Erwan BOUSSE
Browse files

Fix for AMC 1.5 formula default vars

parent b35e2549
......@@ -13,7 +13,17 @@
\newcommand{\myscoringopen}[1]{%
\setlength{\parskip}{.8\baselineskip}%
\textit{(#1 \ifdim #1pt < 1.01pt point\else points\fi)}
\scoring{MAX=#1,formula= (P1+P2+P3+P4+P5+P6+P7) > #1 ? #1 : (P1+P2+P3+P4+P5+P6+P7)}
\scoring{
MAX=#1,
default.P1=0,
default.P2=0,
default.P3=0,
default.P4=0,
default.P5=0,
default.P6=0,
default.P7=0,
formula= (P1+P2+P3+P4+P5+P6+P7) > #1 ? #1 : (P1+P2+P3+P4+P5+P6+P7)
}
}
......@@ -27,7 +37,7 @@
\correctchoice{\scriptsize $2$}\scoring{set.P5=2}
\correctchoice{\scriptsize $3$}\scoring{set.P6=3}
\correctchoice{\scriptsize $4$}\scoring{set.P7=4}
}}
}}
\newcommand{\myanswerbox}[1]{\internalmyanswerbox{#1}{true}}
\newcommand{\myanswerboxnodots}[1]{\internalmyanswerbox{#1}{false}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment