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

2
votes
1answer
34 views
+50

Problem Splitting Very Long Algorithm on two or pages

In the example below, I have a very long algorithm, probably spanning 3 pages. I tried manually splitting the code up, but each time, a new algorithm number is generated. How do you maintain the ...
4
votes
2answers
66 views

Change images in custom ToC

This works: Based on the answer http://tex.stackexchange.com/a/14964/36296, I put together a MWE which might look ugly, but works fine. At any place during the document I can change the picture to be ...
0
votes
0answers
23 views

Cause appendices to appear as sections in ToC, and their sections as subsections etc.

I'm trying to format the way my appendices appear in the ToC in my thesis. I'd like to have an unnumbered chapter called 'Appendices', followed by A. First Appendix and B. Second Appendix formatted as ...
1
vote
1answer
9 views

Changing content of \listoftheorems and hyperlinking to text

Here's my MWE: \documentclass{report} \usepackage{amsthm} \usepackage{libertine} % allows bf sc fonts http://tex.stackexchange.com/a/98581/104449 \usepackage{thmtools} \declaretheoremstyle[ ...
1
vote
1answer
55 views

How can I change the alignment of pagenumbers of TOC using documentclass{scrbook}?

I'm using a template I've found and now I would like to change the Table Of Contents. I'm using the following document class. ...
0
votes
1answer
20 views

How to show Mini table only sections in a chapter not other chapter?

I follow that link: Mini table of contents inside TikZ node on chapter start page? But I just want to show only sections of The chapter 1 or chapter 2 ... How can I do that? ...
0
votes
1answer
22 views

Incorrect heading size of list generated with tocloft package

I'm new to latex and would appreciate some help with a problem I am having with generating a list of equations using the tocloft package. I would like the list to appear as the \listoftables ...
0
votes
0answers
23 views

hyperref causing table of contents error [on hold]

I have my preamble set up like so: \documentclass[12pt,twoside]{report} \includeonly{tex/Methods_and_Theory} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
0
votes
0answers
28 views

Manual TOC - Indent / horizontal alignment of text [on hold]

I did a manual page numbering in Latex, which looks like this with the markboth command: \markboth{A.1 XXX}{} After that, I add this to my TOC with: \addcontentsline{toc}{section}{A.1 XXX} But ...
2
votes
1answer
65 views

How to solve a problem with the automatic table of contents of LaTeX?

Consider this example: \documentclass{book} \begin{document} \renewcommand{\tablename}{Tabla} \ourtitlepage \tableofcontents \ifthenelse{\isodd{\value{page}}}{\emptypage}{\clearpage} ...
2
votes
2answers
56 views

Structure of the document using \listoffigures

I would like to know how to use \listoffigures in order to have the titles of (sub-)sections in the list. The result would be something like this: Section 1 Subsection 1.1 Figure 1 ...
0
votes
0answers
8 views

List of figures missing “Figure” word [duplicate]

The List of Figures page in my latex document is missing the "Figure" word for each figure. For example, the actual caption for Figure 1 is "Figure 1: blah blah blah". However, in the List of Figures ...
1
vote
0answers
20 views

Remove Blank Pages

MWE: \documentclass[a4paper,12pt,leqno,footinclude=true]{memoir} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \usepackage{tocloft}% \newcommand{\cftchapaftersnum}{.} \begin{document} % ...
1
vote
0answers
17 views

Generate ToC in XeTeX with single build [duplicate]

To use ToC in a pdf using XeTeX compiler I have to compile document twice to get correct table of content and page number. According to an article about Table of contents one can get a appropriate ...
0
votes
0answers
34 views

How to omit the 1st column and 1st row

I am not able to omit the row line after the area range and that two column which meets till the top of table. How to resolve it? Here is my code \begin{table*}[h] \large \centering ...
0
votes
0answers
35 views

list of tables do not show all the tables

I'm writing my dissertation using my university's LaTex template. I wasn't sure what to show and what to not, so I'm attaching the template. I'm having a lot of trouble with the list of tables. At ...
2
votes
1answer
10 views

