{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}, and {minitoc}.

learn more… | top users | synonyms (4)

0
votes
1answer
36 views

How do I list a section in table of contents that appears before the table of contents? [duplicate]

My institution requires a summary of a report to be on page iii, then the table of contents start on page v (there is other front matter inserted by the publications dept on pages i, ii and iv). I ...
2
votes
2answers
71 views

How to reset the space between the label and the content of the item

As described above, I need to enlarge the space between the label and the content of the item of the section of Table of content (\l@part to be exact). and I typed the command ...
0
votes
0answers
21 views

How to put table of contents at the beginning of each chapter? [duplicate]

How can i have such a format in every chapter in my thesis. More specifically i would like this table of contents for each chapter depending on its subsections.
1
vote
2answers
29 views

Unnumbered chapter in toc and heading

I'm writing a thesis using scrreprt and want the preface to appear as an unnumbered chapter. When I use \chapter*{Preface} \addcontentsline{toc}{chapter}{Preface} I get the correct entry in the ...
1
vote
0answers
17 views

biblatex combined with refsection and List of Tables

I have the following problem: Some Tables have captions with references in them. This works, however, when I add a List of tables (and I'm using biblatex with refsection=chapter), this reference gets ...
3
votes
2answers
45 views

Dots after section number in TOC

I am writing my thesis in Lyx and my supervisor has very specific edditing requirements. He wants that the chapter number in TOC would be followed by dot, but section numbers not. Here's code from ...
18
votes
2answers
8k views

Remove “chapter #” from the chapter title but keep chapter number in the table of contents

I am using report document class. I want to remove word "Chapter" and "chapter number" from chapter title, so when new chapter starts I will get only chapter title. I can do it using: ...
2
votes
1answer
39 views

Exclude functions and procedures completely from list of algorithms in algorithm2e

I'm referring to this answer of the question on 'how to exclude functions from \listofalgorithms in algorithm2e'. The solution provided in the answer just omits the word function within the list of ...
0
votes
2answers
47 views

Custom section in conflict with TOC

I adapted this answer to make a custom section I need. My intention is that it looks something like the second heading from this image: So the numbering must be made using (\Alph) and it must be ...
3
votes
1answer
106 views

Line spacing in ToC, LoF, and LoT

I am currently writing my thesis in Latex and the thesis is supposed to be double spaced, so I have used the \doublespacing command in my latex file. The problem: Chapter or Section Titles, Figure ...
1
vote
1answer
52 views

How to use tocloft to create a list which appears in the middle of the document

I have a document in IEEE (conf) format and I want to add a new environment using tocloft. The relevant code looks like this (slightly abbreviated): \documentclass[conference]{IEEEtran} ...
0
votes
0answers
42 views

ComplexTable of Contents

Id like to create a table structure within my document based upon a \newlesson command for example. \newcommand{\newlesson}[1]{ \newpage \addtocounter{LessonNumber}{1}\subsubsection{{Lesson ...
0
votes
1answer
36 views

Trouble adding appendix to ToC

I'm trying to add the appendix to my thesis and I've used the following commands: \begin{appendices} \chapter{Performance Tables of ABCD} \input{tab1} \input{tab2} \input{tab3} \input{tab4} ...
0
votes
0answers
25 views

Customize ToC entries for appendices

I want to customize the names of the appendix in the ToC. I redefined the chapternames to "Week" with \addto\captionsdutch{ \renewcommand\chaptername{Week}} and I included the chapter name in ...
1
vote
1answer
71 views

Adding the string “part” before the entries in the TOC

I want to add the word "Part" before my entries in the toc. I read here that I could use \renewcommand\cftpartpresnum{Part~}. I have tried adding making some modifications to the partpresnum and ...
1
vote
1answer
18 views

Sections in ToC with links but without headings

I want to include some external documents (PDFs) in the appendix of the document I am writing. I would like to have these included documents listed in my table of contents, but no section heading ...
3
votes
2answers
136 views

Show chapter in main toc but not in parttoc

Is it possible not to display the last chapter in the second parttoc ? \documentclass[a4paper,oneside]{scrbook} \usepackage{minitoc} \setcounter{tocdepth}{0} \begin{document} \doparttoc ...
1
vote
0answers
40 views

Chapter Number only unbold in TOC

I have created toc and how do unbold the chapter number in table of contents. The dotsep between chapter title and page number is also disapper? How do on the dotsep. My MWE is: \documentclass{book} ...
2
votes
2answers
53 views

Counters for Chapter and Section environments when using tcolorbox for listings

This is a followup question of this question. With my MWE I'm getting wrong Listing numbers, wrong toc (including Chapter and Section environments from listings) and wrong bookmarks in pdf toc. Any ...
1
vote
1answer
55 views

Wrong page numbering for list of figures and list of tables in Table of Contents!

I know other people have asked this question but having scanned through the answers there seems to be two solutions: compiling 3 or 4 times and trying out some snippets of code involving the \markboth ...
2
votes
0answers
41 views

Using Titlesec, titletoc, and titleps together affects the command \tableofcontents

Writing a book of probability in arabic, I want to use the titleps package for different beautiful headpages, in my files where I use titletoc for partial table of contents. All was good until I used ...
0
votes
0answers
30 views

Customization of List of Tables and List of Figures title

I'm working on my thesis, and need a list of figures and list of tables. However, in the book document class I'm using the default format is not a format I can use. I did find a fix for the Table of ...
0
votes
1answer
21 views

Reduce line-spacing in ToC for certain sections in amsbook

Is it possible in LaTeX to reduce the line-spacing in the table of contents just for certain sections? Left is how it currently looks like, right is how I want it to look like: Thanks a lot! :-)
0
votes
1answer
41 views

How to have footer in first page? (Table of contents is also in the first page)

I have footer in my article file, but the footer does not show in the first page. The Table of Contents is in the first page too, there is a page number in the bottom of the page, but I do not need ...
4
votes
2answers
83 views

Different numbering format between toc and body

To complete my memory, I would like to display different numbering format beetween my section in the body of my document and the one in the toc You will find just below my MWE : \documentclass{book} ...
0
votes
1answer
45 views

Table of content problem

I have prepared table of contents for my thesis like that But our university wants like that The main difference between them, In the second screenshot, chapter and section heading numbers are ...
0
votes
0answers
35 views

Table of content margin

According to the below the figure, how can i adjust the margin of table of content according to the red line \usepackage[titles]{tocloft} \renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} ...
2
votes
1answer
68 views

Dotted leader does not reach the page number in TOC

I am writing my thesis. The grad school requirement is that in TOC the dots leading to page number should extend till the number. I can get this by defining pnumwidth = 0 but then the problem is that ...
0
votes
1answer
106 views

Vertical space in TOC (references entry)

The references entry has a vertical space in the TOC page, something like that How could I remove this space and make the references section just like a chapter in the TOC?? I'm using the memoir ...
1
vote
1answer
45 views

Defining shorttoc and toc title style

I've been working on a custom title presentation for my document for titles \part{}, \chapter{}, \section{} and paragraph{}. I also use the extension shorttoc to make a summary at the start of my ...
3
votes
1answer
24 views

Overfull \hbox in the Table of Figures when using custom page numbering

I use a custom page numbering for appendices: \renewcommand{\thepage}{A~--~\arabic{page}} The problem is there is a overfull \hbox in the Table of Figures for the custom page numbering: The ...
5
votes
1answer
87 views

minitoc package adds extra page when used with float and lastpage packages

The minitoc package adds extra page when used with float and lastpage packages. I figured out that this problem can be resolved by loading minitoc package before float and lastpage packages. In LyX ...
2
votes
2answers
97 views

Remove bold from Table of Contents

I don't want the bold font in the Table of Contents. I am using the memoir class (and the dash chapter style). Any suggestions?
0
votes
0answers
61 views

List of figures \hbox overfull

I have an overfull \hbox in my list of figures, not because of long captions/page number over run, which is addressed in other postings(addressed in Fix formatting errors of page number > 99 in ...
3
votes
1answer
70 views

Custom table for own commands

I have created following four command and using them just below \section \coursename{Mathematics for Biotechnology/Food Technology-I} \credit{4} \lecture{3} \tutorial{1} \lab{0} I want to generate ...
2
votes
1answer
35 views

PDF Bookmark hierarchy incorrect

I'm having the same problem as that noted in This question: namely, the pdf bookmarks are incorrect, with some sections incorrectly subsumed under others. However, the code that I'm using is somewhat ...
1
vote
0answers
62 views

How to change the unusual font size of Table of Contents?

Below picture shows my table of contents The title size (the word, Contents) is very big, maybe Huge. I never set it as Huge and I searched the whole LaTeX file, there is no the word "huge" at all. ...
3
votes
1answer
49 views

How to change the color of Table of Contents from red to black?

Now the color of Table of Contents is red, i want it be black color. I use hyperref \usepackage[colorlinks=true]{hyperref} if I change it to \usepackage{hyperref} or ...
2
votes
1answer
47 views

colorful background of the chapters in ToC without ''tocloft'' package

I would like to create a table of contents where the chapters appear with a colorful background just like attached Image, and i hope to do this without tocloft ( without packages or with titletoc ) ...
2
votes
1answer
38 views

Problem with ToC in LyX

I'm writing my thesis on LyX. My ToC looks like this: Why are sections and sub-sections page numbers not aligned on the right but below each entry? I'd like to have them aligned on the right and ...
2
votes
1answer
107 views

Adding tables to list of tables with custom chapter breakdown

Running the code below is supposed to modify my list of tables to show the Chapter number above each set of tables related to that chapter. \usepackage{etoolbox} \preto\table{% ...
3
votes
2answers
87 views

LaTeX table of contents header spacing

Here is my issue. The code below, which I found on a pdf devoted to memoir class title pages, compiles to form this: Unfortunately, the Table of Contents is a bit too low for my liking. I'm hoping ...
2
votes
1answer
46 views

Lists of figures and table - Print “Figure X.Y - ”

I want to customize my lists of figures and tables so that it looks like this: Figure 1.1 - Name of the fig. Figure 1.2 - etc. I am currently using the tocloft package and managed to have Figure ...
4
votes
2answers
50 views

Chapter Roman in tableofcontents

I try to change number of chapter to CHAPTER I,II,III in contents and it is done. \documentclass{report} \usepackage{tocloft} \addtocontents{toc}{~\hfill{\small Page}\par} \AtBeginDocument{% ...
2
votes
1answer
47 views

Fancy Table of Contents and Hyperref Set Up

I am using a code in tikz for a fancy table of contents and I want to apply certain settings on it using the hyperref package and the relevant command hyperrefsetup. I want to create the following ...
0
votes
0answers
28 views

Problem in the postion of the Part in in the TOC

Hello I've used the solution I've found here: Remove part page To suppress the part page. It works, but with a hitch. My structure is part 1 chapter 1 chapter 2 part 2 chapter 3 chapter ...
3
votes
1answer
48 views

Two parts caption in listoffigures

I'm using this template to write my report. I'm trying to add a listoffigures so I added those lines in the .cls file: \newlength{\lofsep} \setlength\lofsep{2pc} \contentsmargin{0cm} ...
2
votes
1answer
57 views

How to show the structure of a pdf document with LaTeX?

How to show the document structure with Latex?. I was doing some article and i would like to know once it was been compiled and saved in a pdf file how to show the sections or the strcuture of the ...
10
votes
2answers
8k views

Bibliography in table of contents

\begin{document} \tableofcontents \include{chapter1} \bibliographystyle{plain} \bibliography{biblio} \end{document} The bibliography does not appear in the table of contents, have you an ...
0
votes
0answers
37 views

Chapter turns into Appendix in TOC

I am writing my PhD thesis, using documentclass Thesis. To compile the table of contents, I write the following. However, in the pdflatex-file, this correctly produces 1. Introduction, and ...