hangparas 环境(悬挂包)仅适用于第一段

hangparas 环境(悬挂包)仅适用于第一段

这是我的示例文档:

\documentclass{article}
\usepackage{hanging}
\begin{document}

\newpage
\begin{center}
Works Cited
\end{center}
\begin{hangparas}{1.5em}{1}
  The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.

  The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.

  The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
\end{hangparas}o
\end{document}

输出如下:

在此处输入图片描述

如您所见,只有第一段有悬挂缩进。据我所知,hanparas 环境应该使所有段落都有悬挂缩进。我需要一些帮助!谢谢。

答案1

之前需要一个空行hangparas

\documentclass{article}
\usepackage{hanging}

\begin{document}

\begin{center}
Works Cited
\end{center}

\begin{hangparas}{1.5em}{1}
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.

  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.

  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
  The quick brown fox jumps over the lazy dog.
\end{hangparas}

\end{document}

在此处输入图片描述

相关内容