![如何控制 itemize 中的文本对齐方式和间距?](https://linux22.com/image/416464/%E5%A6%82%E4%BD%95%E6%8E%A7%E5%88%B6%20itemize%20%E4%B8%AD%E7%9A%84%E6%96%87%E6%9C%AC%E5%AF%B9%E9%BD%90%E6%96%B9%E5%BC%8F%E5%92%8C%E9%97%B4%E8%B7%9D%EF%BC%9F.png)
我想在itemize
列表中使用长项目。为了控制项目的对齐方式,我使用某些选项(参见示例)。但是,这会弄乱文本的对齐方式。我如何删除第一行的缩进?
\documentclass{article}
\usepackage{enumitem}
\setlist[itemize]{wide=0pt, widest=99,leftmargin=*, labelsep=4.5em}
\begin{document}
\begin{itemize}
\item[Long item] This text is too long for a single line. But, as you can see, the alignment of the first line is different from the alignment of all other lines. How to fix that?
\item[Longer item] Some text.
\end{itemize}
\end{document}