在第 2 行创建制表符

在第 2 行创建制表符

我想要这样写行:段落的首行没有缩进,但从第二行开始有缩进。例如:

This is what I am saying. This is what I am saying. This is what I am 
             saying. This is what I am saying. This is what I am say-
             ing. This is what I am saying. This is what I am saying. 

我在如何使用 Latex 方面遇到了困难。任何建议都将不胜感激。谢谢!

答案1

请注意(几乎)所有问题都应包括一个完整的最小工作示例(MWE)或最小非工作示例(如果问题涉及编译错误)。

在这种情况下,对 CTAN 进行简单搜索即可hanging提供现成的解决方案:

\documentclass{article}
\usepackage{hanging,kantlipsum}
\begin{document}
  \begin{hangparas}{1.5em}{1}
  \kant[1-3]
\end{hangparas}
\end{document}

绞刑

答案2

\hangindent\hangafter进行救援:

\documentclass{article}

\begin{document}
  \hangafter=1
  \hangindent=4em
  \noindent
  This is what I am saying. This is what I am saying.
  This is what I am saying. This is what I am saying.
  This is what I am saying. This is what I am saying.
  This is what I am saying.
\end{document}

结果

相关内容