Solution environment
Use the solution environment to create the answer to a question. The answer will only be displayed if the document class option includesanswers, and the answer space will be reserved if the question environment includes the t option.
\begin{solution}{Minimum reserved height for blank space}
Solution content
\end{solution}
\hint command
Use the \hint command to generate a box titled "Hint" in the solution.
\hint the text in the hint paragraph.
\method and \methodonly command
When there are multiple solutions to a question, use the \method command to generate a box with the title "Solution + Serial Number" in the answer. If there is only one solution, the answer will generate a box titled "Solution."
% Multiple Solutions
method Solution 1: Paragraph text
method Solution 2: Paragraph text
% Regular Answer
methodonly Answer paragraph text
\score command
In short-answer questions, use the \score command to display the partial score at the end of each step or point.
\score{step score}{total accumulated score}
Example
已复制
Created: Oct 4, 2025, 9:37 AM
Last Updated: Oct 4, 2025, 9:37 AM