我已经看到很多关于如何不缩进列表条目的问题的答案,但我找不到另一个问题的答案:我希望第一行保持默认状态,但其余行与通常的文本对齐。也就是说,如果我使用
[...] This is what I read in the New York Times:
\begin{itemize}
\item Escalating his criticism of Hillary Clinton’s debate performances,
Donald J. Trump came to a state battling a drug epidemic and suggested without
any evidence on Saturday
\end{itemize}
我会让第二句话“Donald J. Trump...”与该项目的同一级别对齐,但我希望它与项目化环境之外的其余文本对齐。
有啥帮助吗?谢谢
答案1
也许您想要wide
的是enumitem
。以下是两种选择:
\documentclass{article}
\usepackage[showframe]{geometry}%
\usepackage{enumitem}
\begin{document}
Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text. %
[...] This is what I read in the New York Times:
\begin{itemize}[wide]
\item Escalating his criticism of Hillary Clinton’s debate performances,
Donald J. Trump came to a state battling a drug epidemic and suggested without
any evidence on Saturday
\end{itemize}
Unless your prefer this: %
\begin{itemize}[wide = 0pt]
\item Escalating his criticism of Hillary Clinton’s debate performances,
Donald J. Trump came to a state battling a drug epidemic and suggested without
any evidence on Saturday
\end{itemize}
\end{document}
答案2
也许你的问题在这里已经得到解答:“自定义”枚举项的左边距
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[label={\textbf{(\alph*)}},leftmargin=0.5cm,align=left]
\item Question
\item[answer (a)] Answer
\item Question
\item[answer (b)] Answer
\end{enumerate}
\end{document}