- #33 Special Effects for Type
- #34 Setting Up Drop Caps and Nested Styles
- #35 Inserting Special Characters and Glyphs
- #36 Anchoring Objects in Text
- #37 Wrapping Text Around Objects
- #38 Applying Optical Margin Alignment
- #39 Importing Tables from Word and Excel
- #40 Creating New Tables
- #41 Converting Text to Tables
- #42 Adding Content to Tables
- #43 Formatting Tables
- #44 Using Table and Cell Styles
- #45 Adding Headers and Footers to Tables
- #46 Editing Tables
#41 Converting Text to Tables
The text that needs to go in a table often already exists, usually in a tab-delimited format (meaning that the cells of information for the table are separated by tabs and paragraph returns). You do not need to retype this text into a new table; you can easily convert it into a table. To do this:
- If necessary, import the text into a text frame.
- Choose Type > Show Hidden Characters to determine how the text is currently separated (Figure 41a). Usually, you will see tabs between "columns" of information and paragraph returns between "rows" of information. Check that all the columns have the same number of tabs between them; it doesn't matter if the tabs don't line up and the text looks messy. All that matters is consistency in the separation characters used.
Figure 41a Before converting text to a table, choose Type > Show Hidden Characters to determine what is separating columns (usually a tab) and what is separating rows (usually a paragraph return).
- Select the Type tool and select the text to convert to a table.
- Choose Table > Convert Text to Table.
- In the Convert Text to Table dialog box (Figure 41b), confirm the selections for the Column Separator and Row Separator. If necessary, you can change the separators by choosing Tab, Comma, or Paragraph from the menus or by entering a different separation character (such as a semicolon) in the fields.
Figure 41b The Convert Text to Table dialog box lets you specify the characters used to separate columns and rows in the text.
- If you choose the same separation character for columns and rows, you can clarify how many columns you need by entering a value in the Number of Columns field. Otherwise, this field is unavailable.
- If you have created any table styles, you can choose one from the Table Style menu. See #44 for more information.
- Click OK to create the table.
You may need to manually adjust the column widths (Figure 41c), and you can add header and footer rows as necessary.
Figure 41c InDesign converts the selected text to a table, but it's likely that you'll have to adjust the column widths based on the content.