# Insert tables

### Insert a table

To insert a table into the document text,

1. place the cursor where you want the table to be put,
2. switch to the Insert tab of the top toolbar,
3. click the Table icon at the top toolbar,
4. select the option to create a table:

   - either a table with predefined number of cells (10 by 8 cells maximum)

     If you want to quickly add a table, just select the number of rows (8 maximum) and columns (10 maximum).

   - or a custom table

     In case you need more than 10 by 8 cell table, select the Insert Custom Table option that will open the window where you can enter the necessary number of rows and columns respectively, then click the OK button.

5. once the table is added you can change its properties and position.

### Adjust table settings

Some of the table properties as well as its structure can be altered using the right-click menu. The menu options are:

- Cut, Copy, Paste - standard options which are used to cut or copy a selected text/object and paste a previously cut/copied text passage or object to the current cursor position.
- Select is used to select a row, column, cell, or table.
- Insert is used to insert a row above or row below the row where the cursor is placed as well as to insert a column at the left or right side from the column where the cursor is placed.
- Delete is used to delete a row, column or table.
- Merge Cells is available if two or more cells are selected and is used to merge them.
- Split Cell... is used to open a window where you can select the needed number of columns and rows the cell will be split in.
- Cell Vertical Alignment is used to align the text top, center or bottom in the selected cell.
- Text Direction - is used to change the text orientation in a cell. You can place the text horizontally, vertically from top to bottom (Rotate at 90°), or vertically from bottom to top (Rotate at 270°).
- Wrapping Style - Inline is used to select the inline style (when the text is broken by the table) as well as the alignment: left, center, right.
- Wrapping Style - Flow is used to select the flow style when the text is wrapped around the table.
- Table Advanced Settings is used to open the 'Table - Advanced Settings' window.
- Hyperlink is used to insert a hyperlink.
- Paragraph Advanced Settings is used to open the 'Paragraph - Advanced Settings' window.

You can also change the table properties at the right sidebar:

- Rows and Columns are used to select the table parts that you want to be highlighted.

  For rows:

  - Header - to highlight the first row
  - Total - to highlight the last row
  - Banded - to highlight every other row

  For columns:

  - First - to highlight the first column
  - Last - to highlight the last column
  - Banded - to highlight every other column

- Select from Template is used to choose a table template from the available ones.

- Borders Style is used to select the border size, color, style as well as background color.

- Wrapping Style is used to select between two text wrapping styles - inline and flow.

- Rows & Columns is used to perform some operations with the table: select, delete, insert rows and columns, merge cells, split a cell.

- Repeat as header row at the top of each page is used to insert the same header row at the top of each page in long tables.

- Show advanced settings is used to open the 'Table - Advanced Settings' window.

To change the advanced table properties, click the table with the right mouse button and select the Table Advanced Settings option from the right-click menu or use the Show advanced settings link at the right sidebar. The table properties window will open:

The Table tab allows to change properties of the entire table.

- The Table Size section contains the following parameters:
  - Width - by default, the table width is automatically adjusted to fit the page width, i.e. the table occupies all the space between the left and right page margin. You can check this box and specify the necessary table width manually.
  - Measure in - allows to specify if you want to set the table width in absolute units i.e. Centimeters/Points/Inches (depending on the option specified at the File -> Advanced Settings... tab) or in Percent of the overall page width.

    Note: you can also adjust the table size manually changing the row height and column width. Move the mouse cursor over a row/column border until it turns into the bidirectional arrow and drag the border. You can also use the markers on the horizontal ruler to change the column width and the markers on the vertical ruler to change the row height.

  - Automatically resize to fit contents - enables automatic change of each column width in accordance with the text within its cells.
- The Default Cell Margins section allows to change the space between the text within the cells and the cell border used by default.
- The Options section allows to change the following parameter:
  - Spacing between cells - the cell spacing which will be filled with the Table Background color.

The Cell tab allows to change properties of individual cells. First you need to select the cell you want to apply the changes to or select the entire table to change properties of all its cells.

- The Cell Size section contains the following parameters:
  - Preferred width - allows to set a preferred cell width. This is the size that a cell strives to fit to, but in some cases it may not be possible to fit to this exact value. For example, if the text within a cell exceeds the specified width, it will be broken into the next line so that the preferred cell width remains unchanged, but if you insert a new column, the preferred width will be reduced.
  - Measure in - allows to specify if you want to set the cell width in absolute units i.e. Centimeters/Points/Inches (depending on the option specified at the File -> Advanced Settings... tab) or in Percent of the overall table width.

    Note: you can also adjust the cell width manually. To make a single cell in a column wider or narrower than the overall column width, select the necessary cell and move the mouse cursor over its right border until it turns into the bidirectional arrow, then drag the border. To change the width of all the cells in a column, use the markers on the horizontal ruler to change the column width.

- The Cell Margins section allows to adjust the space between the text within the cells and the cell border. By default, standard values are used (the default values can also be altered at the Table tab), but you can uncheck the Use default margins box and enter the necessary values manually.
- The Cell Options section allows to change the following parameter:
  - The Wrap text option is enabled by default. It allows to wrap text within a cell that exceeds its width onto the next line expanding the row height and keeping the column width unchanged.

The Borders & Background tab contains the following parameters:

- Border parameters (size, color and presence or absence) - set the border size, select its color and choose the way it will be displayed in the cells.

  Note: in case you select not to show table borders clicking the button or deselecting all the borders manually on the diagram, they will be indicated by a dotted line in the document. To make them disappear at all, click the Nonprinting characters icon at the Home tab of the top toolbar and select the Hidden Table Borders option.

- Cell Background - the color for the background within the cells (available only if one or more cells are selected or the Allow spacing between cells option is selected at the Table tab).
- Table Background - the color for the table background or the space background between the cells in case the Allow spacing between cells option is selected at the Table tab.

The Table Position tab is available only if the Flow option at the Text Wrapping tab is selected and contains the following parameters:

- Horizontal parameters include the table alignment (left, center, right) relative to margin, page or text as well as the table position to the right of margin, page or text.
- Vertical parameters include the table alignment (top, center, bottom) relative to margin, page or text as well as the table position below margin, page or text.
- The Options section allows to change the following parameters:
  - Move object with text controls whether the table moves as the text into which it is inserted moves.
  - Allow overlap controls whether two tables are merged into one large table or overlap if you drag them near each other on the page.

The Text Wrapping tab contains the following parameters:

- Text wrapping style - Inline or Flow. Use the necessary option to change the way the table is positioned relative to the text: it will either be a part of the text (in case you select the inline style) or bypassed by it from all sides (if you select the flow style).
- After you select the wrapping style, the additional wrapping parameters can be set both for inline and flow wrapping style:
  - For the inline style, you can specify the table alignment and indent from left.
  - For the flow style, you can specify the distance from text and table position at the Table Position tab.

The Alternative Text tab allows to specify a Title and Description which will be read to the people with vision or cognitive impairments to help them better understand what information there is in the table.