How to Format a Thesis Table of Contents from Heading Styles

Learn how to build a thesis table of contents from heading styles, insert it, and update page numbers so they stay correct before you submit.

If your thesis table of contents shows the wrong page numbers, or the numbers were right yesterday and are wrong today, the problem is usually how the headings were made. Many writers type chapter titles in bold, add page numbers by hand, and then edit the draft. Every change after that pushes the typed numbers out of line, and a late revision to a 120-page draft can mean rechecking dozens of entries.

The fix is to build the table of contents from heading styles. When each chapter and section title carries a heading style, your word processor can generate the list, read the page numbers itself, and rebuild everything with one update. This guide shows how to format a thesis table of contents that way in a .docx file, how to prepare the document, and how to check the result before you submit.

How do you format a thesis table of contents so page numbers stay correct? The short answer

Apply heading styles to every chapter and section title, insert an automatic table of contents, and update it after each round of edits. The table below shows how that plays out in common situations.

Your situationWhat to doWhy
Titles were typed in bold or a larger fontReapply them with heading stylesOnly styled headings appear in a generated list
The draft is still changingUpdate the table before each version you sharePage numbers shift whenever text moves
Chapter numbers were typed by handUse heading numbering controlled by the styleTyped numbers go wrong when chapters are reordered
Abstract, acknowledgments or appendicesGive front matter and back matter their own handlingLets you control which entries appear and how pages are numbered
Final submissionUpdate the entire table and spot-check pagesCatches numbers that drifted after the last edit

Before you start

  • Check your department's template or formatting guide. Many programs specify fonts, how deep the contents list goes, and whether front matter uses Roman numerals. The generated list should follow those rules, not your own preferences.
  • Decide how many heading levels to list. Chapters and first-level sections is a common choice. Deeper levels make a long list that is hard to scan, and the depth setting controls this.
  • Lock the structure first. Finish reordering chapters and adding major sections before you do the final numbering check, because each change can move every page after it.
  • Save a backup copy. Restyling and updating fields can change layout in ways you did not expect, and an earlier version lets you undo them.
  • Look up your program's own commands. Names and locations of heading and contents features vary between word processors. Search the help for "table of contents" and "heading styles" instead of relying on a remembered menu path.

Building the thesis table of contents from heading styles, step by step

  1. Apply a top-level heading style to every chapter title. Select each chapter title and apply the same heading style to all of them. Using one style for every chapter tells the list to treat them alike.
  2. Apply lower-level styles to sections and subsections. Use the second heading level for main sections and the third for subsections. The generated list indents each entry by level, so the hierarchy shows without manual spacing.
  3. Remove typed numbers and fake formatting from headings. Delete any hand-typed numbers like "2.1" and any bold or enlarged text used as a stand-in for a heading. If you need numbered headings, use the numbering that the heading style controls so numbers update when you add or move a section.
  4. Separate the front matter and back matter. Abstract, acknowledgments, and appendices usually should not carry the main chapter style. Put them in their own section, so you can restart page numbering or switch to Roman numerals where your template requires it.
  5. Insert the table of contents on the contents page. Place the cursor where the list should go and use your program's table of contents feature to insert an automatic table. Choose the number of levels you settled on in the Before you start section.
  6. Update the table after every change. Select the table and use the update option for the whole table when headings changed, or for page numbers only when you just edited body text. Running the full update before each version you share keeps the list in step with the body.
  7. Generate a final copy and review it. Once the structure is settled, update the table one last time and save a PDF copy for review. Printing or viewing the PDF shows the page breaks the way a reader will see them.

Check the result

Once the table is updated, check it against the body before you submit. These are the checks that catch most problems.

CheckHow to see itIf it's wrong
Entries match headingsCompare each line with the heading text in the bodyFix the typo in the heading, then update the table
Page numbersGo to a few listed headings and note which page they start onUpdate page numbers; if one is still off, look for a page or section break just before that heading
HierarchyConfirm subsections sit under their chaptersA subsection at the wrong level usually has the wrong heading style, so reapply it
Front matter numberingLook at the contents page and abstractMake sure front matter sits in a separate section so numbering restarts as your template requires
Missing entriesScroll the list for chapters you expectPlain formatted text will not appear; apply the heading style and update again

If you edited the draft heavily, compare the PDF copy against the new version, page by page, for the chapters you changed most recently.

❓ FAQ

1. Should I build the table of contents in the .docx file or in a PDF?

Build and update it in the .docx source file. A PDF cannot update its own page numbers, so a contents list fixed in a PDF will go stale after the next edit. Export a PDF only after the final update.

2. Do I need a table of contents for a short thesis?

Many departments require one regardless of length, so check your formatting guide first. If it is optional, a short list still helps readers find sections in a long chapter.

3. Can I list figures and tables the same way?

Often, yes. Many word processors can build a separate list from caption labels. Use the same approach: apply caption styles to your figure and table labels, insert the list where it belongs, and update it with the rest of the document.

4. Should I start from a template?

Yes, if your department provides one. Templates usually come with heading styles, numbering and front matter sections already set up, which saves the setup work described above.

📝 Summary

A thesis table of contents stays accurate when it is generated from heading styles rather than typed by hand. Set up the headings, separate the front matter, and update the table after each round of edits. Finish with a final update and a spot check of listed pages against the body, so the numbers match what your reader will see.

Open OmniDoc to edit and export your documents

Updated 2026-11-04