Hướng dẫn cho người dùng Hủy

Create a table of contents

  1. InDesign User Guide
  2. Get to know InDesign
    1. Introduction to InDesign
      1. What's New in InDesign
      2. System requirements
      3. Common questions
      4. Use Creative Cloud libraries
    2. Workspace
      1. Workspace basics
      2. Contextual task bar
      3. Customize your workspace in InDesign
      4. Toolbox
      5. Set preferences
      6. Properties panel
      7. Touch workspace
      8. Default keyboard shortcuts
      9. Undo edits and manage History panel
      10. Document recovery and undo
    3. Generative AI (Not available in mainland China)
      1. Text to Image
      2. Generative Expand
      3. Generate Effect in InDesign (Beta)
      4. Generative AI FAQ
  3. Create and layout documents
    1. Documents and pages
      1. Create documents
      2. Work with parent pages
      3. Work with document pages
      4. Set page size, margins, and bleed
      5. Work with files and templates
      6. Convert PDFs to InDesign files in InDesign (Beta)
      7. Create book files
      8. Add basic page numbering
      9. Number pages, chapters, and sections
      10. Convert QuarkXPress and PageMaker documents
      11. Share content
      12. Understand a basic managed-file workflow
      13. Save documents
    2. Grids
      1. Grids
      2. Format grids
    3. Layout aids
      1. Rulers
      2. Align and distribute objects using rulers
      3. Measure objects using the Measure tool
  4. Add content
    1. Text
      1. Add text to frames
      2. Threading text
      3. South-East Asian Scripts
      4. Arabic and Hebrew features in InDesign
      5. Create type on a path
      6. Bullets and numbering
      7. Insert MathML to create math expressions
      8. Glyphs and special characters
      9. Text composition
      10. Text variables
      11. Generate QR codes
      12. Edit text
      13. Align text
      14. Wrap text around objects
      15. Anchored objects
      16. Linked content
      17. Format paragraphs
      18. Format characters
    2. Typography
      1. Using fonts in InDesign
      2. Kerning and tracking
      3. Scale and skew type
      4. Apply color effects to type
    3. Format text
      1. Format text
      2. Auto Style text
      3. Work with Style Packs
      4. Tabs and indents
    4. Review text
      1. Track and review changes
      2. Add editorial notes in InDesign
      3. Import PDF comments
    5. Spell check and language dictionaries
      1. Check spelling, autocorrect, and dynamic spelling
      2. Create, add, and manage dictionaries and words
      3. Change dictionary preferences
      4. Duden dictionary
    6. Add references
      1. Create a table of contents
      2. Footnotes
      3. Create an index
      4. Endnotes
      5. Captions
    7. Styles
      1. Paragraph and character styles
      2. Map, export, and manage styles
      3. Object styles
      4. Drop caps and nested styles
      5. Work with styles
      6. Leading
    8. Tables
      1. Format tables
      2. Create tables
      3. Table and Cell styles
      4. Select and edit tables
      5. Table strokes and fills
    9. Interactivity
      1. Hyperlinks
      2. Dynamic PDF documents
      3. Bookmarks
      4. Buttons
      5. Forms
      6. Animation
      7. Cross-references
      8. Structure PDFs
      9. Page transitions
      10. Movies and sounds
    10. Graphics
      1. Understand paths and shapes
      2. Draw with the Pencil tool
      3. Draw with the Pen tool
      4. Apply line (stroke) settings 
      5. Compound paths and shapes
      6. Edit paths
      7. Clipping paths
      8. Change corner appearance
      9. Frames and objects
      10. Align and distribute objects
      11. Linked and embedded graphics
      12. Integrate AEM assets
    11. Color and transparency
      1. Apply color
      2. Use colors from imported graphics
      3. Work with swatches
      4. Mix inks
      5. Tints
      6. Understand spot and process colors
      7. Blend colors
      8. Gradients
      9. Flatten transparent artwork
      10. Add transparency effects
  5. Find and replace
    1. Find and replace text
    2. Find and replace fonts
    3. Find and replace glyphs
    4. Find and replace using GREP expressions and queries
    5. Find and replace objects
    6. Find and replace colors
    7. Search options to find and replace
  6. Share
    1. Save and access cloud documents
    2. Organize, manage, and share cloud documents
    3. View and manage versions in cloud documents
    4. Common questions about InDesign cloud documents
    5. InCopy on the web (Beta)
    6. Share and collaborate        
    7. Share for Review
    8. Review a shared InDesign document
    9. Manage feedback
    10. Invite to edit
  7. Export, import, and publish
    1. Place, export, and publish
      1. Publish online
      2. Publish online dashboard
      3. Copy, insert graphics
      4. Export to Adobe Express
      5. Export content for EPUB
      6. Adobe PDF options
      7. Export to HTML5
      8. Export content to HTML (Legacy)
      9. Export to Adobe PDF
      10. Export to JPEG format
      11. Import SVG files
      12. DPS and AEM Mobile overview
      13. Supported File Formats
      14. Export and import User Settings
    2. Printing
      1. Print booklets
      2. Printer's marks and bleeds
      3. Print documents
      4. Inks, separation, and screen frequency
      5. Overprinting
      6. Create PostScript and EPS files
      7. Preflight files before handoff
      8. Print thumbnails and oversized documents
      9. Prepare PDFs for service providers
      10. Prepare to print separations
  8. Extend InDesign
    1. Automation
      1. Data merge
      2. Plug-ins
      3. Capture extension in InDesign
      4. Scripting
  9. Troubleshooting
    1. Fixed issues
    2. Known issues
    3. Crash on launch
    4. Preference folder read-only issue
    5. Troubleshoot file issues
    6. Unable to export InDesign file to PDF
    7. InDesign document recovery

