風変わりな(太字/斜体)フォントを使用したgroffのわずかなインデント

風変わりな(太字/斜体)フォントを使用したgroffのわずかなインデント

私はこれに慣れておらず、groff段落の最初の単語(または新しい行)がフレームに縛られないフォントに設定されている場合は、少しインデントがあることがわかりました。次の例では、2番目と3番目の段落でのみこれが発生しますが、groffが新しい行自体を開始した後、行の先頭にある単語は表示されません(例では、最後の段落の最初walkと3番目の段落で)。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

出力は次のとおりです。

上記のコードに従ってgroff出力を実行します。

2番目と3番目の段落がインデントされた理由は何ですか。インデントを防ぐにはどうすればよいですか?

ベストアンサー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.

おすすめ記事