对于以下 MWE,
\documentclass[addpoints]{exam}
\begin{document}
\setlength{\parindent}{0pt}
\qformat{\textbf{\underline{Question (\thequestion) [\totalpoints\ Marks]}}\hfill}
\begin{questions}
\question[15]
\vspace{\baselineskip}% doesn't increase the spacing between the head and body
question body
\end{questions}
\end{document}
我怎么能够:
1- 增加问题头和问题主体之间的间距(除了理解为什么vspace
不按预期工作)
2- 将问题主体与问题头部左对齐?
答案1
这里是:
\documentclass[addpoints]{exam}
% Remove margins
\renewcommand{\questionshook}{%
\setlength{\leftmargin}{0pt}%
\setlength{\labelwidth}{-\labelsep}%
}
\begin{document}
%\setlength{\parindent}{0pt}
\qformat{\textbf{\underline{Question (\thequestion) [\totalpoints\ Marks]}}\hfill}
\begin{questions}
\question[15] \hspace*{0pt}\vspace*{\baselineskip}
question body
\question[10] \hspace*{0pt}\vspace*{\baselineskip}
question body
\end{questions}
\end{document}