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
24 views

Not Clickable Parts in Table of Contents

I have some problems with my table of contents in a LaTex document in Overleaf. I have added 6 subfiles that are appendices. They display as I want in ToC, but most of them are not clickable. This ...
0
votes
0answers
25 views

pagenumbering, figure and tableofcontents in memoir document (overleaf)

I am making a booklet. It is almost done but 1) I realized that numbering of the pages has just dissapeared (expect in some pages like those one where begins a chapter) 2) I have only the title of ...
0
votes
1answer
13 views

How to list portion of subsections

Right now I have a list of questions which I labeled. \documentclass[10pt]{article} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \begin{document} \newpage \section{Project} ...
3
votes
1answer
101 views

Setting chapter numbering to alphabetic in one part only

I need to have the chapter numbering of a specific part in my document be alphabetic instead of numeric. How is this accomplished? MWE playground: \documentclass[a4paper,12pt,twoside,onecolumn,...
2
votes
1answer
25 views

Add algorithm2e to ToC with KOMA-Script

How can I add the list of algorithms from algorithm2e to the table of contents of a KOMA-Script class? MWE: \documentclass[oneside,listof=totoc]{scrbook} \setuptoc{loa}{totoc} %does not work \...
0
votes
1answer
35 views

Font size of entries for LoF and LoT in ToC

I have a problem with the font size of the entries for List of figures and List of tables on the Contents index. If I change the fonts for the titles of LoF and LoT, the same changes are applied in ...
1
vote
1answer
29 views

Bibliography as numbered subsection

For my Bachelor thesis, I would prefer that the references are listet as a subsection in the section "Appendix".... The only thing a achieved so far is, that together with \usepackage[numbib]{...
4
votes
1answer
69 views

How do I recreate this two-column TOC layout with chapter goals on the left and TOC on the right

Recently I have been looking through Till Tantau's (the creator of TikZ) script on logic (see here). He uses a beautiful layout at each beginning of a chapter. So I want to recreate the little "...
0
votes
0answers
16 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
2answers
46 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
31 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
26 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
48 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
32 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
124 views

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
24 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
18 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
51 views

TOC continues to next page with one line

Consider this example: \documentclass{report} %% \clubpenalty=10000 ...
0
votes
0answers
22 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
22 views

Memoir class with subfile figure numbering is wrong [closed]

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
37 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
26 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
69 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
27 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
74 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. here ...
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
24 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
58 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
18 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
90 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
39 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
43 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
30 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
21 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
46 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
30 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
29 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
28 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[ ...