試験で質問と解答を分ける

試験で質問と解答を分ける

私は試験パッケージを使用しており、回答行を質問から分離して、すべての回答行が各ページの下部にまとめて表示されるようにしたいと考えています。

これまでのところ、\vfillbeforeを使用して動作しています\answerlineが、質問に複数の部分が含まれている場合は動作しません。

私が何を達成しようとしているのかは写真をご覧ください。ここに画像の説明を入力してください

答え1

クラスコマンドのみを使用して質問を達成することはできませんでしたexam。しかし、tikzこれを使用するとかなり簡単です。

コード:

\documentclass[addpoints]{exam}
\usepackage{tikz}
\begin{document}
\pointsinrightmargin
\bracketedpoints
\begin{questions}
\question The seventh term, $u_7$, of an arithmetic sequence is 28. The tenth term, $u_{10}$, of the same sequence is 37.
\begin{parts}
\part[2]Find $d$, the common difference of the sequence.
\part[2]Find $u_1$, the first term of the sequence.
\part[2]Find $S_{200}$, the sum of the first 200 terms of the sequence.
\end{parts}
\begin{tikzpicture}
\draw (0,0) -- (17.5,0) -- (17.5,19) -- (0,19) -- (0,0);
\draw(17.5,4) -- (10,4);
\draw(10,4) -- (10,0);
\node[text width=3cm] at (1.7,18.7) {Working:};
\node[text width=3cm] at (11.7,3.8) {Answers:};
\node[text width=7.1cm] at (13.8,3) {(a)\dotfill};
\node[text width=7.1cm] at (13.8,2) {(b)\dotfill};
\node[text width=7.1cm] at (13.8,1) {(c)\dotfill};
\end{tikzpicture}
\end{questions}
\end{document}

収量:

ここに画像の説明を入力してください

関連情報