About tables of contents

A table of contents (TOC) can list the contents of a book, magazine, or other publication; display a list of illustrations, advertisers, or photo credits; or include other information to help readers find information in a document or book file. One document may contain multiple tables of contents—for example, a list of chapters and a list of illustrations.

Each table of contents is a separate story consisting of a heading and a list of entries sorted either by page number or alphabetically. Entries, including page numbers, are pulled directly from content in your document and can be updated at any time—even across multiple documents in a book file.

The process for creating a table of contents requires three main steps. First, create and apply the paragraph styles you’ll use as the basis for the TOC. Second, specify which styles are used in the TOC and how the TOC is formatted. Third, flow the TOC into your document.

Table of contents entries can be automatically added to the Bookmarks panel for use in documents exported as Adobe PDF.

Tips for planning a table of contents

Consider the following when planning a table of contents:

  • Some tables of contents are built from content that does not actually appear in the published document, such as a list of advertisers in a magazine. To do this in InDesign, enter content on a hidden layer and include it when generating a TOC.

  • You can load TOC styles from other documents or books to build new tables of contents with the same settings and formatting. (You might need to edit an imported TOC style if the names of paragraph styles in the document do not match those in the source document.)

  • You can create paragraph styles for the table of contents’ title and entries, including tab stops and leaders, if desired. You can then apply these paragraph styles when you generate the table of contents.

  • You can create character styles to format the page numbers and the characters separating them from the entries. For example, if you want the page numbers to be in bold, create a character style that includes the bold attribute, and then select that character style when you create the table of contents.

Create tables of contents in books

For best results, be sure to do the following before creating a table of contents for a book:

  • Before you create a table of contents, verify that the book list is complete, that all documents are listed in the correct order, and that all headings have been formatted with the appropriate paragraph styles.

  • Be sure to use paragraph styles consistently throughout the book. Avoid creating documents with styles that have identical names but different definitions. If multiple styles have the same name but different style definitions, InDesign uses the style definition in the current document (if a definition exists there), or the first occurrence of the style in the book.

  • If the necessary styles do not appear in the pop‑up menus in the Table of Contents dialog box, you may need to synchronize the book so that the styles are copied to the document containing the table of contents.

  • If you want number prefixes (such as 1-1, 1-3, and so on) to appear in your table of contents, use section numbering rather than chapter numbering. Section number prefixes can be included in a table of contents.

Generate a table of contents

Before you generate a table of contents, decide which paragraphs should be included (such as chapter titles and section headings), and then define paragraph styles for each. Make sure that these styles are applied to all appropriate paragraphs in the document or booked documents.

When you generate the table of contents, you can also use paragraph and character styles to format the table of contents.

Table of contents without paragraph styles (left) and with paragraph styles applied to entries (right)

