如何更改枚举项中换行的缩进?

如何更改枚举项中换行的缩进?

当我使用以下文档(使用\documentclass{article})时:

\documentclass{article}
\title{Sample Document}
\author{John Smith}
\begin{document}
\begin{enumerate}
\item This is a short line
\item This is a short line
\item This is a really really really really long line that wraps around the page and as you can see it goes to the left of the item number.
\item This is a short line
\item This is a short line
\end{enumerate}
\end{document}

我得到以下信息:

the result of an enumeration using the article document class; text is all left-aligned along the same vertical line

但是当我使用创建类似的文档时这个 apa6 类

\documentclass{apa6}
\title{Sample Document}
\author{John Smith}
\begin{document}
\begin{enumerate}
\item This is a short line
\item This is a short line
\item This is a really really really really long line that wraps around the page and as you can see it goes to the left of the item number.
\item This is a short line
\item This is a short line
\end{enumerate}
\end{document}

我得到以下结果:

the result of an enumeration using the apa6 document class; wrapped text in an enumeration item is shifted to the left with respect to the first line

我该如何使用\documentclass{apa6},以及 中类似于 的枚举中的换行\documentclass{article}? 中的哪段代码apa6会导致这种情况发生?

答案1

这是设计使然。APA 可能要求枚举看起来像这样。如果您加载enumitem包,您可以获得以前的行为,而无需进行其他更改。要在同一文档中获取 APA 版本,您可以使用环境{APAenumerate}

相关内容