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

4
votes
1answer
58 views

Generate a ToC from left to right: author, page number, title

This is the kind of layout that might occur in a compilation, front page of a journal, magazine, or a book with each author having a separate entry or article. I'm trying to generate a table of ...
2
votes
0answers
17 views

Prepending “Chapter” except for appendix entry, and other requirements [duplicate]

A more apt title to this is question may be "Jumping through hoops". My question is similar to this one. I have the following requirements for the table of contents in my thesis: The title "Table ...
3
votes
2answers
69 views

TOC Problems: Every pages appear word “CONTENTS”

I got the problems with TOC, by the way. When I start to put TOC in my book, after that in every pages header appear word "CONTENTS" with capitalize font. I don't know how to edit or custom it. I try ...
0
votes
0answers
31 views

Table of content and header

I have table of content in my document and header/footer with section, subsection marks. When I include tocloft package I don't have header/footer anymore, that is not I want. On the other hand, I ...
2
votes
1answer
30 views

questions regarding formatting table of contents in latex

I am using \tableofcontents in my report sty file. The problem is that my content is so lengthy and it's second line is starting immediate under the chapter number. but it should not be like that... ...
2
votes
1answer
68 views

Table of Contents in Latex Book

I'm writing a thesis using \documentclass[11pt,a4paper,book,twosides]{now-book} When I generate the table of contents, it results something like this: Chapter 1 (chapter name) 1 (section ...
0
votes
1answer
27 views

TOC line spacing using Revtex

I am trying to change the linespacing in my table of contents (using revtex4-1) but with no luck. My Preamble: \documentclass[aps,prd,amsmath,amssymb,a4paper,nofootinbib,12pt]{revtex4-1} ...
1
vote
0answers
25 views

Redefining contentsline with hyperref loaded [closed]

The latex code below fails to compile at the 2nd round of pdflatex. If I remove the hyperref package it compiles fine, however if it's there, it fails to compile and complains giving this error ...
3
votes
2answers
59 views

Since few days: Trouble with mhchem using \listoftables or \listoffigures

I'm having trouble with the mhchem package. When I have a figure with a separate TOC entry that involves a \ce{} environment, I get error messages saying that the control sequence \aaaa is not ...
3
votes
1answer
40 views

Wrong placement for \preto using etoolbox

I'm observing that the adding a text to a list of tables (or figures) through \preto from etoolbox does not work properly when the table is placed on the next page if it does not fit the page where it ...
4
votes
2answers
47 views

Difficult with fancyhdr and table of contents

Premise: I'm new with fancyhdr. I defined the following fancy style: \lhead{} \chead{\slshape\leftmark} \rhead{} \lfoot{} \cfoot{\thepage} \rfoot{} \renewcommand{\headrulewidth}{0.4pt} ...
0
votes
0answers
23 views

\addtocontents not writing to the toc file

Somehow I can't make \addtocontents work. Here's the MWE (call it something.tex): \documentclass{article} \begin{document} \addtocontents{toc}{whatever} Lorem ipsum \end{document} And nothing ...
3
votes
2answers
67 views

Auto expand some of the branches in WinEdt tree

My tree panel in WinEdt is like this: I am wondering whether there is a way to expand all the packages and section branches, to avoid having to open all of the sections when looking for a specific ...
1
vote
1answer
56 views

Subsection not showing up in toc

I am including chapters (comprised of sections and subsections) in a main file and then compiling the entire file from there. I am using a "thesis.cls" file provided to me. The only problem is that ...
0
votes
1answer
21 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} ...
1
vote
1answer
43 views

How to add dedication chapter to TOC? [duplicate]

