pandoc/tests/tables.man
fiddlosopher de72aea6b4 Brought test suite up to date.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@828 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-28 19:15:30 +00:00

205 lines
1.6 KiB
Groff

.PP
Simple table with caption:
.PP
Demonstration of simple table syntax\.
.TS
tab(@);
rw(10.50n) lw(6.13n) cw(11.38n) lw(8.75n).
T{
Right
T}@T{
Left
T}@T{
Center
T}@T{
Default
T}
_
T{
12
T}@T{
12
T}@T{
12
T}@T{
12
T}
T{
123
T}@T{
123
T}@T{
123
T}@T{
123
T}
T{
1
T}@T{
1
T}@T{
1
T}@T{
1
T}
.TE
.PP
Simple table without caption:
.PP
.TS
tab(@);
rw(10.50n) lw(6.13n) cw(11.38n) lw(8.75n).
T{
Right
T}@T{
Left
T}@T{
Center
T}@T{
Default
T}
_
T{
12
T}@T{
12
T}@T{
12
T}@T{
12
T}
T{
123
T}@T{
123
T}@T{
123
T}@T{
123
T}
T{
1
T}@T{
1
T}@T{
1
T}@T{
1
T}
.TE
.PP
Simple table indented two spaces:
.PP
Demonstration of simple table syntax\.
.TS
tab(@);
rw(10.50n) lw(6.13n) cw(11.38n) lw(8.75n).
T{
Right
T}@T{
Left
T}@T{
Center
T}@T{
Default
T}
_
T{
12
T}@T{
12
T}@T{
12
T}@T{
12
T}
T{
123
T}@T{
123
T}@T{
123
T}@T{
123
T}
T{
1
T}@T{
1
T}@T{
1
T}@T{
1
T}
.TE
.PP
Multiline table with caption:
.PP
Here\[aq]s the caption\. It may span multiple lines\.
.TS
tab(@);
cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
T{
Centered Header
T}@T{
Left Aligned
T}@T{
Right Aligned
T}@T{
Default aligned
T}
_
T{
First
T}@T{
row
T}@T{
12\.0
T}@T{
Example of a row that spans multiple lines\.
T}
T{
Second
T}@T{
row
T}@T{
5\.0
T}@T{
Here\[aq]s another one\. Note the blank line between rows\.
T}
.TE
.PP
Multiline table without caption:
.PP
.TS
tab(@);
cw(10.50n) lw(9.63n) rw(11.38n) lw(23.63n).
T{
Centered Header
T}@T{
Left Aligned
T}@T{
Right Aligned
T}@T{
Default aligned
T}
_
T{
First
T}@T{
row
T}@T{
12\.0
T}@T{
Example of a row that spans multiple lines\.
T}
T{
Second
T}@T{
row
T}@T{
5\.0
T}@T{
Here\[aq]s another one\. Note the blank line between rows\.
T}
.TE