PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/test/target/ok/table.sgml

http://txt2tags.googlecode.com/
Unknown | 178 lines | 135 code | 43 blank | 0 comment | 0 complexity | 0d38865af3cb10f1fd6898fd43aaa24a MD5 | raw file
  1<!doctype linuxdoc system>
  2<article>
  3
  4
  5<sect>Simple table<p>
  6
  7<table><tabular ca="lll">
  8Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
  9Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
 10Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
 11</tabular></table>
 12
 13<sect>Simple table + border<p>
 14
 15<table><tabular ca="lll">
 16Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
 17Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
 18Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
 19</tabular></table>
 20
 21<sect>Simple table + heading<p>
 22
 23<table><tabular ca="lll">
 24Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
 25Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
 26Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
 27Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
 28</tabular></table>
 29
 30<sect>Simple table + heading + border<p>
 31
 32<table><tabular ca="lll">
 33Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
 34Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
 35Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
 36Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
 37</tabular></table>
 38
 39<sect>Simple table + heading + border + footer<p>
 40
 41<table><tabular ca="lll">
 42Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
 43Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
 44Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
 45Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3<rowsep>
 46Foot 1-1<colsep>Foot 1-2<colsep>Foot 1-3
 47</tabular></table>
 48
 49<sect>Simple table + heading + border + centralized<p>
 50
 51<table><tabular ca="lll">
 52Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
 53Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
 54Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
 55Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
 56</tabular></table>
 57
 58<sect>Cell alignment<p>
 59
 60<table><tabular ca="ll">
 61=======<colsep>=======<rowsep>
 62&lt;<colsep>&gt;<rowsep>
 63=<colsep>=<rowsep>
 64&gt;<colsep>&lt;
 65</tabular></table>
 66
 67<sect>Heading alignment<p>
 68
 69<table><tabular ca="ll">
 70=======<colsep>=======<rowsep>
 71&lt;<colsep>&gt;<rowsep>
 72=<colsep>=<rowsep>
 73&gt;<colsep>&lt;
 74</tabular></table>
 75
 76<sect>Column span for cells<p>
 77
 78<table><tabular ca="llll">
 791<colsep>2<colsep>3<colsep>4<rowsep>
 801<colsep>2<colsep>3 + 4<rowsep>
 811 + 2 + 3<colsep>4<rowsep>
 821<colsep>2 + 3<colsep>4<rowsep>
 831 + 2 + 3 + 4
 84</tabular></table>
 85
 86<sect>Column span for headings<p>
 87
 88<table><tabular ca="llll">
 891<colsep>2<colsep>3<colsep>4<rowsep>
 901<colsep>2<colsep>3 + 4<rowsep>
 911 + 2 + 3<colsep>4<rowsep>
 921<colsep>2 + 3<colsep>4<rowsep>
 931 + 2 + 3 + 4
 94</tabular></table>
 95
 96<sect>Cell alignment + column span<p>
 97
 98<table><tabular ca="lll">
 99=======<colsep>=======<colsep>=======<rowsep>
100&lt;<colsep>=<rowsep>
101=<rowsep>
102=<colsep>&gt;
103</tabular></table>
104
105<sect>Heading alignment + column span<p>
106
107<table><tabular ca="lll">
108=======<colsep>=======<colsep>=======<rowsep>
109&lt;<colsep>=<rowsep>
110=<rowsep>
111=<colsep>&gt;
112</tabular></table>
113
114<sect>Some empty cells<p>
115
116<table><tabular ca="lllll">
117A<colsep>B<colsep>C<colsep>D<colsep><rowsep>
118F<colsep>G<colsep>H<colsep><colsep>J<rowsep>
119K<colsep>L<colsep><colsep>N<colsep>O<rowsep>
120P<colsep><colsep>R<colsep>S<colsep>T<rowsep>
121<colsep>V<colsep>W<colsep>X<colsep>Y
122</tabular></table>
123
124<sect>Lines with different number of cells, increase<p>
125
126<table><tabular ca="l">
1271<rowsep>
1281<colsep>2<rowsep>
1291<colsep>2<colsep>3<rowsep>
1301<colsep>2<colsep>3<colsep>4<rowsep>
1311<colsep>2<colsep>3<colsep>4<colsep>5
132</tabular></table>
133
134<sect>Lines with different number of cells, decrease<p>
135
136<table><tabular ca="lllll">
1371<colsep>2<colsep>3<colsep>4<colsep>5<rowsep>
1381<colsep>2<colsep>3<colsep>4<rowsep>
1391<colsep>2<colsep>3<rowsep>
1401<colsep>2<rowsep>
1411
142</tabular></table>
143
144<sect>One cell table<p>
145
146<table><tabular ca="l">
147Cell 1
148</tabular></table>
149
150<sect>One cell table + border<p>
151
152<table><tabular ca="l">
153Cell 1
154</tabular></table>
155
156<sect>One cell table + heading<p>
157
158<table><tabular ca="l">
159Head 1
160</tabular></table>
161
162<sect>One cell table + heading + border<p>
163
164<table><tabular ca="l">
165Head 1
166</tabular></table>
167
168<sect>Empty lines<p>
169
170<table><tabular ca="l">
171<rowsep>
172<rowsep>
173
174</tabular></table>
175
176<!-- sgml code generated by txt2tags (http://txt2tags.org) -->
177<!-- cmdline: txt2tags -q -\-no-rc -i table.t2t -t sgml -->
178</article>