我希望课堂上采用小数点后半点,而不是分数exam
。我该如何实现这一点?
梅威瑟:
\documentclass[]{exam}
\begin{document}
\begin{questions}
\addpoints
\question[\half] This is a question.
\end{questions}
\end{document}
答案1
这是一种可能性\renewcommand*\half{.5}
代码
\documentclass[]{exam}
\renewcommand*\half{.5}
\begin{document}
This exam has \numquestions\ questions, for a total of \numpoints\
points and \numbonuspoints\ bonus points.
\begin{questions}
\addpoints
\question[\half] This is a question.
\question[\half] This is a question.
\question[5] This is a question.
\question[5] This is a question.
\question[5\half] This is a question.
\question[\half] This is a question.
\end{questions}
\end{document}