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

5
votes
2answers
31 views

Style \listofalgorithms from algorithm package

I have some weird requirements for thesis formatting at my university. I was able to manage to mimic almost all of them, but List of Algorithms from algorithm package is something I cannot go through ...
3
votes
0answers
18 views

Creating a List of Theorems divided into Subsections with amsthm

I want to modify the listoftheorems command so that at the end of each chapter, I can give a list of the theorems or definitions within the last chapter, and I want these divided by section (it should ...
1
vote
0answers
26 views

List of Tables not filling with pgfplots package

This is my first question on here but I am hoping someone can help me with this issue. I am writing a thesis with my university's .sty file for formatting, however when I compile the list of tables ...
1
vote
1answer
44 views

Table of contents [toc]: Variable tocdepth within toc when using multiple tables of contents

I can universally vary the table of contents depth. This is typically handled with command:\setcounter{tocdepth}{ [depth] }. I can partially vary the table of contents depth. This is instead handled ...
1
vote
1answer
36 views

A series of diagrams in the list of figures

I have a number of diagrams (right now 8) that depict different stages of an algorithm, each in its own figure environment together with a caption and a label I am referencing in text (the description ...
2
votes
2answers
39 views

Merging aux files

The aux file basically consists of tex commands which are read and expanded at the begining of the document. The command \AtBeginDocument{\makeatletter\input{test2.aux}\makeatother} will have ...
1
vote
1answer
21 views

Caption of figure in list of figures in Lyx

my question is often asked and as often answered for regular Latex, but I would like to know, if there is a simple way in Lyx to make a custom entry for a caption in the list of figures, just like ...
1
vote
1answer
36 views

Keeping chapter titles in table of contents but deleting the chapters in the document

I am writing a book that I will publish in two separate volumes. In volume 1, I want the table of contents to show the full list of chapters for volume 1 and volume 2, however I do not want volume 2 ...
1
vote
1answer
50 views

Awful ToC layout, while using roman number

I use the article class. I want a ToC and pages with roman number, so I use the following : \renewcommand{\thesection}{\Roman{section}} But the ToC layout is horrible (while page title are great) ...
2
votes
1answer
35 views

TeX capacity exceeded error after adding \tableofcontents

The following document typesets entirely and correctly unless I insert the command \tableofcontents in my Main.tex source file, which states "capacity exceeded error" without producing any PDF. ...
1
vote
0answers
45 views

inserting table of content into another document

How do I insert the table of contents of a document into another LaTeX document? If this is even possible. In the first document, the ToC is created using \tableofcontents edited from comments: ...
3
votes
1answer
47 views

Badly aligned two column Beamer ToC

I'm trying to make a nice two column table of contents in beamer. There are a lot of questions about it, but I can't see that anyone really answers my problem. Using the multicol environment, ...
2
votes
1answer
63 views

Including a list of symbols with description and page number

I want to include in the backmatter a list giving, in order of first occurrence: math symbol - dotfill - short description - page number for example Here is a minimal example of what works, but ...
1
vote
1answer
33 views

Roman numbering of pages on ToC, but arabic on document

this could seem a little awkward, but apparently I need to do it this way. I have a document (class book) that uses arabic page numbering starting from the introduction page. Before that I have the ...
0
votes
0answers
37 views

Display a title in the Content

I am writing a report in Latex, I am using Latexila. I wonder how can I display a section (defined by \chapter*{Introduction}) in my able of contents. In fact, the table of content doesn't show ...
4
votes
2answers
88 views

List of Boxes in Table of Contents

I am creating titled boxes using mdframed environment. How do I add a List of Boxes after the Table of Contents (as List of Tables and List of Figures)? Here is my MWE. ...
4
votes
1answer
68 views

Listing Subsection title in same TOC line as Section in Memoir

For a manual-like document I'm writing, I have the need to save two additional items together with each section. For this I have created a custom command that creates a subsection under the section ...
2
votes
2answers
19 views

Lyx outline pane and menu truncating titles after N chars

using Lyx I've encountered the following problem: In the outline pane section's and subsection's text are truncated after a certain number of chars. The same limit seem to be applied in the "Navigate" ...
2
votes
0answers
26 views

Multiple appendices prefix names

For my dissertation, I have a LaTeX template, which alters the prefix of the appendix titles, such that instead of 'A [app name]' I get 'Paper A [app name]'. Great! Except that I would like to have a ...
2
votes
1answer
39 views

Reorder Table of Contents

I'm creating a Table of Content for an art journal. The Table of Contents should group the works by their genre (Poetry, Non Fiction, Fiction, Visual Art) but the material will be mixed throughout the ...
2
votes
1answer
44 views

Ignore section hfill in table of contents

I have a document which is similar to the MWE below: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} % toc dots ...
3
votes
1answer
26 views

Table of contents spacing with \addcontentslin{toc} [duplicate]

How do I increase the spacing between the numbering and the text in the table of contents? Note that I am using the article class and use \addcontentsline{toc}. Code: \documentclass[12pt]{article} ...
0
votes
0answers
22 views

Problem with the table of contents (order) and appendix

I have one important question. Basically you can see the structure of my document down below. The problem is the table of contents and the appendix. As you may have noticed at the end of the document ...
0
votes
1answer
38 views

How can I adjust the table of contents?

I'm trying to write a report in LaTeX. First, I tried to align the table of contents to the left. Then I changed my mind but I couldn't restore. I would like to make some distance between the Sections ...
1
vote
1answer
22 views

Table of Contents different margins on first and subsequent pages

I am writing my doctoral thesis using the mcgilletdclass template that I downloaded on-line. For the most part, I have been able to make modifications to get a more desirable template; however, I am ...
11
votes
1answer
96 views

Visual table of contents (tikz mindmap) - Problem in output

I would like to make visual table of contents, just like here. However, I have a part that does not have a section and I would like it to output, but it does not do so. I took my code from here as ...
1
vote
1answer
21 views

Toc, Lof and Lot with roman number in headline

I would like to have such a table of contents: I. Table of contents II. List of figures ..................... 3 III. List of tables ...................... 4 1. Section ...
5
votes
2answers
52 views

Font in ToC entries

I used {\sffamily\tableofcontents} to change the font from Times New Roman to sans serif in my table of contents. Then I used \usepackage{tocloft} \renewcommand\cftchapafterpnum{\vskip6pt} ...
1
vote
1answer
86 views

Modifying list of tables/images

I'd like to customize the list of figures and tables with a similar design to this: Modifying mini-toc content Does somebody know how to do a similar design for a list of tables/images?
0
votes
1answer
27 views

Changing “Chapter A” to “Appendix A” in TOC

I am trying to display the appendix in my thesis TOC as Appendix A instead of Chapter A using our university's class file 'kfupm_thesis.cls'. Here is the MWE \documentclass[ms, ...
0
votes
0answers
35 views

Replace (.) in ToC with a space

I am creating my own Appendix numbering in a document, and the number isn't appearing correctly in the ToC. In appendixa.tex, I have: \renewcommand\thesection{Appendix \Alph{section}} \section{} ...
1
vote
0answers
15 views

pagestyle{empty} and table of contents [duplicate]

For some reason I get a page number in the footer of the table of contents in a book document class. How can I delete it?
3
votes
2answers
54 views

Redefining \section with titlesec using \clearpage causes extra entries in table of contents

The following MWE shows that whenever I issue a \clearpage within the redefinition of \section, it produces an additional entry in the table of contents. Why does this happen? And how should I fix it? ...
4
votes
2answers
90 views

Decrease indent of TOC using scrreprt

Is there a short way to decrease the indent of the TOC? I think that the indent is too much since I use: \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} The whole definition is: ...
3
votes
1answer
33 views

