
下の画像のように、(a) コロンと質問の開始部分の間の改行を削除し、(b) 質問の終了部分と解答の開始部分の間の改行を削除したいと思います。これはクラスで可能ですかexam
?
上記画像の TEX ソースは次のとおりです。
\documentclass[answers, 10pt]{exam}
\qformat{\mbox{\textbf{Question \thequestion~(}\thequestiontitle \textbf{):}}\enspace}
\unframedsolutions
\begin{document}
\begin{questions}
\titledquestion{Exercise Title}
Show that $2 + 2 = 4$.
\begin{solution}
The answer is obvious.
\end{solution}
\end{questions}
\end{document}