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

1
vote
2answers
76 views

Page numbers in Table of contents should be aligned left

I'm writing my thesis, but unfortunately I'm having a problem. In our thesis template, the page numbers in table of contents should be aligned left (default=right) as shown in the figure. When I look ...
3
votes
0answers
56 views

create table from csv, set proper parameters, include it in contents [closed]

I have following csv file that I want to read and display as table: "";"a01";"a02";"a03";"a04";"a05";"b01";"b02";"b03";"b04";"b05";"t01" "a01";0;147632;181326;199650;271006;197441;215211;291227;...
1
vote
2answers
63 views

Undefined control sequence \likechapter

I'm trying to make a ToC that would have numbered chapters and other items which would be numbered but would not be chapters. To this end I'm trying to use a snippet I've found on the Web: \...
1
vote
0answers
35 views

Problem “\part” before a include [closed]

I'm new in latex using, and there's something I can't understand yet. I'm splitting my thesis in chapter added by \include as an upper division structure I'm using \part. As in the following (.tex ...
1
vote
1answer
36 views

how to show list of figures and list of tables inside chapters only and not also at top of document?

This is a follow up question from setting-tocdepth-to-zero-in-report-class-makes-minilot-and-minilof-not-show-up but I have new problem now and it is really a new question but related. I have a main ...
1
vote
1answer
24 views

How to change this specific TOC margin in memoir

How to edit this specific margin in the book I have been editing... The red arrows in the pictures below....because the TOC of this book is kind of long so it goes to the next page, and I believe that ...
1
vote
1answer
37 views

hyperref, titletoc and \appendix

I provide here a MWE: \documentclass{article} \usepackage{titletoc} \usepackage[colorlinks=true ,urlcolor=blue ,anchorcolor=blue ,citecolor=blue ,filecolor=blue ,linkcolor=blue ,menucolor=blue ...
2
votes
1answer
35 views

\hyperref and modified \addcontentsline

I'm using hyperref (and titletoc) package(s). I redefined \appendix that way \newif\if@appendix\@appendixfalse \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \gdef\...
2
votes
0answers
45 views

creating a paper organization tree

I was wondering how am I gonna be able to create a paper organization like the image attached with latex (ACM small-article). Can I use the classic algorithm pseudo packages, or there is specific ...
2
votes
1answer
51 views

setting tocdepth to zero in report class makes minilot and minilof not show up

I want my main TOC to only show chapters. Not sections and subsections. This is report class. So I added \setcounter{tocdepth}{0} which worked. But then I noticed something strange. minilof and ...
1
vote
0answers
42 views

Expand top margin of single page - ToC

I have a ToC with only a few lines too many to be in one page. I wish to get everything into one page and still looking good. With \addtocontents{toc}{\protect\enlargethispage{\baselineskip}} that ...
0
votes
0answers
24 views

includepdf in appendix causes parskip to be removed

I'm using some code to let "Appendix" appear as a chapter in the TOC, and every separate appendix as a section below this. \begin{appendices} \addtocontents{toc}{\protect\setcounter{tocdepth}{1}}...
1
vote
1answer
38 views

Table of Contents - overlapping text

I am trying to format the table of contents of my MA thesis. For some reason, if I have no sections within a chapter, the chapter titles in the ToC are overlapping. Any ideas why? \documentclass[...
1
vote
1answer
17 views

Beamer: Highlight all subsections in Table of Contents

\section{Section Title} \frame{\tableofcontents[currentsection]} \subsection{Subsection Title} I use the above command to insert a table of contents at the beginning of each section with the current ...
1
vote
2answers
27 views

Altering font size and/or margins in Table Of Contents without altering the other pages

I have almost finished dissertation in LaTeX (yay!) however my table of contents goes slightly onto three pages (so only 3 sections of a chapter on the third page) is there any way of changing the ...
1
vote
0answers
35 views

Subsections not displaying in TOC despite \setcounter{tocdepth}{5} [closed]

I have a problem with my script, because the subsections aren't showing up at my TOC. What did I do wrong? \documentclass[a4paper,12pt]{scrbook} \usepackage[utf8]{inputenc} %Umlaute etc.-...
0
votes
0answers
36 views

Add dots in TOC

I'm using this example http://www.dickimaw-books.com/latex/minexample/index.html. And I have a problem with dots in my Introduction. How to insert dots for Wstęp? \chapter*{Wstęp} \addcontentsline{...
2
votes
1answer
44 views

How to combine several child files such that each child file has its own Table of Contents?

I have several child files that I want to export as one master file and each child file has its own Table of Contents. When I export the files, the first child file's Table of Contents contains all of ...
0
votes
0answers
32 views

List of tables and list of figures blank because of \caption*

I used \caption* for both figures and tables in my thesis as the Chapter.Number of figure/table format does not match the format my thesis must have. So in order to change this: \caption{\textbf{\...
3
votes
1answer
60 views

How to customize the “sections” representations with graphical shapes?

I want to have "sections" in which not to have numbers, instead to have some custom graphical artworks next to them. I want them to appear the same in the table of contents. Like the following figure: ...
1
vote
1answer
79 views

Custom page numbering display in table of contents

Using a KOMA-script class, I would like to customize the presentation of the pagenumbers in the table of contents. My pagenumbers are reset every section and are represented like 2-3 which means page ...
1
vote
1answer
17 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[ ...
0
votes
1answer
33 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? \documentclass[13pt,...
0
votes
1answer
33 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
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 ...
3
votes
1answer
75 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} ...
1
vote
0answers
39 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
20 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 ...
2
votes
2answers
60 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
36 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 \begin{...
3
votes
1answer
17 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 "...
4
votes
2answers
72 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 ...
3
votes
2answers
63 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 : \documentclass[...
1
vote
1answer
21 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 ...
5
votes
2answers
202 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
57 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
46 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
22 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
20 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
29 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 ...
2
votes
1answer
34 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 "...
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} {\titlerule[...
2
votes
1answer
49 views

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 ...
2
votes
1answer
30 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
29 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
41 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 ...
4
votes
2answers
116 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 ...
0
votes
1answer
34 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 ...
2
votes
1answer
33 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 ...
3
votes
0answers
41 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 ...