This question does not have any answers yet. In the meantime we have included some related questions and answers below.
Profile photo for Julie Frey

A Table of Contents is a part of a document located at the beginning that lists what the document contains in summary titles.

Then each part of your document appears in a list. What you list depends upon the type of document. If a story, the Table of Contents list chapters. If a non-fiction work, the Table of Contents lists document sections with page numbers.

As all the pages of an HTML document are local, you can use local references and bookmarks. (You don’t use a full URL if the pages are all in same folder.)

Each link that refers to the Table of Contents will be a link to the Table of Conten

A Table of Contents is a part of a document located at the beginning that lists what the document contains in summary titles.

Then each part of your document appears in a list. What you list depends upon the type of document. If a story, the Table of Contents list chapters. If a non-fiction work, the Table of Contents lists document sections with page numbers.

As all the pages of an HTML document are local, you can use local references and bookmarks. (You don’t use a full URL if the pages are all in same folder.)

Each link that refers to the Table of Contents will be a link to the Table of Contents page, whatever that is named. If you already know how to type a hyperlink, you just change target page to “tableofcontents.html” or whatever name you used for that page.

If your HTML document is one page (one HTML file), you use bookmarks.

HTML Links - Create Bookmark

Or you can create a menu/navigation system to list your site sections. Typically, that is how websites provide access to all pages or content. (Some content is generated by PHP or Javascript actions.)

Profile photo for Franklin Veaux

Ebooks are just collections of html files (optionally packaged with images and/or fonts).

The exact way you edit the table of contents is different in different apps, but the basic idea is the same. I use the freeware program Calibre to edit ebooks, so it's the app I'm most familiar with.

Think of an ebook as a zipped archive of a Web site. Conventionally, each chapter is its own html file, though y

Ebooks are just collections of html files (optionally packaged with images and/or fonts).

The exact way you edit the table of contents is different in different apps, but the basic idea is the same. I use the freeware program Calibre to edit ebooks, so it's the app I'm most familiar with.

Think of an ebook as a zipped archive of a Web site. Conventionally, each chapter is its own html file, though you can also have links in the table of contents point to anchors within a file if you want.

In Calibre, you use the "edit table of contents" command. Then you type the text you would like to appear in the table of contents (for example, "Chapter 1" or perhaps "What To Do When an Elephant Lands on your House" or whatever). Then you put an html link to the file for that chapter, just as if you were doing it on a web page. If you...

Profile photo for Quora User

Hi there,

you might use the TableHeadings argument in the TableForm function. As an example:

  1. TableForm[Alphabet[],  
  2. TableHeadings -> {Table[Row[{"Letter ", ToString[i]}],  
  3. {i, Length[Alphabet[]]}]}] 

produces

Check out the documentation of TableForm, more specifically the Options section as there are plenty of examples.

Hi there,

you might use the TableHeadings argument in the TableForm function. As an example:

  1. TableForm[Alphabet[],  
  2. TableHeadings -> {Table[Row[{"Letter ", ToString[i]}],  
  3. {i, Length[Alphabet[]]}]}] 

produces

Check out the documentation of TableForm, more specifically the Options section as there are plenty of examples.

Profile photo for Zuhair Nadeem

What i mean is. in ms word 2016 I’m making a very huge document probably spanning 500+ pages using numbered lists at headings which will span to 9 levels (e.g 1.1.1.1.1.1.1.1.1) so I can make a table of content that’s clickable automatically in a matter of seconds. Im good with that.

But is there a way that if I click a specific heading (e.g 3.4.2.1.6 example) it takes me back to the table of contents rather than me having to scroll to the top every time?

I know this can be done using the internal bookmark and hyperlink feature but that will consume too much effort and time as i will have to it

What i mean is. in ms word 2016 I’m making a very huge document probably spanning 500+ pages using numbered lists at headings which will span to 9 levels (e.g 1.1.1.1.1.1.1.1.1) so I can make a table of content that’s clickable automatically in a matter of seconds. Im good with that.

But is there a way that if I click a specific heading (e.g 3.4.2.1.6 example) it takes me back to the table of contents rather than me having to scroll to the top every time?

