我怎样才能使文本看起来像这样?

我怎样才能使文本看起来像这样?

我的输出应该是这样的。我知道我必须使用 hangindent 之类的东西,但我不知道如何实现缩进和新行之间没有空格。当我尝试使用缩进时,中间有一个行空格,否则它不起作用。那么我怎样才能让文本看起来像这样呢?

我的输出应该完全像这样:

答案1

你没有提供太多背景信息,在乳胶中,你通常会得到这样的段落形状作为列表的一部分,但如果它只是文本,你可以设置一个否定\parindent

在此处输入图片描述

\documentclass{article}

\begin{document}

\leftskip=1cm
\parindent=-1cm

asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy
asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy
asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy

asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy
asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy
asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy

asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy
asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy
asdfasdf asdfasdf asdf asdf asdfasdf asdf asdf asdf asdf asdfyy

\end{document}

相关内容