[BACK]Return to tab-filled.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / char / space

File: [cvsweb.bsd.lv] / mandoc / regress / char / space / tab-filled.in (download)

Revision 1.1, Tue Aug 16 18:06:54 2022 UTC (22 months, 2 weeks ago) by schwarze
Branch: MAIN
CVS Tags: HEAD

New tests of tabs in fill mode, in particular
when multiple input or output lines are involved.

.\" $OpenBSD: tab-filled.in,v 1.1 2022/08/16 18:04:04 schwarze Exp $
.TH SPACE-TAB-FILLED 1 "August 16, 2022"
.SH NAME
SPACE-TAB-FILLED \- tab characters in fill mode
.SH DESCRIPTION
.SS Tabs are relative to the beginning of the current input line.
one	two
.br
\&\c
\&	t
.br
\&
\&	t
.br
a
1	t
.br
a
22	t
.br
a
333	t
.br
a
4444	t
.br
a
55555	t
.br
ab
1	t
.br
ab
22	t
.br
ab
333	t
.br
ab
4444	t
.br
ab
55555	t
.SS Tab measurement continues onto the next output line.
Using a line length of 5n=12n-7n and tab positions of 7n and 9n:
.br
.ll 12n
.ta 7n 9n
a 1	t
.br
a 22	t
.br
a 333	t
.br
a 4444	t
.br
a 55555	t
.br
ab 1	t
.br
ab 22	t
.br
ab 333	t
.br
ab 4444	t
.br
abc 1	t
.br
abc 22	t
.br
abc 333	t
.br
adcd 1	t
.br
abcd 22	t
.br
abcde 1	t
.br
abcdef 1	t
.br
.ll