I know this can be done using the internal bookmark and hyperlink feature but that will consume too much effort and time as i will have to it individually with every title. inst there a faster method?

Profile photo for Daniel Schwarz Carigiet

Hi Raqib and thanks for the A2A.

Good news for you: If you make a table of contents in Word using the automatic table of contents function (References --> Table of Contents), then you don't have to create any hyperlinks because the table of contents automatically contains hyperlinks which allow you to jump directly to that particular chapter or section. Even if you save the word document as a pdf file, the hyperlinks remain intact and clickable-on. :-)

What you must do in order to use the table of contents function mentioned above is format your headings correctly using styles. You MUST format y

Hi Raqib and thanks for the A2A.

Good news for you: If you make a table of contents in Word using the automatic table of contents function (References --> Table of Contents), then you don't have to create any hyperlinks because the table of contents automatically contains hyperlinks which allow you to jump directly to that particular chapter or section. Even if you save the word document as a pdf file, the hyperlinks remain intact and clickable-on. :-)

What you must do in order to use the table of contents function mentioned above is format your headings correctly using styles. You MUST format your level 1 headings using the style "Heading 1", second level headings using the style "Heading 2", etc. Because the table of contents function looks for titles formatted using these styles and uses them to build the table of contents automatically.

A common error beginners make is not to use the styles. They just manually make titles bigger, perhaps bold and then get frustrated that Word doesn't recognise what is a title and what isn't.

Use styles and you'll be fine with the table of contents.

Profile photo for Mark Barton

If you’re using Mathematica in its main intended purpose as a notebook-based calculator, the best workflow is normally just to use = (a.k.a., Set[]) to give a name to anything you might want to reuse.

  1. squareplot = Plot[x^2,{x,-1,1}]; 
  2. Show[squareplot,cubeplot] 

Mind you, Mathematica does store all outputs as values of a function Out[] (Out[1], Out[2] etc), and has operators % and %% for conveniently accessing the last and second last items. However although these are used regularly in the examples in the online help, it’s a very bad, horrible, no-good idea to use them in your everyday work, because

If you’re using Mathematica in its main intended purpose as a notebook-based calculator, the best workflow is normally just to use = (a.k.a., Set[]) to give a name to anything you might want to reuse.

  1. squareplot = Plot[x^2,{x,-1,1}]; 
  2. Show[squareplot,cubeplot] 

Mind you, Mathematica does store all outputs as values of a function Out[] (Out[1], Out[2] etc), and has operators % and %% for conveniently accessing the last and second last items. However although these are used regularly in the examples in the online help, it’s a very bad, horrible, no-good idea to use them in your everyday work, because the numbers will typically be different in your next work session, so the linkages will break.

The only good use for the built-in system is to bail yourself out when you forgot to give a suitable name when you first evaluated something. In that case, open a scratch notebook, do something like

  1. shouldhavenamedthat = Out[50]; 

and then go back and edit cell In[50] in your main notebook to add “shouldhavenamedthat = “, so that if/when you evaluate this notebook again, it will be right the first time.

If your outputs are very big and you worry about running low on memory from having two copies of everything, note that the built-in system will capture the last non-Null output of a compound input. So if you use the common trick of ending a line with ; (implicitly ;Null) to suppress any visible output, Out[] will still fill up. To fool it you need to give a short sacrificial result, like 0:

mycopy = willgivehumungousoutput;0;

Of course, in recent versions, Mathematica has added elaborate support for elaborate form interfaces with input fields, tabs etc, all programmatically modifiable, so if you were mad keen, you could probably code up something resembling Excel, but that’s a huge subject, and totally not worth delving into unless you have a very clear idea of what you are trying to achieve. But if you insist, start by reading the help on Dynamic[].

Profile photo for Eric Fletcher

Your ToC entries are probably already set up as hyperlinks: press the Ctrl key when you click on a ToC entry to see if it jumps to the referenced page. This is the default behavior for Word.

Moreover, if you switch to the Web Layout view, your ToC will probably show the ToC lines with the typical blue underlines for hyperlinks — and likely without the page numbers.

