An example of table where cells are *too-much* surrounded by borders.

This is how we write in `reStructuredText`

```
+-----------------+------------------+
| Logic Table |
+-----------------+------------------+
| Inputs | Output |
+---------+-------+--------+---------+
| A | B | A or B | A and B |
+=========+=======+========+=========+
| False | False | False | False |
+---------+-------+--------+---------+
| False | True | True | False |
+---------+-------+--------+---------+
| True | False | True | False |
+---------+-------+--------+---------+
| True | False | True | True |
+---------+-------+--------+---------+
```

The `reStructuredText`

text shown above is represented as shown below...

Logic Table | |||
---|---|---|---|

Inputs | Output | ||

A | B | A or B | A and B |

False | False | False | False |

False | True | True | False |

True | False | True | False |

True | False | True | True |

An example of table where cells are *less* surrounded by borders.

This is how we write in `reStructuredText`

```
.. tabularcolumns:: |C|C|C|C|
====== ======== ========= ==========
A B A xor B A xnor B
====== ======== ========= ==========
False False False True
False True True False
True False True False
True True False True
====== ======== ========= ==========
```

The `reStructuredText`

text shown above is represented as shown below...

A | B | A xor B | A xnor B |
---|---|---|---|

False | False | False | True |

False | True | True | False |

True | False | True | False |

True | True | False | True |

An example of table where input text is like a list.

This is how we write in `reStructuredText`

```
.. list-table:: Bytes and Sizes
:header-rows: 1
:stub-columns: 1
* - Name
- Prefix
- x\ :sup:`n`
* - Kilo
- Ki
- 2\ :sup:`10`
* - Mega
- Mi
- 1024\ :sup:`2`
* - Giga
- Gi
- 1024\ :sup:`3`
* - Tera
- Ti
- 1024\ :sup:`4`
* - Peta
- Pi
- 1024\ :sup:`5`
* - Exa
- Ei
- 1024\ :sup:`6`
* - Zetta
- Zi
- 1024\ :sup:`7`
* - Yotta
- Yi
- 1024\ :sup:`8`
```

The `reStructuredText`

text shown above is represented as shown below...

Name | Prefix | x^{n} |
---|---|---|

Kilo | Ki | 2^{10} |

Mega | Mi | 1024^{2} |

Giga | Gi | 1024^{3} |

Tera | Ti | 1024^{4} |

Peta | Pi | 1024^{5} |

Exa | Ei | 1024^{6} |

Zetta | Zi | 1024^{7} |

Yotta | Yi | 1024^{8} |

See more at

- Table in
`reStructuredText`

Directives. - CSV Table in
`reStructuredText`

Directives. - List Table in
`reStructuredText`

Directives. - Grid Tables in
`reStructuredText`

Markup Specification. - Simple Tables in
`reStructuredText`

Markup Specification.