Add a table

You can use tables to present data or information in a way that makes it easy to scan and compare. In iBooks Author, you can add and format tables with as many rows and columns as you need.

Create a new table

  1. Click Table in the toolbar or choose Insert > Table.

  2. To resize the table, drag one of its selection handles.

    • Preserve the table’s proportions: Hold down the Shift key as you drag.

    • Expand the table from the center: Hold down the Option key as you drag.

  3. To add rows or columns, do any of the following:

    • Specify the number of rows or columns: Type numbers in the Table inspector or the format bar.

    • Add a row or column to a specific part of the table: Select a cell and choose Format > Table > Add Option Before or Format > Table > Add Option After.

    • Add a row at the end of the table: Press Tab when the last cell in the table (before any footer rows) is selected.

  4. To add header or footer rows or header columns, do one of the following:

    • Choose Format > Table > Header Rows  > n or Format > Table > Header Columns > n.

    • In the Table inspector, choose the number of header or footer rows or header columns from the Headers & Footer pop-up menus.

You can also add a table by copying one in a Pages ’09 document or a Numbers ’09 spreadsheet and pasting it into your book. Hidden rows or columns and comments in Numbers cells aren’t copied into iBooks Author.

Add and edit table cell contents

Do any of the following:

  • Add text to a cell or replace everything in a cell: Select a cell and begin typing.

    If “Return key moves to next cell” isn’t selected in the Table inspector, you can also select the cell and press Return or Enter to select everything in the cell, and start typing.

    Note: When you type text in a cell, iBooks Author displays text that might be used to complete the cell content based on similar text in the table. You can use the suggested text, or you can continue typing to override the suggestions. To disable automatic suggestions, choose iBooks Author > Preferences, click General, and deselect “Show auto-completion list in table columns.”

  • Place the insertion point inside a cell: Click once to select the table, click again to select the cell, and click a third time to place the insertion point within the cell.

    After the insertion point is inside the cell, you can do any of the following:

    • Add a paragraph break: Press Return.

    • Add a line break: Press Option-Return.

    • Insert a tab: Press Option-Tab.

  • Replace content already in the cell: Double-click the cell content you want to replace; hold down the Shift key and select more content if you want to replace more. Type to replace the selected content.

  • Undo changes made to a table cell since selecting the cell: Press the Esc (Escape) key.

  • Delete the content of table cells, rows, or columns: Select the cells, rows, or columns and press the Delete key.

  • Delete the cell’s contents, background fill color, and style settings: Choose Edit > Clear All. The default style is applied to the selection.

  • Move cells within a table, or to another table: Select a cell or several adjacent cells and drag the selection until any destination cells are selected. Values in the destination cells are replaced, and the values in the original location are removed.

  • Copy cells within a table, to another table, or to a page: Hold down the Option key while you drag selected cells. Any values in the destination cells are replaced, and the values in the original location are retained.

Autofill table cells

With autofill you can use the content in one or more cells to automatically add values to adjacent cells.

Do any of the following:

  • Paste the content and color fill of a cell into adjacent cells: Select the cell and drag the fill handle (a tiny circle in the cell’s lower-right corner) over the cells into which you want to paste.

    Any data, cell formats, formulas, or color fills associated with the selected cell are pasted. If any destination cell contains data, that data is overwritten with the value you’re pasting.

  • Paste the content and color fill of a cell into one or more cells in the same row or column: Select two or more adjacent cells, choose Format > Table > Fill, and choose an option from the submenu:

    • Fill Right: Assigns selected cells the value that resides in the leftmost selected cell.

    • Fill Left: Assigns selected cells the value that resides in the rightmost selected cell.

    • Fill Up: Assigns selected cells the value that resides in the bottommost selected cell.

    • Fill Down: Assigns selected cells the value that resides in the topmost selected cell.

  • Continue a pattern to other cells (for example, if a cell contains a day of the week): Select the cell and drag to the right or down.

    To continue a numeric pattern, select two or more cells before dragging. For example, if you select cells containing 1 and 2, the values 3 and 4 are added when you drag through the adjacent two cells. If you select cells containing 1 and 4, the values 7 and 10 are added (values are incremented by 3).

Select and move table cell borders

Select table or cell borders to change their appearance or move them within the table. You can select entire table borders or individual cell border segments. You can select multiple border segments, too, making it easy to change the appearance of several at once.

Do any of the following:

  • Select a border: Select the table and click the border.

  • Select specific borders for multiple cells: Select the table, row, column, or cells, and click a Cell Borders button in the Table inspector.

  • Select a border segment: Select the table and double-click the segment. If the table isn’t selected, click a segment three times. To select (or deselect) additional segments, hold down the Shift or Command key while you click.

  • Move a border segment: Select the segment and drag it.