File: table-auto2.xml

package info (click to toggle)
dblatex 0.3.4-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 12,004 kB
  • sloc: xml: 100,126; python: 5,478; makefile: 137; sh: 70
file content (39 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<informaltable><?dblatex table-width="autowidth.default"?>
<!-- Example with specified PI autowidth -->
<tgroup cols="4" colsep="1" rowsep="1" align="left">
<colspec colname="c1"/> <!-- 'default' and 'all' apply on this column -->
<colspec align="left" colwidth="*"/> <!-- only 'all' applies on this column -->
<colspec align="right" colwidth="5cm"/>
<colspec align="center" colwidth="3cm"/>
<thead>
<row>
<entry>Column 1</entry>
<entry>Column 2</entry>
<entry>Column 3</entry>
<entry>Column 4</entry>
</row>
</thead>
<tbody>
<row>
<entry morerows="3">cell on 4 lines
</entry><entry>simple cell
</entry><entry morerows="1">cell on 2 lines
</entry><entry>cell without morerow attribute
</entry></row>
<row>
<entry>cell in column 2
</entry><entry morerows="1">cell on 2
lines
</entry></row>
<row>
<entry morerows="1">left aligned on 2 lines
</entry><entry>cell in line 3, column 3
</entry></row>
<row>
<entry>4 cm column width
</entry><entry>last cell in column 4
</entry></row>
</tbody>
</tgroup>
</informaltable>