So what is happening “under the hood”? If you use the default settings (via References > Table of Contents), Word will create a generic table of contents made up from heading levels 1 through 3. Press Alt-F9 to toggle the field code

Your ToC entries are probably already set up as hyperlinks: press the Ctrl key when you click on a ToC entry to see if it jumps to the referenced page. This is the default behavior for Word.

Moreover, if you switch to the Web Layout view, your ToC will probably show the ToC lines with the typical blue underlines for hyperlinks — and likely without the page numbers.

So what is happening “under the hood”? If you use the default settings (via References > Table of Contents), Word will create a generic table of contents made up from heading levels 1 through 3. Press Alt-F9 to toggle the field code view to see the TOC field code used to manage this. For Windows Word 2010, the default will display as { TOC \o "1-3" \h \z \u } in this view. The \h switch sets the TOC entries as hyperlinks, and in the web layout view, the page numbers will be left out and the hyperlink style will be applied to the ToC lines. This way, if you save the document as a web page, the hyperlinks will behave as you would expect.

If the field code view shows that the TOC field code does not include the \h switch, you can add it. Toggle back to the calculated view again (Alt-F9) and press F9 to recalculate the ToC.

Note that if you use the “Insert table of contents...” selection under the Table of Contents button pulldown, you can toggle the hyperlink option on and off in the dialog box. Many other switches are available for this versatile field code; however, many of them are only available if you edit the field code manually.

Profile photo for Julie Frey

Do you mean where it reads all titles of your chapters which all appear at top perhaps only on odd pages in large font? And then it makes a list of titles in an array?

Then the script writes out the titles in a list in the style of the writer’s choosing or if given a publisher requirements.

The table of contents goes after the title page, page 2 perhaps? Or page 3?

Yes, you can do that.

If you know how to write a program that does all of that with the press of a button.

You’d first have to create a dashboard application that can read and access the document you want to add a table of contents to.

An

Do you mean where it reads all titles of your chapters which all appear at top perhaps only on odd pages in large font? And then it makes a list of titles in an array?

Then the script writes out the titles in a list in the style of the writer’s choosing or if given a publisher requirements.

The table of contents goes after the title page, page 2 perhaps? Or page 3?

Yes, you can do that.

If you know how to write a program that does all of that with the press of a button.

You’d first have to create a dashboard application that can read and access the document you want to add a table of contents to.

An application or script would have to consider that a selected input document does not have any titles or is blank and pop up an error message or your program will crash or lock up.

It would not be easy to write. A dashboard is a way to get it done faster with less typing but at the cost of time and effort setting it up and testing it. Once you have your code, you have to test it with samples to be sure it works. Youi might make up sample documents to feed your program with.

If you have to ask if it can be done, you don’t appear to be ready today to start coding.

PROCESS DIAGRAM

INPUT - Read document into a file. (Does it have to preserve formatting?)

PROCESS - Sort text by size into pages with or without titles. Perhaps put largest sized fonts into a list of titles.

OUTPUT - Write title page with list of titles to meet format requirements. (It is numbered or by letters?)

I don’t know what you are using to publish your documents or if you are getting them as other author submissions. Your document auto titling process requirements is missing details like who will receive these documents? Is this for you or for someone else? Is there a standard font format constant with all submissions? Or does that vary?

Study: Arrays and Strings

Profile photo for Joe Kolp

First type text, Then highlight a line (click far left margin) Click “Heading 1” in ribbon; highlight another line click “Heading 2” etc. Then go back to top and insert “Table of Contents” (right click table “Update entire Table” as needed)

Enjoy, Joe

First type text, Then highlight a line (click far left margin) Click “Heading 1” in ribbon; highlight another line click “Heading 2” etc. Then go back to top and insert “Table of Contents” (right click table “Update entire Table” as needed)

Enjoy, Joe

Profile photo for Julie Frey

???

Your question does not make any logical sense.

A table of contents is defined by headings to identify each part of your document. It is not a table of contents if you do anything else.

