这很难描述,但我认为最简单的方法是写出我希望工作的 TeX:
\begin{itemize}
\item[some text \\ more text] Here is some content for the first bullet that will extend onto multiple lines.
%
\item[first line of bullet \\ second line of bullet] Here is some content for the second bullet that will extend onto multiple lines.
\end{itemize}
基本上,我使用自定义文本作为项目符号本身,并且我希望此文本分成两行。如果我使用上面的代码,项目符号将被强制分成一行。
由于前面的示例实际上并未扩展到多行,因此下面是示例:
\begin{itemize}
\item[some text \\ more text] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec fringilla nisi. Nullam
vel vehicula dolor, accumsan aliquam enim. Nunc arcu quam, tincidunt quis ullamcorper nec, malesuada
a orci. Nam felis lectus, pulvinar id venenatis sed, ultrices ut elit.
%
\item[first line of bullet \\ second line of bullet] Cras iaculis dui in purus tincidunt, a imperdiet massa laoreet. Mauris vel pulvinar lacus.
Integer pharetra neque at turpis pretium, eu pretium sapien lacinia. Etiam commodo urna lacus, non
ullamcorper enim tincidunt at.
\end{itemize}
答案1
似乎描述比逐项列出更多:
\documentclass{article}
\setlength\leftmargini{4cm}
\renewcommand\descriptionlabel[1]{%
\smash{\parbox[t]{\leftmargin}{\normalfont\bfseries #1}}}
\begin{document}
\begin{description}
\item[some text \\ more text] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec fringilla nisi. Nullam
vel vehicula dolor, accumsan aliquam enim. Nunc arcu quam, tincidunt quis ullamcorper nec, malesuada
a orci. Nam felis lectus, pulvinar id venenatis sed, ultrices ut elit.
%
\item[first line of bullet \\ second line of bullet] Cras iaculis dui in purus tincidunt, a imperdiet massa laoreet. Mauris vel pulvinar lacus.
Integer pharetra neque at turpis pretium, eu pretium sapien lacinia. Etiam commodo urna lacus, non
ullamcorper enim tincidunt at.
\end{description}
\end{document}