How to Add Tables to Your Book
A table sets information out in rows and columns, with a header row on top. Add one from the editor toolbar, then style every table in your book at once from its panel.
How to add a table
-
Click in the paragraph the table should follow.
-
In the editor toolbar, click Insert Table, point at the grid to choose rows and columns (up to 5 by 8), and click.
The table goes below that paragraph. A table of two rows or more starts with a header row. Click in a cell to type or paste.
Importing a Word document? Its tables come in with it, header row included. See what gets imported.
How to add rows and columns
Click in the table, and + buttons appear around it.
| Click | To |
|---|---|
| + beside a row | Add row above or Add row below it. |
| + under the table | Add a row at the end. |
| + at the right of the table | Add column before selection or Add column after selection (beside the column you clicked in), or Add column at the beginning or at the end. |
How to delete a row, a column or a table
- A row or a column: drag across every cell in it to select them, then press Backspace on Windows and Linux, Delete on a MacDeleteBackspace.
- A table: click Delete table (the bin) in the table’s toolbar.
Deleting a table’s only row or only column deletes the table. Changed your mind? Press Ctrl/Cmd+Z⌘ Cmd+ZCtrl+Z.
The table’s toolbar
Click in a table, and its toolbar shows above it.
| Click | To |
|---|---|
| Preset | Choose this table’s preset. |
| Edit Table Style (the pencil) | Open the Table panel and style your tables. |
| Merge cells | Join the cells you selected into one. |
| Split cell | Split a merged cell back into its cells. |
| Toggle header row | Make the first row a header row, or a plain row again. |
| Toggle header column | Make the first column header cells, styled like the header row. |
| The settings button | A menu: Avoid splitting across pages, Set column widths and Reset column widths. |
| Delete table | Remove the whole table. |
How to set column widths
Drag the line between two columns: what one gains, the other loses. For exact widths, type them in.
-
Click the table’s settings button and choose Set column widths. A percentage shows above each column.
-
Type the width you want and press EnterEnterEnter. The other columns adjust so the table still fills the width.
Reset column widths in the same menu makes every column equal again.
How to keep a table on one page
A table splits across pages when it runs out of room. To keep a short table in one piece, click its settings button and tick Avoid splitting across pages: a table that would split moves whole to the next page, and the settings button turns blue. Leave it off for a long table.
| Where | A table kept in one piece |
|---|---|
| Print-ready PDF | Moves whole to the next page. |
| Apple Books and NOOK | Moves whole to the next page. |
| Kindle | Splits between rows, never inside one. |
| Kobo and Google Play Books | Splits like any other text. |
How to style your tables
-
Click in a table, then click the pencil in its toolbar (Edit Table Style).
-
Set it up on the Table, Header Row and Data Cells tabs, and click Apply.
Every table on the same preset changes with it. In the e-reader preview, point at a table and click Edit to open the same panel.
Text in a cell lines up on the left. To center a cell, click in it and click Align Center in the editor toolbar.
| Table tab | Sets |
|---|---|
| Spacing Around Table | The space above and below the table, up to 100 px: together (Top / Bottom) or one by one. |
| Border | The line around the whole table, up to 10 px: all four sides, in pairs, or one by one. |
| Color | The outer line’s color. Default follows your book’s Border color in print, and black when none is set. |
| Trim Top Spacing at Page Start | Removes the space above a table that starts a new page. Print only. |
| Trim Top Spacing at Section Start | Removes the space above a table that is the first thing in a section. Print and e-books. |
| Header Row tab | Sets |
|---|---|
| Background | The header row’s band. Default is gray. |
| Text Color | The header row’s text. Default is black. |
| Font | The header’s typeface. Inherit uses your body text’s font. |
| Size | 5 to 40 pt. |
| Weight | How heavy the letters are, with an italic button beside it. |
| Transform | None, or CAPS for capitals. |
| Bottom | The line under the header row, up to 10 px. |
| Column | The lines between header cells, up to 10 px. |
| Color | The color of both lines. Default works as it does for the outer border. |
| Inside Cells | The room inside each header cell, up to 50 px: all four sides, in pairs, or one by one. |
| Repeat Header | On to start: a table that continues onto another page shows its header row again at the top of it. |
| Data Cells tab | Sets |
|---|---|
| Font | The cells’ typeface. Inherit uses your body text’s font. |
| Size | 5 to 40 pt. |
| Row | The lines between rows, up to 10 px. |
| Column | The lines between columns, up to 10 px. |
| Color | The color of both lines. Default works as it does for the outer border. |
| Alternate Row Colors | Shades every second row so a wide table is easier to read across. Row Color (light gray to start) shows once it is on. |
| Inside Cells | The room inside each cell, up to 50 px: all four sides, in pairs, or one by one. |
How to use presets for tables
Every table uses the Default preset until you choose another, so styling one table styles them all. To give some tables a look of their own, put them on another preset.
Make a preset for a table
-
Click in the table, open the toolbar’s Preset box and choose Create New Preset….
-
Give it a name and click Create Group and Preset. The table now uses it.
A new preset starts from Lacuna’s standard table look, not from your Default. Click the pencil to style it. More on preset groups: Presets.
Choose a preset for a table
-
Click in the table and open the Preset box in its toolbar.
-
Choose a preset. Click the pencil beside it to style that preset.
How tables look in print and on e-readers
| Where | Your reader sees |
|---|---|
| Print-ready PDF | A long table continues on the next page, with its header row repeated when Repeat Header is on. |
| E-books | The table fills the screen’s width, each column keeps its share, and long words wrap inside their cells. |
| Kindle | A table with borders sits slightly in from the text, with a small zoom icon below it. The Kindle previews show it. |
| DOCX | A Word table, its header row repeating on each page when Repeat Header is on. |
Some e-readers show Alternate Row Colors without the color. Check your tables in the e-reader preview on each device.
Questions
Does Lacuna make clean tables in EPUB e-books?
Yes. Each table goes into your EPUB as a real table that fills the reader’s screen, keeps your column widths as shares of it, and wraps long words inside their cells.
Why did my table jump to the next page?
Avoid splitting across pages is on for it (tables made before Lacuna 2.7.0 started with it on). Click the table’s settings button and untick it.
Can I color the text in a table?
Not cell by cell. The Header Row tab’s Text Color colors the header row of every table on the preset.