You can have the following at the start of your publication: “preface”, “forward”, “in memory” and more if you do any reading on a regular basis and know what is in books typically.

How do your readers know where to look for each section or chapter of your document if you use a weird and unexpected table of contents format?

Why don’t you want to use headings?

Well if you don’t use any textual headings, you can at

???

Your question does not make any logical sense.

A table of contents is defined by headings to identify each part of your document. It is not a table of contents if you do anything else.

You can have the following at the start of your publication: “preface”, “forward”, “in memory” and more if you do any reading on a regular basis and know what is in books typically.

How do your readers know where to look for each section or chapter of your document if you use a weird and unexpected table of contents format?

Why don’t you want to use headings?

Well if you don’t use any textual headings, you can at least use the first words of each of your document parts. Or just use a numbering system to label your publication parts. Use Roman numerals if you want.

I would suggest that you follow standard publication formats that readers expect and not do anything unusual that is more likely to cause confusion.

If you were to submit it to a publisher, it would more than likely be rejected if you try a custom publication format for no apparent purpose.

In regular practice in business and school, publications are regulated according to set standards. You should follow these standards if you want best success when relating with others in business and school. If you choose to write independently, you still have to please publishers and critics who review your work.

If you want to learn to do work that is meaningful and more likely to comply with real world publication practices, please study how to do it right. Please don’t try anything creative unless it is a very special creative work. Even those have minimum standards for submission acceptance.

Standard manuscript format - Wikipedia

APA Style

Profile photo for Stuart Banks

The purpose of a table of contents is to provide an accurate and unambiguous listing of where to locate specific topics, subtopics and important topic detail for the reader to find the information quickly and easily.

Without having to read whole sections and chapters of text in an entitled book, journal or research paper.

Profile photo for Douglas Hartman

A table of contents tells you what is contained in this 500-page book you have just taken off the library shelf.

Now if you want to know what is the purpose of a ‘ Table of Contents’ you can immediately go to the front of the book where the table of contents is listed and you will see ‘ Purpose of Table of Content's -Chapter 6 - Page 120.

Now you do not have to read 119 pages all about writing and printing a book, stuff you have no interest in before you get to the part you want to know about-

You go straight to Chapter 6 and there it is

Best way to eat an elephant - one mouthful at a time -

a tabl

A table of contents tells you what is contained in this 500-page book you have just taken off the library shelf.

Now if you want to know what is the purpose of a ‘ Table of Contents’ you can immediately go to the front of the book where the table of contents is listed and you will see ‘ Purpose of Table of Content's -Chapter 6 - Page 120.

Now you do not have to read 119 pages all about writing and printing a book, stuff you have no interest in before you get to the part you want to know about-

You go straight to Chapter 6 and there it is

Best way to eat an elephant - one mouthful at a time -

a table of Contents allows you to read a 500-page elephant - one mouthful at a time

Profile photo for Timothy Ellis Author

It’s a 3 part process, if you want this for Amazon.

  1. References > Table of Contents > Automatic Table 1
  2. Custom Table of Contents > Untick Show page numbers > set number of levels (usually 1) > Yes to Ok to change the ToC.
  3. Highlight ‘Contents’, and create a Bookmark named ‘toc’.

Bookmark may or may not be showing for you. I had to find it in the list of all functions (wasn’t in the default list) and add it to the References menu.

1 creates a default ToC.

2 builds on it to make it what Amazon want.

3 is what is needed for the ToC to show up on the high level menu in the app and on the device.

Amazon have

It’s a 3 part process, if you want this for Amazon.

  1. References > Table of Contents > Automatic Table 1
  2. Custom Table of Contents > Untick Show page numbers > set number of levels (usually 1) > Yes to Ok to change the ToC.
  3. Highlight ‘Contents’, and create a Bookmark named ‘toc’.

Bookmark may or may not be showing for you. I had to find it in the list of all functions (wasn’t in the default list) and add it to the References menu.

1 creates a default ToC.

2 builds on it to make it what Amazon want.

3 is what is needed for the ToC to show up on the high level menu in the app and on the device.

Amazon have a help page which lists all this.

