我\item[keyword]explanation-that-goes-on-for-several-lines
得到:
keyword this is the first line
this is the second line
但我希望这样
keyword this is the first line
this is the second line
我也尝试使用表格,但是它根本没有换行!
答案1
您需要确保它\labelwidth
足够大以包含列表中最宽的标签。
\documentclass{article}
\begin{document}
\begin{list}{}{}
\item[keyword that is much too long] 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{list}
%
\begin{list}{}{\setlength\labelwidth{5cm}\setlength\leftmargin{5cm}\advance\leftmargin by \labelsep}
\item[keyword that is much too long] 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{list}
\end{document}