summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/randexam/randexam-a-answer.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/randexam/randexam-a-answer.tex')
-rw-r--r--macros/latex/contrib/randexam/randexam-a-answer.tex18
1 files changed, 10 insertions, 8 deletions
diff --git a/macros/latex/contrib/randexam/randexam-a-answer.tex b/macros/latex/contrib/randexam/randexam-a-answer.tex
index d431b45732..fdfec30618 100644
--- a/macros/latex/contrib/randexam/randexam-a-answer.tex
+++ b/macros/latex/contrib/randexam/randexam-a-answer.tex
@@ -12,11 +12,12 @@
\examtitle{name=Math 1906 Final Exam,date=2018-06-28,version=A} % make exam title
-\gradetable
+\gradetable[total=4]
-\examgroup{Fill in the blanks.}{6 questions; 3 points for each; 18 points in total.}
+\exampart{Fill in the blanks.}{6 questions; 3 points for each; 18 points in total.}
-\answertable[3em]{6}{3} % make answer table: height 3em, six in total, three for each row
+% make answer table: six in total, three for each row, strut height 3em
+\answertable[total=6,column=3,strut=3em]
\begin{question}
The first question $k>0$, text $f(x)=\ln x-\frac{x}{\e}+k$ text $(0,+\infty)$
@@ -70,9 +71,10 @@ text text text text text text text text text text $\xi-2\eta\sim$ \fillout{$N(-3
\newpage
-\examgroup{Select one answer from four choices.}{6 questions; 3 points for each; 18 points in total.}
+\exampart{Select one answer from four choices.}{6 questions; 3 points for each; 18 points in total.}
-\answertable{6}{6} % 生成答题栏:默认行高,总共8题,每行8题
+% make answer table: six in total, six for each row, default strut height
+\answertable[total=6,column=6]
\begin{question}
The first question text, text text text text text text text text text text
@@ -168,7 +170,7 @@ text text text text text text text text text text text text text text \pickout{D
\newpage
-\examgroup{Work out math questions.}{6 questions; 8 points for each; 48 points in total.}
+\exampart{Work out math questions.}{6 questions; 8 points for each; 48 points in total.}
\begin{question}
The first question $\int\e^{2x}\,(\tan x+1)^2\dx$.
@@ -305,9 +307,9 @@ Text text $H_0:\mu=3140$ text text ($\alpha = 0.01$).
\newpage
-\examgroup{Work out math proofs.}{2 questions; 16 points in total.}
+\exampart{Work out math proofs.}{2 questions; 16 points in total.}
-\renewcommand{\solutionname}{Proof} % 将“解”字改为“证”字
+\DeclareExamTranslation{current}{solution-Solution=Proof} % rename "Solution" as "Proof"
\begin{question}[points=9]
The first question $\{x_n\}$ text $x_1=\sqrt2$, $x_{n+1}=\sqrt{2+x_n}$.