PageRenderTime 26ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/test/target/ok/table.man

http://txt2tags.googlecode.com/
Unknown | 195 lines | 151 code | 44 blank | 0 comment | 0 complexity | 3d95c836d3235da44dfe23d0f5b7bb17 MD5 | raw file
  1.TH "" 1 "" ""
  2
  3.SH Simple table
  4
  5.TS
  6tab(^); lll.
  7 Cell 1\-1^Cell 1\-2^Cell 1\-3
  8 Cell 2\-1^Cell 2\-2^Cell 2\-3
  9 Cell 3\-1^Cell 3\-2^Cell 3\-3
 10.TE
 11
 12.SH Simple table + border
 13
 14.TS
 15allbox, tab(^); lll.
 16 Cell 1\-1^Cell 1\-2^Cell 1\-3
 17 Cell 2\-1^Cell 2\-2^Cell 2\-3
 18 Cell 3\-1^Cell 3\-2^Cell 3\-3
 19.TE
 20
 21.SH Simple table + heading
 22
 23.TS
 24tab(^); lll.
 25 \fBHead 1\-1\fR^\fBHead 1\-2\fR^\fBHead 1\-3\fR
 26 Cell 1\-1^Cell 1\-2^Cell 1\-3
 27 Cell 2\-1^Cell 2\-2^Cell 2\-3
 28 Cell 3\-1^Cell 3\-2^Cell 3\-3
 29.TE
 30
 31.SH Simple table + heading + border
 32
 33.TS
 34allbox, tab(^); lll.
 35 \fBHead 1\-1\fR^\fBHead 1\-2\fR^\fBHead 1\-3\fR
 36 Cell 1\-1^Cell 1\-2^Cell 1\-3
 37 Cell 2\-1^Cell 2\-2^Cell 2\-3
 38 Cell 3\-1^Cell 3\-2^Cell 3\-3
 39.TE
 40
 41.SH Simple table + heading + border + footer
 42
 43.TS
 44allbox, tab(^); lll.
 45 \fBHead 1\-1\fR^\fBHead 1\-2\fR^\fBHead 1\-3\fR
 46 Cell 1\-1^Cell 1\-2^Cell 1\-3
 47 Cell 2\-1^Cell 2\-2^Cell 2\-3
 48 Cell 3\-1^Cell 3\-2^Cell 3\-3
 49 \fBFoot 1\-1\fR^\fBFoot 1\-2\fR^\fBFoot 1\-3\fR
 50.TE
 51
 52.SH Simple table + heading + border + centralized
 53
 54.TS
 55center, allbox, tab(^); lll.
 56 \fBHead 1\-1\fR^\fBHead 1\-2\fR^\fBHead 1\-3\fR
 57 Cell 1\-1^Cell 1\-2^Cell 1\-3
 58 Cell 2\-1^Cell 2\-2^Cell 2\-3
 59 Cell 3\-1^Cell 3\-2^Cell 3\-3
 60.TE
 61
 62.SH Cell alignment
 63
 64.TS
 65allbox, tab(^); ll.
 66 =======^=======
 67 <^>
 68 =^=
 69 >^<
 70.TE
 71
 72.SH Heading alignment
 73
 74.TS
 75allbox, tab(^); ll.
 76 \fB=======\fR^\fB=======\fR
 77 \fB<\fR^\fB>\fR
 78 \fB=\fR^\fB=\fR
 79 \fB>\fR^\fB<\fR
 80.TE
 81
 82.SH Column span for cells
 83
 84.TS
 85allbox, tab(^); llll.
 86 1^2^3^4
 87 1^2^3 + 4
 88 1 + 2 + 3^4
 89 1^2 + 3^4
 90 1 + 2 + 3 + 4
 91.TE
 92
 93.SH Column span for headings
 94
 95.TS
 96allbox, tab(^); llll.
 97 \fB1\fR^\fB2\fR^\fB3\fR^\fB4\fR
 98 \fB1\fR^\fB2\fR^\fB3 + 4\fR
 99 \fB1 + 2 + 3\fR^\fB4\fR
100 \fB1\fR^\fB2 + 3\fR^\fB4\fR
101 \fB1 + 2 + 3 + 4\fR
102.TE
103
104.SH Cell alignment + column span
105
106.TS
107allbox, tab(^); lll.
108 =======^=======^=======
109 <^=
110 =
111 =^>
112.TE
113
114.SH Heading alignment + column span
115
116.TS
117allbox, tab(^); lll.
118 \fB=======\fR^\fB=======\fR^\fB=======\fR
119 \fB<\fR^\fB=\fR
120 \fB=\fR
121 \fB=\fR^\fB>\fR
122.TE
123
124.SH Some empty cells
125
126.TS
127allbox, tab(^); lllll.
128 A^B^C^D^
129 F^G^H^^J
130 K^L^^N^O
131 P^^R^S^T
132 ^V^W^X^Y
133.TE
134
135.SH Lines with different number of cells, increase
136
137.TS
138allbox, tab(^); l.
139 1
140 1^2
141 1^2^3
142 1^2^3^4
143 1^2^3^4^5
144.TE
145
146.SH Lines with different number of cells, decrease
147
148.TS
149allbox, tab(^); lllll.
150 1^2^3^4^5
151 1^2^3^4
152 1^2^3
153 1^2
154 1
155.TE
156
157.SH One cell table
158
159.TS
160tab(^); l.
161 Cell 1
162.TE
163
164.SH One cell table + border
165
166.TS
167allbox, tab(^); l.
168 Cell 1
169.TE
170
171.SH One cell table + heading
172
173.TS
174tab(^); l.
175 \fBHead 1\fR
176.TE
177
178.SH One cell table + heading + border
179
180.TS
181allbox, tab(^); l.
182 \fBHead 1\fR
183.TE
184
185.SH Empty lines
186
187.TS
188allbox, tab(^); l.
189 
190 
191 
192.TE
193
194.\" man code generated by txt2tags (http://txt2tags.org)
195.\" cmdline: txt2tags -q --no-rc -i table.t2t -t man