If paragraphs that are to be included in the table of contents appear in different stories on the same page, their order in the TOC is determined by their position on the page.

  1. Do one of the following:
    • If you’re creating a table of contents for a single document, you may want to add a new page at the beginning of the document.

    • If you’re creating a table of contents for multiple documents in a book, create or open the document to be used for the table of contents, make sure that it’s included in the book, and then open the book file.

  2. Choose Layout > Table Of Contents.

    If you’ve defined a TOC style that has the appropriate settings for your TOC, you can choose it from the TOC Style menu.

  3. In the Title box, type a title for your TOC (such as Contents or List of Figures). This title will appear at the top of the table of contents. To format the title, choose a style from the Style menu.
  4. Select Include Book Documents to create a single table of contents for all documents in the book list, and to renumber the book’s pages. Deselect this option if you want to generate a table of contents for the current document only. (This option is dimmed if the current document is not part of a book file.)
  5. Determine which content you want to include in the table of contents by double-clicking paragraph styles in the Other Styles list to add them to the Include Paragraph Styles list.
  6. Select Replace Existing Table Of Contents to replace all existing table of contents stories in the document. Deselect this option if you want to generate a new table of contents, such as a list of figures.
  7. Specify options to determine how each paragraph style in the table of contents is formatted.

    Lưu ý:

    It’s a good idea to define a TOC style that contains the formatting and other options for your table of contents, especially if you want to include multiple TOCs in your document. To do so, click Save Style. You can also create TOC styles by choosing Layout > Table Of Contents Styles.

  8. Click OK.

    A loaded text cursor  appears. Before you click or drag, you can move to a different page or create a new page without losing the loaded text.

  9. Click or drag the loaded text cursor on a page to place the new table of contents story.
Lưu ý:

Avoid threading the TOC frame to other text frames in the document. If you replace the existing TOC, the entire story will be replaced by the updated TOC.

Create TOC styles for multiple lists

Use TOC styles if you need to create different tables of contents in your document or book. For example, you can use one TOC style for a list of contents and another for a list of advertisers, illustrations, or photo credits. Create a TOC style for each type of list.

Creating TOC styles are also useful if you want to use the same TOC formatting in another document.

Lưu ý:

Don’t confuse TOC styles with paragraph styles that have a “TOC” prefix. TOC-prefixed paragraph styles (for example “TOC title”) are used to format the table of contents entries themselves. In contrast, a TOC style is a collection of settings used to automatically create a table of contents.

Create a TOC style

  1. Choose Layout > Table Of Contents Styles.
  2. Click New.
  3. Type a name for the TOC style you are creating.
  4. In the Title box, type a title for your TOC (such as Contents or List of Figures). This title will appear at the top of the table of contents. To specify a title style, choose a style from the Style menu.
  5. From the Other Styles list, select the paragraph styles that represent content you want to include in the table of contents, then click Add to add them to the Include Paragraph Styles list.
  6. Specify options to determine how each paragraph style is formatted.

Import TOC styles from another document

  1. Choose Layout > Table Of Contents Styles.
  2. Click Load, select the InDesign file containing the TOC styles you want to copy, and then click Open.
  3. Click OK.
Lưu ý:

If the paragraph styles in your document do not match the paragraph styles in the TOC style you import, you’ll need to edit the TOC style before generating a table of contents.

Options for formatting a table of contents

When generating or editing a table of contents, use these options to determine the appearance of the generated table of contents text. Some of these options are available only when you click More Options in the dialog box.

Lưu ý:

The settings in the Style section apply only to the style currently selected under Include Paragraph Styles. You can specify different formatting options for each style.

TOC Style

Choose a TOC Style, if you’ve defined a TOC style that has the appropriate settings for your TOC.

Title

Type a title for your TOC. This title appears at the top of the table of contents.

Style

Choose a style from the Style menu to format the Title.

Include Paragraph Styles

Determine which content you want to include in the table of contents by double-clicking paragraph styles in the Other Styles list to add them to the Include Paragraph Styles list.

Entry Style

For each style in Include Paragraph Styles, choose a paragraph style to apply to the associated table of contents entries.

Page Number

You might want to create a character style that formats the page number. You can then select this style in the Style pop‑up list to the right of Page Number. (See Add paragraph and character styles.)

If you want the page numbers of the TOC to include prefixes, or to use a different numbering convention, see Define section numbering.

Between Entry And Number Specify which characters you want between the table of contents entry and its page number. The default is ^t, which tells InDesign to insert a tab. You can choose other special characters, such as Right Indent Tab or Em Space, in the pop‑up list.

Lưu ý:

Select the existing text in the box before you choose a different special character, to make sure that you don’t include both characters.

You might want to create a character style that formats the space between the entry and the page number. You can then select this style in the Style pop‑up list to the right of Between Entry And Number. (See Add paragraph and character styles.)

If the entry’s paragraph style includes a tab leader setting, and if the tab character (^t) is selected, a tab leader appears in the generated table of contents.

Sort Entries in Alphabetical Order

Select this option to sort table of contents entries in the selected style alphabetically. This option is useful for creating simple lists, such as lists of advertisers. Nested entries (Level 2 or 3) sort alphabetically within their group (Level 1 or 2, respectively).

Lưu ý:

The sort order for a table of contents is determined by the document’s default language setting. To change the default language setting, make sure nothing is selected and then choose a language from the Language menu in the Character panel.

