Change - Tables

Created on Oct. 26, 2012, 1:09 p.m. by Hevok & updated on Nov. 10, 2012, 1:27 p.m. by Hevok

reST features two synthaxes for tables. Grid tables are complete but a lot of work, while simple tables are easy to create but limited (now raw spans, etc.). ¶
¶
---- ¶
¶
**Grid table:** ¶
¶
+------------+------------+------------+ ¶
| Header 1 | Header 2 | Header 3 | ¶
+============+============+============+ ¶
| body row 1 | column 2 | column 3 | ¶
+------------+------------+------------+ ¶
| body row 2 | Cells may span columns. | ¶
+------------+------------+------------+ ¶
| body row 3 | Cells may | - Cells | ¶
+------------+ span rowns | - contain | ¶
| body row 4 | | - blocks. | ¶
+------------+------------+------------+ ¶
¶
---- ¶
¶
**Simple table:** ¶
¶
===== ===== ====== ¶
Inputs Output ¶
------------ ------ ¶
A B A or B ¶
===== ===== ====== ¶
False False False ¶
True False True ¶
False True True ¶
True True True ¶
===== ===== ====== ¶
¶
---- ¶
¶
The table directive can be used to create a titled table: ¶
¶
.. table:: Denigma's Aspects ¶
¶
========== =========== ======= ¶
Research Programming Design ¶
========== =========== ======= ¶
Scientists Developers Artists ¶
Ranks Grades Titles ¶
========== =========== ======= ¶
¶
---- ¶
¶
To refer to a table a simple hyperlink can be declared, i.e. creating a hyper-table_. ¶
¶
..
_hyper-table: ¶
¶
+--------------+------+ ¶
|Attribute |value | ¶
+==============+======+ ¶
|implementation|simple|
¶
+--------------+------+ ¶
|usability |high | ¶
+--------------+------+ ¶
|acceptance |yes | ¶
+--------------+------+

System Message: WARNING/2 (, line 3); backlink

Inline substitution_reference start-string without end-string.

System Message: WARNING/2 (, line 3); backlink

Inline substitution_reference start-string without end-string.

Docutils System Messages

System Message: ERROR/3 (, line 3); backlink

Undefined substitution referenced: "value | ¶
+==============+======+ ¶
|implementation|simple".

System Message: ERROR/3 (, line 3); backlink

Unknown target name: "hyper-table".

Comment: Updated entry

Comment on This Data Unit