我正在使用 Philip Hirschhorn 的exam
文档类进行考试,我想添加一道题目,让学生从一系列问题中选择两个选项。我的方法如下所示:
\titledquestion{Student-choice question}
Answer \underline{TWO} of the following questions:
\begin{enumerate}
\item Explain whether you think \LaTeX{} is better than Word
\item Explain whether you think vi is better than Emacs
\item Explain whether you think OS X is better than Windows
\item Explain whether you think Android is better than iOS
\end{enumerate}
\begin{parts}
\part[6] First choice
\fillwithlines[6cm]
\part[6] Second choice
\fillwithlines[6cm]
\end{parts}
有没有更标准化和/或更好的方法来做到这一点?
答案1
这边走:
\documentclass{exam}
\begin{document}
\begin{questions}
\question Answer \underline{TWO} of the following questions:
\begin{parts}
\part[6] Explain whether you think \LaTeX{} is better than Word.
\part[6] Explain whether you think vi is better than Emacs
\part[6] Explain whether you think OS X is better than Windows
\part[6] Explain whether you think Android is better than iOS
\end{parts}
First choice:
\fillwithlines{6cm}
Second choice:
\fillwithlines{6cm}
\end{questions}
\end{document}
或这个:
\documentclass{exam}
\begin{document}
\begin{questions}
\uplevel{Answer \underline{TWO} of the following questions:}
\question[6] Explain whether you think \LaTeX{} is better than Word.
\question[6] Explain whether you think vi is better than Emacs
\question[6] Explain whether you think OS X is better than Windows
\question[6] Explain whether you think Android is better than iOS
First choice:
\fillwithlines{6cm}
Second choice:
\fillwithlines{6cm}
\end{questions}
\end{document}
将是我的选择。