Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [table-of-contents]

{table-of-contents} is about the creation or modification of the Table of Contents or similar listings like List of Figures and List of Tables as well as custom lists. Popular packages are {tocloft}, {titletoc}, {tocbasic}, {minitoc} and {etoc}.

0
votes
0answers
13 views

Error with \Chapter? Two table of contents formed with standard command

\documentclass[a4paper]{book} \title{ \normalfont\normalsize \textsc{Location}\\ % Your university, school and/or department name(s) \vspace{25pt} % Whitespace \rule{\linewidth}{0.5pt}\\ % Thin top ...
1
vote
1answer
30 views

Left align all levels in table of contents

The following MWE generates a ToC with different alignment according to the section level. How to force all them left align irrespectively to their level? MWE: \documentclass[12pt]{report} %-> ...
1
vote
0answers
29 views

Changed lof and lot breaks due to hyperref package

For my thesis I want to change my LOF and LOT to be divided into seperate chapters like: Chapter 1 figure 1.1 figure 1.2 Chapter 2 etc. For this I use the following code: \documentclass[12pt,...
0
votes
0answers
23 views

Toc entry misplaced with \addcontentsline

I have some problem with my PhD thesis, in particular with the Table of Contents. My preface consists in many different environments (defined by a custom class) containing the abstract, the ...
1
vote
2answers
45 views

How can I remove the 0 from the chapter title of my ToC, which now appears as 'Contents 0'?

I've adjusted the default chapter numbering to a large number on the right side of the page, but now the ToC also shows a chapter number. How can I remove this number without removing the numbers of ...
0
votes
1answer
31 views

Change pnumwidth locally for picture / table, redefine it variably or colorbox pagenumbers

I'm trying to format my thesis and have a problem because of my very long appendix (which is numbered in roman). The page numbers at the end of the document exceed the defined pnumwidth . I know that ...
1
vote
1answer
15 views

hyperref and titletoc: prints extra “section.1” or “Doc-Startchapter.1”

I'm using both hyperref and titletoc for writing my thesis, which is known to cause other kind of incompatibilities which I don't observe in my case. Using titletoc I'm adding a table of content at ...
2
votes
2answers
82 views
+150

Switch font and color of TOC and LOT titles

What I'm trying to do is pretty basic it seems, but it's also above my pay grade: change the font and the color used for the TOC title Contents and the LOT title List of Tables (see attached screen ...
1
vote
2answers
23 views

Add bibliography to ToC without changing bibliography style

I have the following MWE \documentclass[12pt]{report} %-> For bibliography \RequirePackage[num, overcite]{abntex2cite} %-> Generate dummy text \usepackage{lipsum} %-> Change section ...
2
votes
1answer
31 views

2 Pictures under another

I've ran into a little more trouble with the figure environment. I need to create a table of figures for my documentation and whatever I try I can't get 2 pictures on one page. As an minimal example,...
0
votes
0answers
17 views

How to set title of \listoftables and \listoffigures to sans serif

I have a page in my book document with just the commands \listoftables and \listoffigures. However, I want the respective titles - that is 'List of Tables' and 'List of Figures' to show up using the ...
2
votes
4answers
48 views

TOC continues to next page with one line

Consider this example: \documentclass{report} %% \clubpenalty=10000 ...
0
votes
0answers
18 views

Changing only the header for Table of Contents pages

I want to make my Table of Contents pages show "Table of Contents" in their headers. Right now, according to the MWE below, this is what it shows: And this is what I want it to show: The header, in ...
0
votes
1answer
20 views

Memoir class with subfile figure numbering is wrong [on hold]

I use the class memoir with subfiles. The numbering of figure say in chapter 2, subsection 2.5, in subsection 2.5.1 gives me a figure of the first Figure 21, when i use \counterwithin{figure}{...
1
vote
0answers
28 views

Booklet package - wrong ToC page numbers

I am sorry if the question was asked before but I did not found anywhere any solution for this particular problem. During the writing of a short version of my thesis, I use the booklet package. ...
0
votes
0answers
17 views

Add/Continue a new subsection to an older section after it was ended [in toc]

I'm basically looking to not order things how they appear chronologically, page-wise. Instead, if I have [subsection #1.3] after [section #n], add #1.3 to #1 instead of #n, for ToC reasons. What I ...
0
votes
1answer
30 views

how to encase the page numbers in table of content with parenthesis

Is there a way to encase the page numbers in the table of content with parenthesis? For example, the entry of the table is in the format: 1.1 section name ............ 12 what I expect is: 1.1 ...
1
vote
1answer
36 views

ToC with font Verdana results in misalignments

When I create a document with the default font the ToC looks fine. When I change the font to Verdana the numbers are not properly aligned - the page numbers and the space between number and chapter. ...
0
votes
1answer
25 views

Table of contents items longer than one line getting centered in custom class

NOTE: this question was answered below by Jhor, and the class file that I link to below has now been fixed, so the problem is no longer reproducible. I am using a class that was created for my ...
4
votes
3answers
68 views

How to add dots in the table of contents on chapter name

I have a probleme with table of contents. The chapter's dots didn't work. How to fix it. This is my code \documentclass[a5paper,11pt]{book} \usepackage[a5paper,hmargin={2.5cm,1.5cm},vmargin={1.5cm,1....
0
votes
0answers
26 views

Cannot compile after putting table of contents

This is my preamble: \documentclass[12pt]{report} \usepackage[left=1.5in, right=1in, top=1in,bottom=1.5in]{geometry} \usepackage{setspace} \usepackage{amsbsy} \usepackage{fancyhdr} \usepackage{lipsum}...
3
votes
1answer
61 views

How do I add an Arabic abstract before the English abstract?

I want to add an Arabic abstract before the English abstract, at the beginning of an English document. I also want the title of the abstract to appear in Arabic (ملخص) in the Table of Contents.
2
votes
2answers
41 views

titlesec: Want to remove section nums in TOC but not subsection

Title says it all. \documentclass[twoside]{article} \usepackage{graphicx} \usepackage{bm} \usepackage{amssymb,amsmath} \usepackage{mathrsfs} \usepackage{titling} \usepackage{bigints} \usepackage{...
0
votes
0answers
23 views

Section TOC with mini-toc package in article class

I came across this question, which directly addresses what I want to do. I copied the accepted answer's code in to an overleaf document and compiled but the desired (and in the answer presented) ...
2
votes
2answers
43 views

Multiple listing styles with caption package

This question is mainly related to Multiple listings styles. If I have \usepackage{caption} definition in the head of file, list of custom listings disappear. How to make it work? \documentclass{...
0
votes
0answers
24 views

How do I remove a specific chapter from a table of contents? [duplicate]

My current layout looks like this: \documentclass[12pt, onecolumn]{revtex4} \tableofcontents \section*{Acknowledgements} \section{Chapter 1} \section{Chapter 2} \section{Chapter 3} \section{...
0
votes
1answer
57 views

Disable hyperlinks in the titles of the sections but keep it in the section numbering and pages

basically I would like to ask how to make the hyperlinks in toc look like the picture bellow. Thanks in advance! In this thread the exact opposite was asked and solved. Maybe it helps with the ...
0
votes
0answers
16 views

How to change the title of a section in the table of contents [duplicate]

In the file I am working on, some lengthy section titles are split up into two lines in the table of contents, with just one word dangling on the second line. Therefore, I would like to redefine the ...
2
votes
3answers
89 views

Characters won't fit in table

I'm using Overleaf to make a uni work and I need to make a table which at first was too long, and now the characters won't fit in the cells. As I see it's demanded in other posts, I'll paste the ...
1
vote
1answer
36 views

scrreprt: unnumbered chapters, numbering within sections - how to remove period?

Using KOMA-Script's report class scrreprt, I'd like to have chapters without any numbering, and have normal (Arabic numerals) numbering within each section (in text and in ToC), like so: Chapter ...
0
votes
2answers
42 views

How to remove the chapter number while still having the chapter name at the top of the page?

Currently I have this: I want to remove the chapter number, which i can easily do with \chapter*{Acknowledgments}. This, however, makes the top line on all subsequent pages say the chapter name of ...
0
votes
0answers
29 views

Problems with the table of contents

I am facing three types of problems with the table of contents. First, I want to remove underlining (from the section titles) and bold (from the chapter titles) from the table of contents. The page ...
0
votes
0answers
20 views

How can I get list of symbols, abbreviations, abstract, acknowledgements into Table of Contents before Introduction, and under roman numerals? [duplicate]

I have managed to make a decent Table of Contents. However, it does not include the following items: List of Abbreviations List of Symbols Abstract Acknowledgements My Table of Contents has no ...
0
votes
1answer
44 views

How to manually grey out item in Beamer enumeration

How do I manually specify that the first item in the list should be greyed out? \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize} \item First section \item Second section \item ...
1
vote
0answers
27 views

Print Chapter name in TOC but not where chapter starts

I want to use an image (in which chapter name is written) in place of where the chapter name is. But chapter name is required in TOC as text. Following code give a blank page before the chapter title ...
1
vote
1answer
23 views

How to re-order \addcontentsline?

This question may sound similar to what has been asked before, but I tried to do a minimalistic implementation (stealing some code from the verbatim package). Also I don't really know TeX, just basic ...
0
votes
0answers
23 views

Manually adding content to list of figures

So I'm supposed to make a command that manually applies label to a picture, using hypertarget and a counter, and then adds the one to list of figures. Note that the pictures I'm manipulating with, ...
0
votes
0answers
21 views

`tocloft` messing with main TOC

Following the advice of this link, I added the package tocloft to my KOMAScript-based template to create an independent "list of" elements of a given class. It works like a charm, but it seems ...
1
vote
0answers
18 views

\thispagestyle{plain} does not work for the 3rd page from list of figures

I'm trying to create a plain page style for list of figures using the \thispagestyle{plain} command but it only works for the first 2 pages. On the third page, it uses the \pagestyle{fancy}, with ...
0
votes
1answer
26 views

Link in table of content not as big as section header if it extends more than one line

I have the problem that the links in the table of content are not properly displayed. If the entry does not exceed one row everything is ok. If it is two rows long there is no link at all and if it is ...
1
vote
1answer
27 views

Broken links in table of content

I am writing my thesis and I am struggeling with the links in the table of content. At the end of the first chapter I have an appendix. Then another chapter follows. To end the appendix and return to ...
1
vote
1answer
35 views

In frontmatter after toc suddenly pagenumbering gets arabic

I can't find why the page-numbering after a chapter (or even toc) in front-matter switches to arabic. I would appreciate any helps and hints to fix this. Here is my (edited) code: \documentclass[ ...
0
votes
1answer
22 views

table of contents in second page, title in the first

I am trying to write title in first page, and after table of contents: \documentclass{article} \begin{document} \title{My Title} \author{My Name} \newpage \tableofcontents \...
0
votes
0answers
29 views

Hebrew table of contents number format

I am writing a mathematical document in Hebrew and I "forced" the page numbers to be the English font (using \selectlanguage) so they will be consistent with the font used in the formulas. However, my ...
1
vote
1answer
24 views

Outline in Beamer with multiple title pages

I do a thesis in many (independent) articles or essays. I need a good way for the presentation. My goal is to have one Beamer file containing the essays. I code the Beamer as following: \...
0
votes
2answers
22 views

Table of contents doesn't link to references

I am writing my thesis in Latex and I am having trouble getting the table of contents to correctly link to the reference list I created with the apacite package. A MWE that illustrates my problem: \...
0
votes
0answers
24 views

Display only unique page numbers in Table of Content

Currently, my Table of Contents looks like this: However, I feel like having so many repeating page numbers looks a bit weird. What I want it to look like is this: I have generated the Table of ...
2
votes
2answers
39 views

How can I list an un-numbered section on the table of contents?

Here is a capture of part of "Table of Contents" of my article. Between section 32 and Appendix A (On Page 68), I manually added unnumbered sections called "Summary" "Further Reading" and "...
0
votes
0answers
27 views

Capitalization of Appendix in Table of Contents and in Text

I would like the name to be "APPENDIX A: SUPPLEMENTARY INFORMATION". I have tried the following code but it does not work: \usepackage[titletoc]{appendix} \begin{document} \renewcommand{...
0
votes
0answers
16 views

How to generate a single short caption for a split figure

I want to be able to make a spit figure that only registers a single short caption in my list of figures. \documentclass{article} \usepackage{graphicx} \usepackage[font=footnotesize]{caption} \begin{...