
我正在使用考試包製作主題工作表。假設我製作了一張包含 10 個問題的工作表,但我只想查看問題 2、5、7 和 10。因此,基本上,工作表就像一個問題庫,而不是整個工作表/試卷。另外我希望所顯示的問題編號為 1,2,3...無論它實際上是 2,5,7...
答案1
您可以用於\iffalse,...,\fi
跳過所需的問題。
\documentclass[answers]{exam}
\begin{document}
\begin{questions}
\question Approximate $\displaystyle \int_0^1 \sin x^2 \, dx$ within $.001$ of
its true value.
\question Calculate the $$\int_{(5,6)}^{(3,3)} \mathbf{F}\cdot d\mathbf{l}$$
for $\mathbf{F}(x,y,z)=xy\mathbf{a}_x + (3x-y^2)\mathbf{a}_y$.
\iffalse
\question Skipped question.
\fi
\question Find the gradient of\\[0.5cm]
a- $f(x,y,z)=xy^2+2z$\\
b- $f(r,\phi,z)=2rsin\phi$\\
c- $f(R,\theta,\phi)=2\theta+R^2$\\
\question Last question.
\end{questions}
\end{document}