How do I to add a chapter-name to this dedication and to add it to TOC, please? \newenvironment{dedication} {\clearpage % we want a new page \thispagestyle{empty}% no header and footer ...
0
votes
0answers
43 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
66 views

Sudden Problems with TOC [duplicate]

After installing all of the new updates available in TexLive about an hour ago (23/3/14 - previous update 19/3/14), I'm having trouble with some of my TOC entries. When I have a figure with a ...
1
vote
1answer
36 views

List of Abbreviations not showing

I had a list of abbreviations, which worked fine, but now it's not showing any more. And I have no idea what I could've changed. It is shown in the table of content, but also on the wrong position. My ...
1
vote
1answer
38 views

Make table of contents appear on a PDF index

I want the entries for my table of contents at the beginning of my document to appear in the PDF index, for a PDF generated with pdflatex. Currently only my \chapter entries appear there, and adding ...
4
votes
2answers
66 views

What are these warnings for minitoc package?

I'm using a scrreprt document class to write my lecture notes in a condensed form for easy reviewing later. I organized the main.tex in a modular file and I downloaded, installed and loaded the ...
9
votes
3answers
122 views

Splitting one volume into two

I've written a thesis and it's ready for submission but unfortunately the page limit for a volume is 300 pages and my thesis is 324. It has been decided that the solution is to split the appendices ...
2
votes
1answer
27 views

Remove Appendices from table of content

I used this code to generate appendices \documentclass [a4paper,12pt,oneside,final]{book} \usepackage[title]{appendix} \begin{document} \dominitoc \tableofcontents \listoffigures ...
5
votes
1answer
73 views

Page number on the left with book class

Using book class, is it possible (if I'm not wrong, not with tocloft) to put page numbers in the left side? It would be something as 5 Introduction 19 I Title first chapter 54 II ...
2
votes
1answer
27 views

Hyperref did not work properly when I reset the section-counter during the document

Hyperref from the TOC bring me to the wrong part of the document when I RESET the section counter in each PART. -- When I click in the TOC on section 1 in part II, the hyperref brings to section 1 in ...
1
vote
0answers
24 views

Strange behaviour for combination of \include, \addtocontentsline, and \clearpage [duplicate]

I hope this is not too specific to be worth an answer, since there is a "simple" workaround. But I just noticed this problem and it seems really weird. Maybe someone has an explanation for me. If I ...
0
votes
0answers
15 views

Overfull \hbox in toc for large page-numbers when using mathdesign [duplicate]

I am using the mathdesign package to use the bitstream-charter font. In my table of contents, starting from page 100 and up, the page numbers for subsections are slightly of to the right and cause an ...
5
votes
2answers
56 views

How to make memoir's \tableofcontents behave like starred \tableofcontents* by default?

I am writing a class based on memoir, which provides \tableofcontents (which lists the ToC within the ToC) and \tableofcontents* (which does not list the ToC within the ToC). I have seen this ...
1
vote
1answer
42 views

Optional caption in listings (for listoflistings)

I have some cites in my captions. But I do not want to appear them in the table of figures or listings. With figures I managed to display an different caption like this: \begin{figure} \centering ...
7
votes
2answers
68 views

Expanded toc-like environment

I'm typesetting a book. It has a special toc-like text at the begining of each chapter. What I want to do is: use after each section an environment (say abstract) and get the result at the begining ...
5
votes
2answers
72 views

Fixing overfull hbox in table of contents removes too many dots

This question on the memoir table of contents has an answer that works well, however, the dots end too soon (in my opinion). Is there a way to make the dots more like the default without triggering ...
1
vote
2answers
30 views

Bibliography in the TOC of a book class without numbering

I'm using a template for a thesis, and it's a book class document. I'm adding bibliography with those two commands: \bibliography{bibliografia} \bibliographystyle{apalike} and it reads the ...
3
votes
1answer
69 views

Glossaries package: smallcaps and uppercase in index does not work

I am using the glossaries package in pdfLaTeX. I am trying to use the acronyms written in small caps in the body text and for the index, make the first letter of each entry name in the glossary ...
4
votes
2answers
86 views

Customized Table of Contents APA style

I am trying to produce the Table of Contents same as shown in Picture separately. Is there any template for this? I just have "Table of Contents" but no document attached with it. My problems for ...
3
votes
1answer
48 views

The word CHAPTERS: in Table of contents before appendices

I want to remove the word "CHAPTERS:" that appears above the appendices listing in table of contents a MWE is \documentclass[ms]{osudissert96} \usepackage{amssymb,amsfonts,amsmath,amscd,mathrsfs} ...
3
votes
1answer
58 views

How do I vertically align multi-line chapter names in the table of contents?

For multi-line chapter names in the TOC, how do I get the second and third lines to start in line with the first letter of the first word in the first line? Currently the second and third lines begin ...
3
votes
1answer
77 views

How can I add abstract to table of contents

I believe it is correct to add the abstract to my TOC but I don't know how. This Answer talking about adding the abstract chapter to the TOC. I'm using Lyx and if I output to .tex file this is what I ...
1
vote
0answers
165 views

LaTeX file compiles on two computers but not on the third [closed]

I have tried to troubleshoot a problem for several days and cannot solve it. I have a LaTeX document that compiles on two computers but not on a third computer. (Other documents have compiled fine on ...
6
votes
1answer
27 views

\listoffixmes gives an error with revtex4

I get the error ! Illegal unit of measure (mu inserted). when I try to include \listoffixmes in a revtex4 document. I think that it has something to do with revtex4 redefining the way to make table ...
4
votes
2answers
72 views

Different names of sections

I wish to name my sections as "Exercise x - name" in the text but as "Exercise x" in the ToC and in the \leftmark. Does anyone have an idea for this? I have tried just manipulating my \leftmark by ...
6
votes
2answers
117 views

List of figures as chapter

I want my list of figures look like an ordinary chapter in my appendix. But right now my table of contents looks like this: This is how I add my list of figures: ...
0
votes
1answer
29 views

page number misaligned in toc

One of the headings of my paragraph is so long that it is pushing the page number in toc to the right side. it looks misaligned from rest of numbering. Yes, I am using paragraph as heading for giving ...
2
votes
1answer
43 views

Full Width Table of Contents in Two Column Document (any document class)

How can one create a full width table of contents in a two column document, independent of documentclass?
3
votes
2answers
51 views

Bibliography in wrong format when in Table of Contents

I am using the report class and using \usepackage{amsrefs} as my citation style. When creating the table of contents, in order to get LaTeX to treat the bibliography as a section, I used the command ...
3
votes
1answer
47 views

Pleaseinsertintopreamble in ToC and header

I wanted to style chapter headings, found out about titlesec and wrote the document like this: \documentclass[a4paper,12pt]{book} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
0answers
28 views

How to remove the red boxes around toc [duplicate]

This is in with regards to the below post How to add an extra level of sections with headings below \subsubsection The code works flawlessly. But do I remove the red frame boxes which cover the ...
3
votes
1answer
29 views

How can I change the specific TOC of my .tex?

I need to change the name of my tables of contents, and I cannot apply with this preface: \documentclass[12pt,oneside,tikz,border=10pt]{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
43 views

Minitoc numeration overlaps with subsection titles

I have long minitoc numeration depth \setcounter{minitocdepth}{3}. I have a problem with it: \documentclass{report} \usepackage{newcent} \usepackage{minitoc} \setcounter{tocdepth}{1} ...
0
votes
2answers
71 views

Clickable Link back to the Table of Contents [duplicate]

There are many questions and answers surrounding how to make the Table of Contents content clickable. I am wondering how to make a reference to the Table of Contents and create a link elsewhere in the ...
8
votes
1answer
46 views

Defining a chapter “outside” the last \part (amsbook)

Currently, I have the following: \documentclass{amsbook} \begin{document} \chapter*{Introduction} \part{First Part} \chapter{1} \chapter{2} \chapter{3} \part{Second Part} \chapter{4} \chapter{5} ...