enumitem 单个项目内的线分隔符

enumitem 单个项目内的线分隔符

当物品包装时会发生这种情况:

在此处输入图片描述

我目前拥有的代码是:

\setlist{leftmargin=!, align=left, font=\large\textsf,
itemsep=20pt, labelwidth=10pt, itemindent=-28pt}

如何调整两条换行之间的间距?

答案1

您可以使用setspace调整行距(或基线跳过):

在此处输入图片描述

\documentclass{article}
\usepackage{setspace}% http://ctan.org/pkg/setspace
\begin{document}
\begin{itemize}
  \item[IUI-10] IUI must display a warning if the Route will pass through an unmanaged Sector
    during the shift
  \item[IUI-10] IUI must display a warning if the Route will pass through an unmanaged Sector
    during the shift
  \item[IUI-10] IUI must display a warning if the Route will pass through an unmanaged Sector
    during the shift
\end{itemize}

\setstretch{2}
\begin{itemize}
  \item[IUI-10] IUI must display a warning if the Route will pass through an unmanaged Sector
    during the shift
  \item[IUI-10] IUI must display a warning if the Route will pass through an unmanaged Sector
    during the shift
  \item[IUI-10] IUI must display a warning if the Route will pass through an unmanaged Sector
    during the shift
\end{itemize}
\end{document}​

以上内容(或应该)独立于enumitem因为它涉及段落设置,而不一定涉及列表。

相关内容