Debian Codegraph @

docs/tables/table-auto2.xml

raw
1 <informaltable><?dblatex table-width="autowidth.default"?>
2 <!-- Example with specified PI autowidth -->
3 <tgroup cols="4" colsep="1" rowsep="1" align="left">
4 <colspec colname="c1"/> <!-- 'default' and 'all' apply on this column -->
5 <colspec align="left" colwidth="*"/> <!-- only 'all' applies on this column -->
6 <colspec align="right" colwidth="5cm"/>
7 <colspec align="center" colwidth="3cm"/>
8 <thead>
9 <row>
10 <entry>Column 1</entry>
11 <entry>Column 2</entry>
12 <entry>Column 3</entry>
13 <entry>Column 4</entry>
14 </row>
15 </thead>
16 <tbody>
17 <row>
18 <entry morerows="3">cell on 4 lines
19 </entry><entry>simple cell
20 </entry><entry morerows="1">cell on 2 lines
21 </entry><entry>cell without morerow attribute
22 </entry></row>
23 <row>
24 <entry>cell in column 2
25 </entry><entry morerows="1">cell on 2
26 lines
27 </entry></row>
28 <row>
29 <entry morerows="1">left aligned on 2 lines
30 </entry><entry>cell in line 3, column 3
31 </entry></row>
32 <row>
33 <entry>4 cm column width
34 </entry><entry>last cell in column 4
35 </entry></row>
36 </tbody>
37 </tgroup>
38 </informaltable>
39