]> git.cameronkatri.com Git - mandoc.git/blob - regress/mdoc/Bl/column.in
For accessibility, label the last two widgets in the search form.
[mandoc.git] / regress / mdoc / Bl / column.in
1 .\" $OpenBSD: column.in,v 1.11 2019/07/11 16:56:52 schwarze Exp $
2 .Dd $Mdocdate: July 11 2019 $
3 .Dt BL-COLUMN 1
4 .Os
5 .Sh NAME
6 .Nm Bl-column
7 .Nd lists with multiple columns
8 .Sh DESCRIPTION
9 .Bl -column "a"
10 .It a
11 .El
12 .Bl -column "a" "b"
13 .It a Ta b
14 .El
15 .\" avoid "c" which means "cm"
16 .Bl -column "a" "b" "cc"
17 .It a Ta b Ta cc
18 .It a b cc
19 .It "a" b cc
20 .It "a b" cc
21 .It "a b cc"
22 .El
23 .Bl -column "a" "b" "cc" "d"
24 .It a Ta b Ta cc Ta d
25 .El
26 .Bl -column "a" "b" "cc" "d" "e"
27 .It a Ta b Ta cc Ta d Ta e
28 .El
29 .\" Probing up to the utter limits of groff.
30 .\" With more than 5 columns or more than 78 characters per line,
31 .\" groff .Bl -column turns completely mad.
32 .\" mandoc can do more, but it's no use testing that.
33 .Bd -literal
34 5 + 35 + 4 + 34 = 78:
35 .Ed
36 .Bl -column "x35xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "x34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
37 .It x35xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Ta x34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
38 .It a Ta b
39 .El
40 .Bd -literal
41 5 + (22+4)*2 + 21 = 78:
42 .Ed
43 .Bl -column "x22xxxxxxxxxxxxxxxxxxx" "x22xxxxxxxxxxxxxxxxxxx" "x21xxxxxxxxxxxxxxxxxx"
44 .It x22xxxxxxxxxxxxxxxxxxx Ta x22xxxxxxxxxxxxxxxxxxx Ta x21xxxxxxxxxxxxxxxxxx
45 .It a Ta b Ta c
46 .El
47 .Bd -literal
48 5 + 16 + (4+15)*3 = 78:
49 .Ed
50 .Bl -column "x16xxxxxxxxxxxxx" "x15xxxxxxxxxxxx" "x15xxxxxxxxxxxx" "x15xxxxxxxxxxxx"
51 .It x16xxxxxxxxxxxxx Ta x15xxxxxxxxxxxx Ta x15xxxxxxxxxxxx Ta x15xxxxxxxxxxxx
52 .It a Ta b Ta c Ta d
53 .El
54 .Bd -literal
55 5 + 13 + (3+12)*4 = 78:
56 .Ed
57 .Bl -column "x13xxxxxxxxxx" "x12xxxxxxxxx" "x12xxxxxxxxx" "x12xxxxxxxxx" "x12xxxxxxxxx"
58 .It x13xxxxxxxxxx Ta x12xxxxxxxxx Ta x12xxxxxxxxx Ta x12xxxxxxxxx Ta x12xxxxxxxxx
59 .It a Ta b Ta c Ta d Ta e
60 .El
61 .\" Trailing white space in phrases.
62 .Bl -column "aaaa" "bbbb"
63 .It "a" Ta "b"
64 .It "a " Ta "b"
65 .It "a " Ta "b"
66 .It a b
67 .It a b
68 .It a b
69 .El
70 .\" Wrong number of columns.
71 .Bl -column "a" "b"
72 .It
73 .It "a"
74 .It "a" Ta "b"
75 .It
76 .It "a" Ta "b" Ta "c"
77 .It "a" Ta "b" Ta "c" Ta "d"
78 .It "a" Ta "b" Ta "c" Ta "d" Ta "e"
79 .It
80 .El
81 .\" Mixed tab and Ta
82 .Bl -column a b c d
83 .It a b c d
84 .It "a b c" Ta
85 d
86 .It a b Ta c d
87 .It a b Ta c Ta d
88 .It a Ta b c d
89 .It a Ta b c Ta d
90 .It a Ta b Ta c d
91 .It a Ta b Ta c Ta d
92 .El
93 .\" Macros before and after tabs
94 .Bl -column "aa" "OpenBSD OpenBSD OpenBSD"
95 .It aa Ta Ox Ox Ox Ta tab-tab
96 .It aa Ta Ox Ox Ox tab-ta
97 .It aa Ox Ox Ox Ta ta-tab
98 .It aa Ox Ox Ox ta-ta
99 .It aa Ox Ox Ox ta-bl/ta
100 .It aa Ox Ox Ox ta/bl-ta
101 .It aa Ox Ox Ox ta/bl-bl/ta
102 .It aa Ta bb Ta
103 ta at eol
104 .It aa bb
105 tab at eol
106 .El
107 .\" Interrupted column list
108 .Bl -column "aa" -width 6n -compact "bb" "cc"
109 .It aa Ta bb Ta cc Ta dd
110 .El