2007-07-15 04:56:34 +02:00
|
|
|
Simple table with caption:
|
|
|
|
|
2018-01-22 21:15:59 +01:00
|
|
|
\startplacetable[title={Demonstration of simple table syntax.}]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxtable
|
|
|
|
\startxtablehead[head]
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] Right \stopxcell
|
|
|
|
\startxcell[align=right] Left \stopxcell
|
|
|
|
\startxcell[align=middle] Center \stopxcell
|
|
|
|
\startxcell Default \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablehead
|
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 12 \stopxcell
|
|
|
|
\startxcell[align=right] 12 \stopxcell
|
|
|
|
\startxcell[align=middle] 12 \stopxcell
|
|
|
|
\startxcell 12 \stopxcell
|
|
|
|
\stopxrow
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 123 \stopxcell
|
|
|
|
\startxcell[align=right] 123 \stopxcell
|
|
|
|
\startxcell[align=middle] 123 \stopxcell
|
|
|
|
\startxcell 123 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 1 \stopxcell
|
|
|
|
\startxcell[align=right] 1 \stopxcell
|
|
|
|
\startxcell[align=middle] 1 \stopxcell
|
|
|
|
\startxcell 1 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Simple table without caption:
|
|
|
|
|
2018-01-16 02:38:33 +01:00
|
|
|
\startplacetable[location=none]
|
|
|
|
\startxtable
|
|
|
|
\startxtablehead[head]
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] Right \stopxcell
|
|
|
|
\startxcell[align=right] Left \stopxcell
|
|
|
|
\startxcell[align=middle] Center \stopxcell
|
|
|
|
\startxcell Default \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablehead
|
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 12 \stopxcell
|
|
|
|
\startxcell[align=right] 12 \stopxcell
|
|
|
|
\startxcell[align=middle] 12 \stopxcell
|
|
|
|
\startxcell 12 \stopxcell
|
|
|
|
\stopxrow
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 123 \stopxcell
|
|
|
|
\startxcell[align=right] 123 \stopxcell
|
|
|
|
\startxcell[align=middle] 123 \stopxcell
|
|
|
|
\startxcell 123 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 1 \stopxcell
|
|
|
|
\startxcell[align=right] 1 \stopxcell
|
|
|
|
\startxcell[align=middle] 1 \stopxcell
|
|
|
|
\startxcell 1 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Simple table indented two spaces:
|
|
|
|
|
2018-01-22 21:15:59 +01:00
|
|
|
\startplacetable[title={Demonstration of simple table syntax.}]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxtable
|
|
|
|
\startxtablehead[head]
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] Right \stopxcell
|
|
|
|
\startxcell[align=right] Left \stopxcell
|
|
|
|
\startxcell[align=middle] Center \stopxcell
|
|
|
|
\startxcell Default \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablehead
|
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 12 \stopxcell
|
|
|
|
\startxcell[align=right] 12 \stopxcell
|
|
|
|
\startxcell[align=middle] 12 \stopxcell
|
|
|
|
\startxcell 12 \stopxcell
|
|
|
|
\stopxrow
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 123 \stopxcell
|
|
|
|
\startxcell[align=right] 123 \stopxcell
|
|
|
|
\startxcell[align=middle] 123 \stopxcell
|
|
|
|
\startxcell 123 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 1 \stopxcell
|
|
|
|
\startxcell[align=right] 1 \stopxcell
|
|
|
|
\startxcell[align=middle] 1 \stopxcell
|
|
|
|
\startxcell 1 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Multiline table with caption:
|
|
|
|
|
2018-01-22 21:15:59 +01:00
|
|
|
\startplacetable[title={Here's the caption. It may span multiple lines.}]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxtable
|
|
|
|
\startxtablehead[head]
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] Centered Header \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] Left Aligned \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] Right Aligned \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[align=right,width={0.35\textwidth}] Default aligned \stopxcell
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablehead
|
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] First \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] row \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] 12.0 \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[align=right,width={0.35\textwidth}] Example of a row that spans
|
2018-01-16 02:38:33 +01:00
|
|
|
multiple lines. \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] Second \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] row \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] 5.0 \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[align=right,width={0.35\textwidth}] Here's another one. Note the
|
2018-01-16 02:38:33 +01:00
|
|
|
blank line between rows. \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|
2007-07-15 04:56:34 +02:00
|
|
|
|
|
|
|
Multiline table without caption:
|
|
|
|
|
2018-01-16 02:38:33 +01:00
|
|
|
\startplacetable[location=none]
|
|
|
|
\startxtable
|
|
|
|
\startxtablehead[head]
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] Centered Header \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] Left Aligned \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] Right Aligned \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[align=right,width={0.35\textwidth}] Default aligned \stopxcell
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablehead
|
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] First \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] row \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] 12.0 \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[align=right,width={0.35\textwidth}] Example of a row that spans
|
2018-01-16 02:38:33 +01:00
|
|
|
multiple lines. \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] Second \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] row \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] 5.0 \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[align=right,width={0.35\textwidth}] Here's another one. Note the
|
2018-01-16 02:38:33 +01:00
|
|
|
blank line between rows. \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|
2010-03-07 20:35:47 +01:00
|
|
|
|
|
|
|
Table without column headers:
|
|
|
|
|
2018-01-16 02:38:33 +01:00
|
|
|
\startplacetable[location=none]
|
|
|
|
\startxtable
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxtablehead[head]
|
|
|
|
\stopxtablehead
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 12 \stopxcell
|
|
|
|
\startxcell[align=right] 12 \stopxcell
|
|
|
|
\startxcell[align=middle] 12 \stopxcell
|
|
|
|
\startxcell[align=left] 12 \stopxcell
|
|
|
|
\stopxrow
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 123 \stopxcell
|
|
|
|
\startxcell[align=right] 123 \stopxcell
|
|
|
|
\startxcell[align=middle] 123 \stopxcell
|
|
|
|
\startxcell[align=left] 123 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=left] 1 \stopxcell
|
|
|
|
\startxcell[align=right] 1 \stopxcell
|
|
|
|
\startxcell[align=middle] 1 \stopxcell
|
|
|
|
\startxcell[align=left] 1 \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|
2010-03-07 20:35:47 +01:00
|
|
|
|
|
|
|
Multiline table without column headers:
|
|
|
|
|
2018-01-16 02:38:33 +01:00
|
|
|
\startplacetable[location=none]
|
|
|
|
\startxtable
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxtablehead[head]
|
|
|
|
\stopxtablehead
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxtablebody[body]
|
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] First \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] row \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] 12.0 \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[width={0.35\textwidth}] Example of a row that spans multiple
|
2018-01-16 02:38:33 +01:00
|
|
|
lines. \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\startxrowgroup[lastrow]
|
2018-01-16 02:38:33 +01:00
|
|
|
\startxrow
|
|
|
|
\startxcell[align=middle,width={0.15\textwidth}] Second \stopxcell
|
|
|
|
\startxcell[align=right,width={0.14\textwidth}] row \stopxcell
|
|
|
|
\startxcell[align=left,width={0.16\textwidth}] 5.0 \stopxcell
|
2018-04-21 22:06:57 +02:00
|
|
|
\startxcell[width={0.35\textwidth}] Here's another one. Note the blank line
|
2018-01-16 02:38:33 +01:00
|
|
|
between rows. \stopxcell
|
|
|
|
\stopxrow
|
2022-06-21 19:22:34 +02:00
|
|
|
\stopxrowgroup
|
|
|
|
\stopxtablebody
|
|
|
|
\startxtablefoot[foot]
|
2018-01-16 02:38:33 +01:00
|
|
|
\stopxtablefoot
|
|
|
|
\stopxtable
|
|
|
|
\stopplacetable
|