Force “Figures Page” header to appear on every page of list-of-figures

This question builds upon the question asked and answered at Adding words figure and page to list of figures The expression i'm using is \listoffigures %ensures every page has ...
1
vote
0answers
31 views

Enumerated entries in Table of Abbreviations

I use the nomencl-package to create a Table of Abbreviations. (Yes, I'm aware of the glossary-package, but the template is quite difficult to adapt to it.) I'd like to have numbered entries in the ...
5
votes
1answer
2k views

How to make appendices behave like sections in ToC

I would like my appendices to behave like sections under the ToC but keep them as chapters in my document. Here is a MWE of my current structure: \documentclass[11pt,a4paper,oneside,openright]{book} ...
2
votes
2answers
38 views

List of listings similar to list of figures

After learning on the net I managed to get this type of list of figures : And I want exactly the same with the list of listings, but here is what I get : My code is this one : ...
1
vote
1answer
10 views

Multiline unnumbered chapter in table of contents

I don't need to have numbers of chapters, sections, etc in my table of contents. But some names a too long so they are multiline. Their next line appear a bit right then first line. And the width of ...
1
vote
1answer
50 views

Cannot set up vertical indentation of some chapters

I have a class file to set up a very long report file (a thesis). So, this document is actually a modified report class. I haven't set up the class file myself but I have got familiar with the class ...
5
votes
2answers
164 views

Make chapter appear in table of contents

I want to customize the way the table of contents is provided by LaTeX : Here is my (minimal) working code (my real preambule is about 300 lines) : \documentclass[12pt]{book} % For French ...
2
votes
1answer
41 views

Custom table of contents

I think Sakurai's Modern Quantum Mechanics table of contents is really beautiful. How can I create it in LaTeX? I tried to use etoc and tocloft but I'm new to this stuff and couldn't make any real ...
2
votes
2answers
23 views

Center the “part name” in the table of contents [duplicate]

I want to change in the table of contents the look of the parts. I reproduced on Word what I want : I've looked into the site if the question was already answered but I didn't found what I want. ...
1
vote
1answer
20 views

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

This question is very close to what I want, yet not quite. The accepted answer offers linkcolor = black, but I do not want to hide all links. I like my in-line figure numbers and section references ...
2
votes
0answers
19 views

What is exact size of figure from Matlab to add in latex

I want to add some results (graphs) from Matlab in(.eps format).I dnt know what should be the size of the figures. Every time I add figure in latex my supervisor says change the size. Does any one ...
4
votes
1answer
17 views

Enumerating the list of figures / listoftables in the table of contents

I'm fairly new in LaTeX and using TeXmaker to write my thesis. My supervisor wants my toc to look like this: TOC I TOC..................I II LOF.................II III LOT................III IV ...
0
votes
0answers
19 views

Title table of content spacing

I am actually using the following commands to format my chapter titles: \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\bfseries\filcenter} {\LARGE } {1ex} ...
0
votes
0answers
41 views

Remove title from table of contents

I'm generate table of content using \tableofcontents command, I would like remove Contents title from this. How can I do this? My code: \clearpage % Start a new page ...
2
votes
1answer
29 views

LaTeX \tableofcontents add custom line with custom pointer

In my LaTeX document, after \begin{document} I have \tableofcontents. However, later in the document, I have \includepdf[pages=-, pagecommand=\thispagestyle{fancy}]{mypdf.pdf}. I want to create a new ...
2
votes
1answer
17 views

Cannot change fonts on Algorithms Table of Contents page

In the MWE below, I cannot change the font (and formatting) of the Table of Contents for the "List of Algorithms" page. As you will see, the font for the TOC is \sffamily, however, when I try the ...
1
vote
1answer
25 views

Header In the chapter

I am using \listoftables before starting a chapter. But in the header of the chapter List of tables appear. How can that be removed?
1
vote
1answer
38 views

How do I include the word “Table” in the LoT for longtables?

I'm working on my thesis using a package provided by the University. When I compile my document, the LoT is displayed as follows: Do you know how can I include the word "Table" for the appendix C ...
5
votes
2answers
55 views

