![删除考试文档类中问题后的段落缩进](https://linux22.com/image/469191/%E5%88%A0%E9%99%A4%E8%80%83%E8%AF%95%E6%96%87%E6%A1%A3%E7%B1%BB%E4%B8%AD%E9%97%AE%E9%A2%98%E5%90%8E%E7%9A%84%E6%AE%B5%E8%90%BD%E7%BC%A9%E8%BF%9B.png)
答案1
来自exam
文档第 33 页,您需要将以下代码添加到您的序言中:
\renewcommand{\questionshook}{%
\setlength{\leftmargin}{0pt}%
\setlength{\labelwidth}{-\labelsep}%
}
然后你会得到以下内容:
\documentclass[addpoints]{exam}
\pointname{\ p}
\qformat{\textbf{Question \thequestion .} \hfill \textsl{(\thepoints)}}
\renewcommand{\questionshook}{%
\setlength{\leftmargin}{0pt}%
\setlength{\labelwidth}{-\labelsep}%
}
\begin{document}
\begin{questions}
\question[3] What is your favourite color?
\end{questions}
\end{document}