Libreoffice Pages

Posted onby admin
  1. Libreoffice Page Numbers
  2. Libreoffice Page Color

This tutorial explains steps to automatically create table of contents of a document in LibreOffice Writer. This way, your document presents an index of page titles & page numbers just like what you saw on books. I will supply example you can download & practice yourself.

Introducing LibreOffice: ODT: PDF: 2: Setting Up LibreOffice: ODT: PDF: 3: Using Styles and Templates: ODT: PDF: 4: Getting Started with Writer: ODT: PDF: 5: Getting Started with Calc: ODT: PDF: 6: Getting Started with Impress: ODT: PDF: 7: Getting Started with Draw: ODT: PDF: 8: Getting Started with Base: ODT: PDF: 9: Getting Started with Math: ODT: PDF: 10: Printing, Exporting, and Emailing: ODT: PDF: 11.

(LibreOffice Writer with table of contents)
Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.
On LibreOffice: User Interface Basic Saving Basic Formatting Table of Pictures Cropping Columns Lorem Ipsum Portable Version A/F/S Version 6.2 Bibliography Zotero
  • Illustrations on left pages and text on right pages closed How do you add bullets to an already number-bulleted group of statements? closed Can I use Microsoft Publisher files with LibreOffice? closed Alternating table column numbering, Col1 Numbers, Col2 Letters? closed Are there any plans to improve image handling?
  • Page layout is usually easier if you select the options to show text, object, table, and section boundaries in Tools Options LibreOffice Appearanceand the options for paragraph ends, tabs, breaks, and other items in Tools Options LibreOffice Writer Formatting Aids. Choosing a layout method.
  • LibreOffice is a free and open source office suite: LibreOffice 5.1 Start Center.png by The Document Foundation and contributors.
  • In formal and long documents you normally need to display the current page number in header or footer. Instead of manually typing each page number you should use fields to let LibreOffice automatically display the numbers.
exercise (ODT)
final (PDF)


To learn this exercise, you need new document with:

Libreoffice Page Numbers

  • 10 pages
  • 10 first level headings
  • 10 second level headings


  • Create 10 pages.
  • First page, type 'First Page'.
  • Second page, type 'Second Page'.
  • Third page, type 'Third Page'.
  • Continue until 'Tenth Page'.

1. Create Headings

  • Click 'First Page'
  • Click Default Style combo box on toolbar > select Heading 1.
  • Click 'Second Page'
  • Also apply Heading 1.
  • Click 'Third Page'.
  • Also apply Heading 1.
  • Continue until 'Tenth Page' got Heading 1 as well.

Change Default Style combobox into Heading 1 for every title text selected like below.

Libreoffice pages sizeAfter changing them all, now your document should look like below.

2. Create Table of Contents

  • Go to first page
  • Create a new page
  • Call table of contents

On LibreOffce 6.2, you find the menu under Insert > Table of Contents and Index > Table of Contents, Index, or Bibliography.

This menu opens Table of Contents dialog where you could control the title, how deep, and see the preview. For first time, all default options are okay and just click OK.
After making it, a Table of Contents appears on the first page.

Print Preview:
If you print preview your document, the table of contents looks normal without grey background.

3. Multiple Level

Now you know how to utilize Heading 1 as 1st level page-title. What you need to do is to type 'Subtitle 1' until 'Subtitle 10' right under every page-title. Then apply Heading 2 to all 'Subtitles'.
After applying Heading 2, right-click existing table of contents > Update Index > it updated.

After updating, current table of contents should have subtitles with tidy indentations like below.

Libreoffice Page Color

Print preview:
Here's above table of contents looks like if being printed.

4. Real Examples

Here's an example table of contents from a book about computer. Notice there are 3 levels of heading, manual numbering, and 7 pages total.

Here's another example with more subtitles and two columns.
Do more experiments and happy writing!

This article is licensed under CC BY-SA 3.0.