我已经在多项选择题测试中调整了主干和选项的初始缩进位置。但是,我不知道如何修改选项的悬挂缩进。
\documentclass[12pt]{exam}
\usepackage{amsmath}
\usepackage{multicol}
\pagestyle{head}
\renewcommand{\choiceshook}{
\setlength{\leftmargin}{20pt}%
\setlength{\labelwidth}{-\labelsep}%
}
\renewcommand{\questionshook}{\setlength{\itemsep}{0.5cm}}
\begin{document}
\clearpage
\mdseries
\begin{questions}
%1
\question
A dose of blah would be likely to produce which of the following blah?\vspace{5mm}
\begin{choices}
\choice blah blah blah blah blah blah blah
\choice blah blah blah blah blah blah blah
\choice blah blah blah blah blah blah blah
\choice blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
\choice sweating
\end{choices}\vspace{5mm}
\end{questions}
\end{document}
在上面的例子中,选项 D 的第二行应该与第一行对齐。我该如何实现呢?
答案1
您还需要更新\itemsep
:
\documentclass{exam}
\renewcommand{\choiceshook}{%
\setlength{\leftmargin}{20pt}%
\setlength{\labelwidth}{-\labelsep}%
\addtolength{\itemindent}{\labelwidth}%
}
\renewcommand{\questionshook}{\setlength{\itemsep}{0.5cm}}
\begin{document}
\begin{questions}
%1
\question
A dose of blah would be likely to produce which of the following blah?\vspace{5mm}
\begin{choices}
\choice blah blah blah blah blah blah blah
\choice blah blah blah blah blah blah blah
\choice blah blah blah blah blah blah blah
\choice blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah
\choice sweating
\end{choices}
\end{questions}
\end{document}