Profile photo for Manoj Kumar

Image from The Best Guest Blogging Platform For Professional Bloggers

The table of contents is a summarized overview of all the topics present in an article or post. TOC is a short form of Table of Contents. The form of the link in the list denotes all headings and subheadings H1, H2, H3, H4 used in the TOC. This helps readers to know which topics are covered in the article.

Let us take an example of a book, all books have an index page at the beginning which shows how many chapters or topics are in that book and what pages are with the page number. And with the help of an index we can easily na

Image from The Best Guest Blogging Platform For Professional Bloggers

The table of contents is a summarized overview of all the topics present in an article or post. TOC is a short form of Table of Contents. The form of the link in the list denotes all headings and subheadings H1, H2, H3, H4 used in the TOC. This helps readers to know which topics are covered in the article.

Let us take an example of a book, all books have an index page at the beginning which shows how many chapters or topics are in that book and what pages are with the page number. And with the help of an index we can easily navigate to the topic or chapter we want to study. Let me tell you that the index itself is called the table of contents.

Importance of Table of Contents

It Helps in SEO

The table of contents helps improve the SEO ranking of your post, TOC links can be shown in the search results so that the user can jump directly to that part of the post. It can also help increase the chance of getting a featured snippet or search features.

It Provides Easy Navigation For Users

Table of contents is very important for post or articles. You must have read a long article of words (1000-2000) on the internet and you would have noticed that it takes time to read such a long post. In such a post there are many points which we already know, but still we have to read or go through all the points, because it does not have a table of contents.

If the post have table of contents, we can jump right to the point we have to read. Also the table of contents makes the article more professional and attractive with its structure overview.

Information Source: TechnicalVikas

Profile photo for Sarah Waseem

Put your cursor where you want to add the table of contents. Go to References > Table of Contents. and choose an automatic style. If you make changes to your document that affect the table of contents, update the table of contents by right-clicking the table of contents and choosing Update Field.

Profile photo for John Smith

How do you link pages in a Word document from the table of contents?

As another Quoran has suggested (although their answer has been flagged as needing improvement), this works automatically if you use Word’s built-in Table of Contents feature.

It’s a while since I used this. But I would recommend going to Microsoft’s help on this, which will provide step-by-...

Profile photo for Leigh Clayborne

It depends on the complexity of the topic.

If it’s a pretty straightforward topic then just the chapter titles and page numbers with links to that chapter. Even if it’s an eBook, page numbers give people an idea of how long and detailed chapters are.

If it’s more complex, then including subheadings that are right below chapter level are helpful. It helps people understand what they’ll be learning in the book.

This can also help people who are deciding to buy know what they’re buying.

It depends on the complexity of the topic.

If it’s a pretty straightforward topic then just the chapter titles and page numbers with links to that chapter. Even if it’s an eBook, page numbers give people an idea of how long and detailed chapters are.

If it’s more complex, then including subheadings that are right below chapter level are helpful. It helps people understand what they’ll be learning in the book.

This can also help people who are deciding to buy know what they’re buying.

Profile photo for Nicholas Blake

Each item in the contents table must be a heading from the sequence 1 to 7 in the styles area of the Home toolbar. Once that is done, delete your table and replace it with a clickable one by using the Table of contents box in the References menu.

Profile photo for Quora User
Profile photo for Stephanie Marlowe

The table of contents is like a map of the book you’re reading, a navigation tool that brings convenience to the reader, whether it’s locating the specific chapter of Harry Potter and the Deathly Hallows where Harry sees Snape’s memories, or the chapters your Psych professor wants you to read in your giant textbook on Freud. It’s an especially important tool in academics, both for finding and citing specific information that may only exist as part of a larger volume.

Profile photo for Luís Sequeira

A table of contents is generated and typeset where you write the command

  1. \tableofcontents 

If you want it to appear more than once you can issue the same command again.
Without any more information that is all I can say. You may want to provide more details in a comment and I will try to give more specific advice.

About · Careers · Privacy · Terms · Contact · Languages · Your Ad Choices · Press ·
© Quora, Inc. 2025