![帶有考試課程的全角解決方案或網格](https://rvso.com/image/390951/%E5%B8%B6%E6%9C%89%E8%80%83%E8%A9%A6%E8%AA%B2%E7%A8%8B%E7%9A%84%E5%85%A8%E8%A7%92%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88%E6%88%96%E7%B6%B2%E6%A0%BC.png)
考試教室提供了一個方便的環境,可以根據給定的課堂選項為學生排版解決問題的指定空間或該問題的解決方案。我的問題是,使用 thesolutionorgrid
總是與問題縮進,所以浪費了很多空間。
solutionorgrid
我查看了and的定義\fillwithgrid[<length>]
,它solutionorgrid
似乎正在使用,但我無法弄清楚排版環境的寬度是如何確定的。
有一個\fullwidth{}
命令,但它不適用於solutionorgrid
甚至僅適用於\fillwithgrid[<length>]
.
也那裡 是 問題 大約在這裡,回答了類似的問題,但沒有一個真正解決了我的問題。
微量元素:
\documentclass[a4paper, 12pt]{exam}
% \documentclass[a4paper, 12pt, answers]{exam}
\usepackage{showframe}
\begin{document}
\begin{questions}
\question
Why ist there air?
% \fullwidth{ % <== works as expected
% \begin{solution}
% Because we couldn't breath without air.
% \end{solution}
% }
% \fullwidth{\fillwithgrid[\stretch{1}]} % <== throws error
\fullwidth{ % <== works for solutions but doesn't print grid
\begin{solutionorgrid}[\stretch{1}]
Because we couldn't breath without air.
\end{solutionorgrid}
}
\end{questions}
\end{document}