Các thao tác với trang mục lục
Tạo trang mục lục (Table of Contents)
Chuẩn bị
Như các ứng dụng soạn thảo văn bản khác, để tạo trang mục lục bạn phải xài paragraph style theo cấp. Ví dụ
- Chapter 1 --- heading 1
- item 1.1 ---- heading 2
- item 1.1.1 ---- heading 3
- item 1.1.2 ---- heading 3
- item 1.2 ---- heading 2
- item 1.1 ---- heading 2
Chúng ta sẽ sử dụng các style này để áp vào table of content
Download file nguyên liệu
Chèn TOC
- Click lên vị trí mà bạn muốn chèn mục lục.
- Chọn Insert > Table of Contents and Index > Table of Contents, Index or Bibliographiy..
- Trong hộp thoại Table of Contents, Index or Bibliographiy: Style.
Sử dụng style riêng cho TOC
LibreOffice sẽ sử dụng style mặc định cho TOC. Nếu muốn sử dụng style riêng (không phải style Heading 1, 2, 3) thì kiểm "Additional styles", rồi click mở Assign Style. Đây là cách tôi đang sử dụng cho văn bản của mình.
Chọn style rồi nhấn nút ⏪ ⏩ để điều chỉnh vị trí style
- Những style nào ở số 0 là tắt (không xuất hiện trong TOC)
- Các style ở vị trí số 1 (cấp cao nhất), số 2 (thấp hơn),....
Điều chỉnh trang mục lục (Table of Contents)
Để di chuyển đến các phần từ trang mục lục trong LibreOffice, bạn Ctrl click lên các liên kết
Bỏ nền xám
Nếu khó chịu vì màu nền xám mặc định của TOC thì hãy tắt Show in Document trong Index and table shadings
- Vào LibreOffice > Setting > LibreOffice > Appearance
- Customizations > Index and table shadings. Bỏ check Show in Document
To Update a Table of Contents
Chọn 1 trong 2
- Rclick lên table of contents > Update Index/Table.
- Tools > Update > All Indexes and Tables.
Defining Index or Table of Contents Entries
Nếu bạn muốn thêm 1 paragraph bất kỳ vào TOC (thay vì các paragraph style)
- Chọn đoạn text trong page.
- Chọn Insert - Indexes and Tables - Entry, and do one of the following:
- To change the text that appears in the index, type the text that you want in the Entry box. The text that you type here does not replace the selected text in the document.
- To add an index mark to similar words in your document, select Apply to all similar texts.
To add the entries to a custom index, click the New User-defined Index icon, enter the name of the index, and then click OK.
To Use a Custom Paragraph Style as a Table of Contents Entry
1. Choose Tools - Outline Numbering and click the Numbering tab.
2. Select the paragraph style that you want to include in your table of contents in the Paragraph Style box.
3. In the Level list, click the hierarchical level that you want to apply the paragraph style to.
4. Click OK. You can now apply the style to headings in your document and include them in your table of contents.
----------
Updating, Editing and Deleting Indexes and Tables of Contents
1. Place the cursor in the index or table of contents.
If you cannot place your cursor in the index or table of contents, choose OpenOffice - Preferences - OpenOffice Writer - Formatting Aids, and then select Enable in the Cursor in protected areas section.
2. Right-click and choose an editing option from the menu.
You can also make changes directly to an index or table of contents. Right-click in the index or table of contents, choose Edit Index/Table, click Index/Table tab, and then clear the Protected from manual changes check box.
---------
Formatting an Index or a Table of Contents
You can apply different paragraph styles, assign hyperlinks to entries, change the layout of indexes, and change the background color of indexes in the Insert Index dialog.
To Apply a Different Paragraph Style to an Index Level
1. Right-click in the index or table of contents, and then choose Edit Index/Table.
2. Click the Styles tab.
3. Click an index level in the Levels list.
4. Click the style that you want to apply in the Paragraph Style list.
5. Click the assign button <.
6. Click OK.
To Assign Hyperlinks to Entries in a Table of Contents
You can assign a cross-reference as a hyperlink to entries in a table of contents.
1. Right-click in the table of contents, and then choose Edit Index/Table.
2. Click the Entries tab.
3. In the Level list click the heading level that you want to assign hyperlinks to.
4. In the Structure area, click in the box in front of E#, and then click Hyperlink.
5. Click in the box behind the E, and then click Hyperlink.
6. Repeat for each heading level that you want to create hyperlinks for, or click the All button to apply the formatting to all levels.
--------------
Editing or Deleting Index and Table Entries
Index entries are inserted as fields into your document. To view fields in your document, choose View and ensure that Field Shadings is selected.
1. Place the cursor immediately in front of the index entry in your document.
2. Choose Edit - Index Entry, and do one of the following:
To change the entry, enter different text in the Entry box.
To remove the entry, click Delete.
To cycle through the index entries in your document, click the next or the previous arrows in the Edit Index Entry dialog.
Comments
No comments
There are no comments yet. Be the first to write one.