1. Introduction to Tables
A table is a grid of Rows (horizontal) and Columns (vertical) that intersect to form Cells. Tables are incredibly useful in word processing software like LibreOffice Writer for structuring data, creating schedules, formatting resumes, or presenting comparisons in an easily readable format.
Basic Definitions
- Row: The horizontal series of cells.
- Column: The vertical series of cells.
- Cell: The basic unit of a table formed by the intersection of a row and a column.
2. Insert & Draw Table Methods
There are multiple ways to insert a table into your document in LibreOffice Writer:
Using the Menu
Go to Table > Insert Table (or press Ctrl + F12). A dialog box will appear asking you to specify the number of columns and rows. You can also name the table and choose a preset style.
Using the Standard Toolbar
Click the small arrow next to the Table icon on the standard toolbar. A grid will drop down. Drag your mouse over the grid to select the desired number of rows and columns, then click.
3. Selecting Table Elements
Before you can modify a table, you need to select the appropriate parts:
| Element | How to Select |
|---|---|
| Single Cell | Click inside the cell and drag slightly, or hover over the left edge of the cell until the cursor changes to an arrow and click. |
| Row | Move the cursor to the left margin just outside the row. When the cursor turns into an arrow, click once. |
| Column | Move the cursor just above the column. When it turns into a downward-pointing arrow, click once. |
| Entire Table | Click anywhere inside the table and press Ctrl + A (sometimes requires pressing it twice depending on cursor focus) or go to Table > Select > Table. |
4. Changing Cell Width and Height
You can adjust the dimensions of rows and columns to fit your content:
- Manual Dragging: Hover your mouse pointer over a border line until it changes to a double-headed arrow. Click and drag to resize.
- Precise Measurement: Right-click inside the table, choose Table Properties, and navigate to the Columns or Row tab to enter exact dimensions.
5. Alignment of Text in Cells
Proper text alignment makes tables look professional. In tables, you deal with two dimensions of alignment:
Horizontal Alignment
Controls left-to-right placement. Use the standard toolbar buttons:
- Left (Ctrl+L)
- Center (Ctrl+E)
- Right (Ctrl+R)
- Justify (Ctrl+J)
Vertical Alignment
Controls top-to-bottom placement. Use the Table toolbar or Right-click > Cell:
- Top: Aligns text to the top edge.
- Center: Centers text vertically (highly recommended for headings).
- Bottom: Aligns text to the bottom edge.
6. Delete & Insertion of Row and Column
Tables often need adjustment after creation. You can easily add or remove parts:
- Insertion: Right-click a cell, go to Insert, and select Rows Above, Rows Below, Columns Before, or Columns After.
- Deletion: Right-click the cell, go to Delete, and choose Rows, Columns, or Table.
7. Merging & Splitting of Cells
To create complex layouts (like spanning a title across multiple columns), you will need to merge and split cells.
Merging vs. Splitting
Merging: Combines two or more adjacent cells into a single, larger cell. Select the cells, right-click, and choose Merge Cells.
Splitting: Divides a single cell into multiple smaller cells. Right-click the cell, choose Split Cells, and define whether to split horizontally or vertically.
8. Border and Shading for Tables
Formatting makes data stand out:
- Borders: Define the thickness, style (solid, dashed), and color of table lines. You can remove borders completely for invisible tables used purely for layout.
- Shading (Background): Apply background colors to specific cells, rows (like headers), or the entire table to improve readability.
Access these via Right-click > Table Properties > Borders / Background tabs.
9. Table Properties Dialog Box
The Table Properties dialog is the ultimate control center for all table-related formatting. It includes tabs for:
| Table: | Set overall table alignment (Left, Center, Right on the page) and spacing. |
| Text Flow: | Manage page breaks within tables and repeat heading rows on new pages. |
| Columns: | Set exact widths for individual columns. |
| Borders/Background: | Design the visual appearance of borders and fill colors. |