
在exam
課堂上,如何列印Answer
而不是Solution
使用時
\begin{solution}
\end{solution}
以問答形式?
答案1
參考Section 8.3.1
文獻手冊,您可以使用,例如,
\renewcommand{\solutiontitle}{\noindent\textbf{Answer}\par\noindent}
這是一個完整的 MWE:
% arara: pdflatex
\documentclass[answers]{exam}
\renewcommand{\solutiontitle}{\noindent\textbf{Answer}\par\noindent}
\begin{document}
\begin{questions}{}
\question who is this?
\begin{solution}
it's me
\end{solution}
\end{questions}
\end{document}