Level

By default, each item added to the Include Paragraph Styles box is set one level lower than the item immediately above it. You can change this hierarchy by specifying a new level number for the selected paragraph style. This option adjusts only the display in the dialog box. It has no effect on the final table of contents unless the list is alphabetized, in which case the entries are sorted by level.

Create PDF Bookmarks

Select this option if you want the table of contents entries to appear in the Bookmarks panel of Adobe Acrobat or Adobe Reader® when the document is exported to PDF.

Run-in

Select this option if you want all TOC entries to be run into a single paragraph. A semicolon followed by a space (; ) separates the entries.

Replace Existing Table Of Contents

Select this option to replace all existing table of contents stories in the document. Deselect this option if you want to generate a new table of contents, such as a list of figures.

Include Text On Hidden Layers

Select this option only if you want the paragraphs on hidden layers to be included in your table of contents. This is useful when creating a list of advertisers or illustrations that may not appear as visible text in the document itself. Deselect this option when you’ve used layers to store various versions or translations of the same text.

Include Book Documents

Select this option to to create a single table of contents for all documents in the book list, and to re-number the book's pages.  

Remove Forced Line Break

Select this option to remove the forced line break used to make lines and pages break at certain points.

Numbered Paragraphs

If your table of contents includes a paragraph style that uses numbering, specify whether the TOC entry includes the full paragraph (both number and text), only the numbers, or only the paragraph.

Create TOC entries with tab leaders

Entries in a table of contents are often formatted with dots or tab leaders separating the entry from its associated page number.

Table of contents with dot leaders

  1. Create a paragraph style with a tab leader.

  2. To update the table of contents settings, do one of the following:
    • Choose Layout > Table Of Contents Style. Select a TOC style, and click Edit.

    • Choose Layout > Table Of Contents (if you are not using a TOC style).

  3. Under Include Paragraph Styles, select an item you want to appear with a tab leader in the table of contents.
  4. For Entry Style, select the paragraph style that contains the tab leader.
  5. Click More Options.
  6. Verify that Between Entry And Number is set to ^t (representing a tab). Click OK or Save to exit.
  7. Update the table of contents, if necessary, by choosing Layout > Update Table Of Contents. Otherwise, place the new table of contents story.

Create a paragraph style with a tab leader

  1. Choose Window > Styles > Paragraph Styles to display the Paragraph Styles panel.
  2. In the Paragraph Styles panel, do one of the following:
    • Double-click the name of the paragraph style applied to entries in your table of contents.

    • From the panel menu, choose New Paragraph Style.

  3. Enter a name, if necessary, for the paragraph style.
  4. Click Tabs.
  5. Select the right-justified tab icon , and then click on the ruler to position the tab stop.

    If the paragraphs you’re applying the style to include numbered list items, make sure that you include two tab settings — the first for the indented number and the second for the tab leader.

  6. For Leader, type a period (.).
  7. Select other style options as desired, and click OK.

Update and edit a table of contents

The table of contents is like a snapshot of content in your document. If page numbers in your document change, or if you edit headings or other elements associated with table of contents entries, you’ll need to regenerate the table of contents to update it.

Update a table of contents

  1. Open the document containing the table of contents.
  2. Do any of the following:
    • To make changes to table of contents entries, edit your document or booked documents, not the table of contents story itself.

    • To change the formatting applied to the table of contents title, entries, or page numbers, edit the paragraph or character styles associated with these elements.

    • To change how pages are numbered (for example, 1, 2, 3 or i, ii, iii), change section numbering in the document or book. (See Number pages, chapters, and paragraphs in a book.)

    • To specify a new title, include other paragraph styles in the table of contents, or further format table of contents entries, edit the TOC style.

  3. Select or place the insertion point in the text frame containing the table of contents, and then choose Layout > Update Table Of Contents.
  4. If you have multiple tables of contents in your document, such as a list of figures and a list of advertisers, select the text frame containing a different list, and then choose Layout > Update Table Of Contents.

Editing a table of contents

If your table of contents requires editing, edit the actual paragraphs in the document—not the table of contents story—and then generate a new table of contents. If you edit the table of contents story, you’ll lose your revisions when you generate a new table of contents. For the same reason, you should edit the styles used to format the table of contents entries, rather than formatting the table of contents directly.

 Adobe

Nhận trợ giúp nhanh chóng và dễ dàng hơn

Bạn là người dùng mới?

Adobe MAX 2024

Adobe MAX

The Creativity Conference

14–16/10 Bãi biển Miami và trực tuyến

Adobe MAX 2024

Adobe MAX

The Creativity Conference

14–16/10 Bãi biển Miami và trực tuyến