2007-07-08 05:11:26 +02:00
|
|
|
|
Simple table with caption:
|
|
|
|
|
|
2017-02-11 22:36:47 +01:00
|
|
|
|
.. table:: Demonstration of simple table syntax.
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
2017-03-23 14:59:51 +01:00
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| Right | Left | Center | Default |
|
|
|
|
|
+=======+======+========+=========+
|
|
|
|
|
| 12 | 12 | 12 | 12 |
|
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| 123 | 123 | 123 | 123 |
|
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| 1 | 1 | 1 | 1 |
|
|
|
|
|
+-------+------+--------+---------+
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
|
|
|
|
Simple table without caption:
|
|
|
|
|
|
2017-03-23 14:59:51 +01:00
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| Right | Left | Center | Default |
|
|
|
|
|
+=======+======+========+=========+
|
|
|
|
|
| 12 | 12 | 12 | 12 |
|
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| 123 | 123 | 123 | 123 |
|
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| 1 | 1 | 1 | 1 |
|
|
|
|
|
+-------+------+--------+---------+
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
|
|
|
|
Simple table indented two spaces:
|
|
|
|
|
|
2017-02-11 22:36:47 +01:00
|
|
|
|
.. table:: Demonstration of simple table syntax.
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
2017-03-23 14:59:51 +01:00
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| Right | Left | Center | Default |
|
|
|
|
|
+=======+======+========+=========+
|
|
|
|
|
| 12 | 12 | 12 | 12 |
|
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| 123 | 123 | 123 | 123 |
|
|
|
|
|
+-------+------+--------+---------+
|
|
|
|
|
| 1 | 1 | 1 | 1 |
|
|
|
|
|
+-------+------+--------+---------+
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
|
|
|
|
Multiline table with caption:
|
|
|
|
|
|
2017-02-11 22:36:47 +01:00
|
|
|
|
.. table:: Here’s the caption. It may span multiple lines.
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
2018-04-21 22:06:57 +02:00
|
|
|
|
+----------+---------+-----------+--------------------------+
|
|
|
|
|
| Centered | Left | Right | Default aligned |
|
|
|
|
|
| Header | Aligned | Aligned | |
|
|
|
|
|
+==========+=========+===========+==========================+
|
|
|
|
|
| First | row | 12.0 | Example of a row that |
|
|
|
|
|
| | | | spans multiple lines. |
|
|
|
|
|
+----------+---------+-----------+--------------------------+
|
|
|
|
|
| Second | row | 5.0 | Here’s another one. Note |
|
|
|
|
|
| | | | the blank line between |
|
|
|
|
|
| | | | rows. |
|
|
|
|
|
+----------+---------+-----------+--------------------------+
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
|
|
|
|
Multiline table without caption:
|
|
|
|
|
|
2018-04-21 22:06:57 +02:00
|
|
|
|
+----------+---------+-----------+--------------------------+
|
|
|
|
|
| Centered | Left | Right | Default aligned |
|
|
|
|
|
| Header | Aligned | Aligned | |
|
|
|
|
|
+==========+=========+===========+==========================+
|
|
|
|
|
| First | row | 12.0 | Example of a row that |
|
|
|
|
|
| | | | spans multiple lines. |
|
|
|
|
|
+----------+---------+-----------+--------------------------+
|
|
|
|
|
| Second | row | 5.0 | Here’s another one. Note |
|
|
|
|
|
| | | | the blank line between |
|
|
|
|
|
| | | | rows. |
|
|
|
|
|
+----------+---------+-----------+--------------------------+
|
2007-07-08 05:11:26 +02:00
|
|
|
|
|
2010-03-11 04:01:27 +01:00
|
|
|
|
Table without column headers:
|
|
|
|
|
|
2017-03-23 14:59:51 +01:00
|
|
|
|
+-----+-----+-----+-----+
|
|
|
|
|
| 12 | 12 | 12 | 12 |
|
|
|
|
|
+-----+-----+-----+-----+
|
|
|
|
|
| 123 | 123 | 123 | 123 |
|
|
|
|
|
+-----+-----+-----+-----+
|
|
|
|
|
| 1 | 1 | 1 | 1 |
|
|
|
|
|
+-----+-----+-----+-----+
|
2010-03-11 04:01:27 +01:00
|
|
|
|
|
|
|
|
|
Multiline table without column headers:
|
|
|
|
|
|
2018-04-21 22:06:57 +02:00
|
|
|
|
+----------+---------+-----------+--------------------------+
|
|
|
|
|
| First | row | 12.0 | Example of a row that |
|
|
|
|
|
| | | | spans multiple lines. |
|
|
|
|
|
+----------+---------+-----------+--------------------------+
|
|
|
|
|
| Second | row | 5.0 | Here’s another one. Note |
|
|
|
|
|
| | | | the blank line between |
|
|
|
|
|
| | | | rows. |
|
|
|
|
|
+----------+---------+-----------+--------------------------+
|