# Working with Tables

Amaya does not contain a separate table editor. To Amaya, a table is simply a structure described by the HTML document type definition (DTD) and it is edited as such. The same commands apply to tables as to other HTML structures, with a few additional ones.

To extend a cell:

1. To extend a cell to the next cell at the right, select the Join with the cell at the right entry in the Table sub-menu (`Ctrl t Ctrl e`).
2. To extend a cell to the next below, select the Join with the cell below entry in the Table sub-menu (`Ctrl t Ctrl j`).
3. To shrink the horizontal extension of the cell of one position, select the Shrink horizontal extend entry in the Table sub-menu (`Ctrl t Ctrl s`).
4. To shrink the vertical extension of the cell of one position, select the Shrink vertical extend entry in the Table sub-menu (`Ctrl t Ctrl m`).

Cell extensions can be also changed by editing colspan and rowspan attributes.

To add something after a table:

Many element types can be inserted within a table cell. To go out of the table and add any element after a table it's necessary to select the table element (use `F2`) and press the Enter key. Amaya will create a new paragraph after the selected table. Then the created paragraph can be replaced by another element.

For more information on working with tables, see the following:

- Creating a Table
- Adding a Column to a Table
- Adding a Row to a Table
- Adding a Table Body to a Table
- Removing/Copying/Pasting a Column from a Table