strange caption numbers in cross-references and list-of-figures

I am trying to fit a large figure containing four subfigures into my document. The whole thing is close to a page break, so I decided to split the figure via \ContinuedFloat. So just in case the ...
0
votes
1answer
32 views

Create table of contents without creating separate chapter for it

I don't want to create separate chapter for table of contents. Standard \tableofcontents creates it. So how can I get from \tableofcontents only its content, without chapters? Or how can I remove ...
4
votes
2answers
102 views

Why Table of Contents contains custom latex command?

I am writing a UTF-8 (malayalam) document using Xelatex. Below shown is my sample Latex code. If you see(screenshot) the Table Of Contents generated, you can see Noto Sans Malayalam which came ...
1
vote
2answers
40 views

Full page, full width table of contents using ieeeconf class

I'm trying to make a full page, full width table of contents. I'm using following class: \documentclass[letterpaper, 10 pt, conference]{ieeeconf} and every time I try to use \tableofcontents, I ...
3
votes
0answers
31 views

Undefined Extra text coming list of tables and list of figures [closed]

There is some issue in my list of figure and list of tables. It appears as Table 1.1 table Name of table I am unable to understand from where this extra 'table' is coming after Table 1.1. Also this ...
2
votes
1answer
28 views

TOC - Horizontal Alignment

My currente TOC is looking like this: And here is a code sample: \documentclass[]{article} \usepackage[latin1]{inputenc} \usepackage{tocloft} %pacote para editar ToC \usepackage{titlesec} %pacote ...
2
votes
1answer
466 views

How do you add custom page entries in Table of Contents?

I have a paper written in LaTeX with a LaTeX generated Table of Contents. I need to attach an Appendix that is generated in Word but have the Table of Contents show the entries from the Appendix. Is ...
8
votes
2answers
162 views

Expanded toc-like environment

I'm typesetting a book. It has a special toc-like text at the beginning of each chapter. What I want to do is: use after each section an environment (say abstract) and get the result at the beginning ...
3
votes
1answer
62 views

How to make hyperref destination names unique, to make TOC links work?

The circumstances of this question are somewhat unlike the results I got from searching the error message on my own. [20]LuaTeX warning (ext4): destin ation with the same identifier ...
0
votes
1answer
104 views

How to create a numbering of the sections and subsections in beamer 1. 1a 1b

How to create a numbering of the sections and subsections in beamer 1. 1a 1b etc. in the frame and in table of contents? I want change numbering to something like that: First 1a 1b Second 2a 2b ...
2
votes
1answer
45 views

Removing numbering everywhere except table of contents

What I essentially want to do is to remove numbering of sections everywhere(primarily, the header and in the main body) except the table of contents so that sections are numbered there but my left ...
3
votes
1answer
33 views

In table of contents, how to have title 'Chapters' before the list of chapters

I have the following table of contents: Is there any way to add the title 'Chapters' before the list of chapters, in the same way that 'Appendices' is shown before the list of appendices? Thanks in ...
24
votes
3answers
3k views

How can I force ToC not to end with a chapter?

So I am writing a programming book and I decided to include \sections in the ToC as well (see picture below). The problem I am having is that I have ugliness where \chapter is the last item on the ...
3
votes
1answer
53 views

How to format Table of Contents?

I'm relatively new to LaTeX — I haven't really gotten into formatting things too deeply until around a month ago although I've used it for longer — so I don't know how I could format a couple of ...
2
votes
0answers
24 views

tocloft list of items in a textpos environnement [on hold]

I created a personal list with tocloft package. Here is the beginning of code : \documentclass[a4paper,oneside]{article} \usepackage[french]{babel} \usepackage{textpos} \usepackage{tocloft} ...
2
votes
1answer
33 views

How to add text before page number using tocloft?

I want to wrap the page number with parentheses like: 1.1 Section 1.1 ......... (1) 1.2 Section 1.2 ......... (5) I found the \renewcommand{\cftsecafterpnum}{)} can add text after page number. But ...