Templates & Table of Contents
Introduction to Templates
A template is a pre-designed document shell that already contains:
-
Place-holding text (e.g., “Your Name Here”)
-
Place-holding objects (e.g., a company logo frame)
-
Pre-set styles (fonts, colours, margins)
Example: Quick Business Letter
Open LibreOffice
File ▸ New ▸ Templates ▸ “Business Letter – Modern”A letter opens with your address block at top-left, date, recipient area, and a signature line at the bottom.
Replace the dummy text with real details and you are done.
Using a Template to Create a Document
Steps:
-
File ▸ New ▸ Templates
-
In the dialog, choose a category (e.g., “Business Correspondence”)
-
Double-click “Fax – Contemporary”
-
A fax sheet opens; simply type the receiver’s name, subject, and message
-
Save it as “Fax_to_Client.odt”
Creating a Template from an Existing Document
Scenario:
You have a project report that you reuse every semester. Turn it into a template.
Steps:
-
Open the report file
-
Replace changing details with placeholders:
Replace “2024 – 2025 Project Report” with “<Year>” -
File ▸ Templates ▸ Save as Template
-
Name it “Semester Project Report”
-
Choose category “School Work” → Save
From now on:
File ▸ New ▸ Templates ▸ School Work ▸ “Semester Project Report”
gives you a fresh copy every time.
Creating & Managing Template Categories
Create a New Category
-
File ▸ Templates ▸ Manage Templates (Ctrl + Shift + N)
-
Click the Settings (gear) icon ▸ New Category
-
Type “Science Fair” → OK
-
Drag templates into this folder for neat organisation
Delete a Category
-
Settings ▸ Delete Category ▸ Select “Old Stuff” ▸ OK
Note: Deleting a category also deletes every template stored inside it.
Setting a Default Template
Why?
-
Whenever you press Ctrl + N, you get a blank document with YOUR preferred margins, fonts, and logo.
How:
-
File ▸ Templates ▸ Manage Templates
-
Navigate to “My Templates ▸ Science Fair Report”
-
Right-click ▸ Set as Default
-
Press Ctrl + N — the new document now opens with your customised styles.
Moving & Deleting Templates
-
Move:
Templates ▸ Manage ▸ right-click “Meeting Minutes” ▸ Move ▸ choose “Business” category -
Delete:
Templates ▸ Manage ▸ right-click “Outdated Fax” ▸ Delete ▸ Yes
Editing a Template
Real Example:
Your school letterhead template still has last year’s principal’s name.
-
File ▸ Templates ▸ Manage Templates
-
Right-click “School Letterhead” ▸ Edit
-
Change name from “Dr. A. Kumar” to “Dr. B. Singh”
-
Save and close
Every new letter created from this template now shows the updated name.
Letter Wizard Walk-through
Goal:
Create a polished business letter in 2 minutes.
Steps:
-
File ▸ Wizards ▸ Letter
-
Step 1: Choose “Business Letter” + “Modern” page design → Next
-
Step 2: Tick “Logo”, “Subject line”, “Fold marks” → Next
-
Step 3: Type your company address → Next
-
Step 4: Type recipient address → Next
-
Step 5: Footer text “Page & of &” → Next
-
Step 6: Name the template “Modern Biz Letter” → Finish
A fully formatted letter opens; just type the body and print.
What is a Table of Contents (TOC)?
An automatically generated list of headings with page numbers.
Live example:
A 30-page e-book has these headings styled with Heading 1, 2, 3:
-
Introduction
-
Uses of Computers
-
Education
-
Healthcare
Insert ▸ Table of Contents instantly produces:
Table of Contents
Introduction ............................................. 3Uses of Computers ..................................... 7Education ................................................. 8Healthcare ............................................... 11Creating a Basic TOC
Step-by-step:
-
Type chapter titles and apply Heading 1 style
-
Click at the very start of the document
-
Insert ▸ Table of Contents ▸ Table of Contents, Index or Bibliography
-
Click OK — default TOC appears
Customising the TOC with the Type Tab
Tasks you can do:
-
Change title: In the Title box, replace “Contents” with “My Book Contents”
-
Protect from manual edits: Tick “Protected against manual changes”
-
Set number of levels: Change “Evaluate up to level” to 2 so only Heading 1 & 2 appear
Using the Entries Tab (Structure Line)
Elements explained:
-
LS E# E T # LE
-
LS/LE: hyperlink start/end
-
E#: chapter number
-
E: text
-
T: tab
-
#: page number
-
Practical tweak:
To show “Chapter 5 – Networking ............... 45”:
-
In Level-1 structure line, keep E# E T #
-
Delete LS & LE if you do not want hyperlinks
Applying Character Styles to TOC Elements
Goal:
Make chapter numbers bold and page numbers blue.
-
In Entries tab, click the E# button (chapter number)
-
From Character style drop-down choose “Bold Red”
-
Click the **# buttonpage number)
-
Choose “Internet Link” style → blue + underline
Update the TOC — numbers now stand out.
Choosing Paragraph Styles for Heading Levels
Purpose:
Control indentation, spacing, font size for each level.
Steps:
-
In Entries tab, switch to Styles tab.
-
Under Levels, pick Level 2
-
In Paragraph styles, choose “Contents 2” (pre-set 0.5 cm indent, 12 pt)
-
Click the arrow to assign
Level-2 entries now automatically indent and use 12-pt font.
Columns & Background for TOC
-
Columns:
Columns tab → set to 1 for a simple list
Set to 2 if you want newspaper-style two-column TOC -
Background colour:
Background tab → pick pale yellow → OK
Your TOC now has a soft yellow backdrop.
Updating & Deleting a TOC
-
Update:
Right-click anywhere in the TOC ▸ Update Index
New sections and page numbers refresh instantly. -
Delete:
Right-click in TOC ▸ Delete Index
The list disappears but your headings remain in the document.
AJ