我是新手groff
,注意到如果段落(或新行)的第一个单词设置为非常规字体,则会出现轻微的缩进。在下面的示例中,这种情况仅发生在第二段和第三段中,但在 groff 开始新行本身之后,不会出现在行首的单词(在我的示例中,walk
在第一段和girls
最后一段中):
.fam H
.PP
I see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the girls
\fB
walk
\fR
by dressed in their summer clothes
I have to turn my head until my darkness goes
.PP
\fB
I
\fR
see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the girls walk by dressed in their summer clothes
I have to turn my head until my darkness goes
.PP
\fB
I see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the girls walk by dressed in their summer clothes
I have to turn my head until my darkness goes
\fR
.PP
I
\fB
see
\fR
I see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the
\fB
girls
\fR
walk by dressed in their summer clothes
I have to turn my head until my darkness goes
输出如下所示:
为什么第二段和第三段要缩进,如何避免这种缩进?
答案1
这是因为空格,或者在本例中是新行。基本上,您以(粗体)换行符开始该段落,该换行符被转换为空格。
查看我的输入文件:
.PP
I see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the girls
\fB
walk
\fR
by dressed in their summer clothes
I have to turn my head until my darkness goes
.PP
\fB
I
\fR
see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the girls walk by dressed in their summer clothes
I have to turn my head until my darkness goes
.PP
\fBI\fR see a red door and I want it painted black
No colors anymore, I want them to turn black
I see the girls walk by dressed in their summer clothes
I have to turn my head until my darkness goes
或者,使用
.B I see
a red door etc.