How to hide the page number of contents?

I used the \tableofcontents command and then \addcontentsline to add "Introduction" to the contents. The introduction is set as page 1, but my ToC shows a page1 to itself, too. Then I have page 1 and ...
2
votes
1answer
67 views

Customizing the list of listings from minted

This question is in regards to customizing the format of the list of listings produced with the minted package. In particular, I want to replicate the formatting produced via the tocloft for Figures: ...
1
vote
1answer
23 views

Captions in subfigures and skip subfigures in List of Figures

I don't know whether the two are related each other but I cannot figure out a way to achieve both. What I try to do is basically Put a custom caption below the figure Subfigures automatically ...
2
votes
1answer
10 views

Cite-marks in List of figures

My list of figures currently contains the cite-marks next the caption: How do I get rid of them in the list of figures? This is how the first figure is defined. If I put the \cite{} outside of the ...
3
votes
1answer
100 views

How would you create a horizontal toc?

I'm trying to create a horizontal table of contents, but have no clue how I should start. My end goal would be something like this: I have some experience with latex, but unfortunately I am ...
3
votes
2answers
52 views

Separate table of contents for appendix

We are working on a book (class scrbook) where we would like to have two separate table of contents: one at the beginning of the document for the actual "content" of the book and another one just ...
0
votes
0answers
13 views

Issue in figures adjustment after compilation of the document

I am facing an issue of floated figures and tables adjustment in the compiled document... They get out of the document and can't be seen when it is compiled. kindly help!
3
votes
2answers
59 views

Adjust vertical spacing between minitoc title and contents

I'm using minitoc and I want to adjust the vertical space between the title and the contents, shown in the image below: Here's my MWE: \documentclass{book} \usepackage{minitoc} \nomtcrule ...
2
votes
3answers
65 views

Creating a documentclass with colored titles in koma-script

I am trying to create my own documentclass which fits my needs according to the use of colors. For a shorter description I put all corresponding things in the following working example: ...
0
votes
0answers
29 views

Errors occur after adding \tableofcontents [duplicate]

Let us consider the following LaTeX code: \documentclass[12pt,twoside,a4paper]{book} \usepackage[left=.45in,right=.45in,top=.6in,bottom=.6in,headheight=14.5pt]{geometry}% To resize page margin ...
1
vote
1answer
24 views

Appendix subsection shown under wrong ToC line

Currently, my document main.tex looks as follows: \documentclass[11pt, a4paper, openright]{book} %oneside option \usepackage{etex} \input{layout} \begin{document} \cleardoublepage ...
3
votes
2answers
85 views

generate short caption automatically, if there is a citation at the end

I have a lot of figures that I'm referring to and I prefer to give short cites for the list of figures, ie without the source, unfortunately when I have to fix a typo etc. I need to change the short- ...
0
votes
1answer
27 views

2nd page of TOC overlapping with header

I am using R's Brew package to automate LaTeX reports, and I am having trouble formatting table of contents so that they don't overlap the header. The header works correctly, but I have a long Table ...
2
votes
2answers
70 views

How to split the toc in two?

I want to split my thesis in two main parts: "Theory" and "Practice" in such a way that: 1) "Theory" and "Practice" appear as main bookmarks in the pdf; 2) the table of contests is splitted in two, ...
1
vote
1answer
42 views

Modify hyperlinks in table of contents

I'm using hyperref package so that \tableofcontents has clickable links. Is there a way to force one hyperlink in \tableofcontents to refer to a given page instead of the automatically selected page? ...
3
votes
2answers
85 views

How to make a combined “List of Figures and Tables”?

I am aware of Combined List of Figures and Tables?, but the asker there requires one numbering scheme for figures and tables, which I don't want. Unfortunately, the answer seems to depend on that ...