{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)

3
votes
1answer
21 views

Patching \chapter command such that all lower sections are set in twocolumn in ToC

I've been trying to typeset my ToC like the one in the question How to make the ToCs part entry in onecolumn while the others are in two columns however, I don't have parts and therefore I want the ...
1
vote
3answers
60 views

Linking the section titles to toc using only hyperref

How to link section titles back to toc? I want to use only hyperref and not any toc related packages (answer with titlesec can be found here) I can do the hypertarget to toc sections (answer provided ...
1
vote
0answers
56 views

Wrong page numbers in the table of contents of a LaTeX document

I am writing my thesis in LaTeX. Everything was going fine until I decided to insert some of my publications into the LaTeX thesis document. The error is in the table of contents, which is showing ...
3
votes
1answer
320 views

turn numbering off, but keep Table of Contents intact?

I have a LaTeX template I created for use with Emacs org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me ...
3
votes
1answer
90 views

Beamer (with Bergen theme) how to move ToC from sidebar to “main part” of slide?

How would I move the table of contents produced by \tableofcontents from the left sidebar to the main part of the slide? It produces a lot of unused white space, as in the following: This code ...
4
votes
1answer
79 views

Formatting problem with table of contents LaTeX

I would like to obtain a table of contents like this one: But I haven't found yet how to instruct LaTeX to format a table of contents like this. I have also tried a different approach giving up ...
2
votes
1answer
26 views

Table of Contents unbold chapter names

I require chapter names unbold in Table of Contents. Please guide me how I unbold the heading of chapter names only in Table of Contents.
17
votes
4answers
770 views

Is there an easy way to tag content in a LaTeX document?

I am writing a document which will contain many small (approximately a page) snippets of text, potentially organized in sections or subsections. To each such section, I would like to attach several ...
17
votes
4answers
11k views

How to show \listoffigures and \listoftables on one page and in the ToC?

Is it possible to put the list of figures and tables onto one page? I only have two tables in my thesis, so having it on an extra page looks quite bad. I've read about the tocloft package and tried ...
2
votes
1answer
30 views

Changing the section and subsection font color in contents page in beamer

I want to change the section and subsection names in my contents page on beamer. Plz help me. Thanx in advance
2
votes
2answers
69 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} ...
1
vote
0answers
30 views

Reproducing the standard layout of the “book” class with “titletoc”

Is there a reference that shows how to use titletoc commands (\titlecontents, etc.) to approximate the layout of the table of contents in the standard book class? In particular, I would like to see ...
0
votes
1answer
22 views

Two distinct aliaspagestyles for a document (Or another solution to pagenumbering problem)

Is there any way to make two distinct aliaspagestyles for different parts of the document. That is to say, can I make one aliaspagestyle for the first page of the TOC while having a different one for ...
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
74 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
34 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
18 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 ...
4
votes
2answers
48 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
49 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
107 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 ...
0
votes
0answers
44 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
72 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
139 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
42 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
55 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
56 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
43 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
22 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
44 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
88 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
46 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
47 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
25 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
88 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
100 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
65 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
52 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 ...