Contents

# 建立目錄

產生目錄的最佳方式是，將預先定義的標頭段落樣式 (如「標題 1」) 採用至您要包括在目錄中的段落。採用這些樣式之後，您可以建立目錄。

## 插入目錄

1. 在文件中您要建立此目錄的位置按一下。

2. Choose Insert - Table of Contents and Index - Table of Contents, Index or Bibliography, and then click the Type tab.

3. 選取[類型]方塊中的「目錄」。

4. 選取您需要的所有選項。

5. 按一下[確定]。

If you want to use a different paragraph style as a table of contents entry, select the Additional Styles check box in the Create from area, and then click the Assign styles button next to the check box. In the Assign Styles dialog, click the style in the Style list, and then click the index level for the selected style.

LibreOffice creates the table of contents entries based on the outline level of the paragraph style and the paragraph contents. If the paragraph is empty, it will not be included in the table of contents. To force the empty paragraph to be listed in the table of contents, manually add a space or a non breaking space to the paragraph. Spaces added in the After text box of the Numbering tab in the Heading Numbering dialog will not work for this purpose, since they are part of the paragraph numbering, not the paragraph contents.

## 更新目錄

執行以下操作之一：

- 在目錄中按一下滑鼠右鍵，並選擇[更新索引/表格]。

- 選擇 [工具] - [更新] - [全部的索引與表格]。

相關主題

定義目錄條目

更新、編輯和刪除索引和目錄

格式化索引或目錄

編輯或刪除目錄條目

建立索引目錄

使用者自訂的索引

建立參考文獻目錄

覆蓋數個文件的索引