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

2
votes
1answer
46 views

How to remove dots and page number of list of figures and list of tables in table of contents

Heydo! I need to include the first pages to TOC and NOT include page numbers. How I can I achieve this? \listoffigures and \listoftables makes a dotted line and a page number to TOC which I want to ...
4
votes
1answer
38 views

How not show on the Table of Contents the subsubsubsection?

I found this little snippet to get subsubsubsection: % -- For subsubsubsections: \setcounter{secnumdepth}{4} \setcounter{tocdepth}{3} \makeatletter \newcounter {subsubsubsection}[subsubsection] ...
0
votes
1answer
27 views

Adding general introduction to table of contents as chapter causes a problem

I'm trying to add a general introduction to my report. Well I added it to the table of contents and without number. Using this code : \addcontentsline{toc}{chapter}{\protect\numberline{}Introduction ...
2
votes
1answer
29 views

How to define a custom environment caption for table of contents?

I want to define a custom environment example. This is not a problem at all, the only thing I humble upon is the caption (short title below the element) and its listing in the table of contents or ...
4
votes
2answers
60 views

Hyperref links in TOC point to wrong location when using titletoc

I have modified the formatting of subsections in the toc, so that they appear in one line instead of separate lines. For this i used the titletoc package. Here is a MWE: \documentclass{scrbook} ...
2
votes
2answers
37 views

Remove Contents from ToC in thesis class

I am currently using the thesis class as in \documentclass[11pt, a4paper, oneside]{Thesis} when I put the tableofcontents it creates a selfreference to it that I don't want. I have tried using ...
3
votes
2answers
45 views

How to customize the list of figure page from `.cls` file?

I have been preparing a .cls file modifying the article.cls. I need to customize the list of figure page of my document. The list of figure part of my .cls file is as follows: ...
0
votes
0answers
12 views

Page number start and end in ToC [duplicate]

Is it possible to insert both start-page-number and end-page-number in ToC? It should look like this:
3
votes
1answer
60 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
60 views

Alignment of toc in beamer class

I have some problems with vertical alignment of toc in beamer class related to this question. The answer works for me, but i would like to center the toc and decrease the horizontal space between ...
2
votes
0answers
37 views

tocloft package adds page number to first side of table of contents

I have a problem with the tocloft package. Whenever I try to include it in my document, the first page (only) of the table of contents contains a page number, even so I don´t want any page numbers at ...
3
votes
2answers
55 views

Pause between frame title and TOC

I'm using beamer for a presentation. What I would like is a pause after the frame title and before the TOC. \pause as in \begin{frame} \frametitle{my frame title} \pause \tableofcontents[] ...
2
votes
1answer
47 views

add \figurename to \listoffigures (package titletoc)

at the moment I'm a little bit fighting with my listoffigures. - I 'just' want to put the \figurename(here it is "Pict.") in front of the \contentslabel in the lof. Here's a little code example: ...
3
votes
2answers
61 views

Customization of TOC in KOMA

I would like to customize the listing of the chapters given in the table of contents in a scrbook document. Given the following example: \documentclass{scrbook} \begin{document} \tableofcontents ...
2
votes
1answer
40 views

Is it possible to have \listoffigures and \begin{bibliography} on the same page?

I'm trying to have the \listoffigures and the bibliography on the same page. I'm using the following commands: \documentclass [a4paper,11pt,oneside]{scrbook} ...
3
votes
1answer
50 views

How to make a separate toc in appendix

I want to have a table of contents in the appendix. My situation looks like this: --rest of document-- \appendix \setcounter{secnumdepth}{3} \chapter{Title of appendix} \stopcontents ...
3
votes
1answer
88 views

Need information to get scientific notation for the coefficient

Good afternoon everyone, I wanted to know if anyone knows how to put scientific notation for the coefficient of a variable. If you look at my results you will agree with me that to get a table with a ...
0
votes
1answer
73 views

ConTeXt: How to make table of contents to show only those entries which go after its placement?

\setuplist [chapter][ style={bold}, color={default}, ] \setuplist [section] [color={default}] \setuplist [subsection] [color={default}] \setuplist [title][ style={bold}, color={default}, ] ...
3
votes
2answers
83 views

counterwithin problems with table of content

I would like to use the option counterwithin to get my numbering as I, I.1., I.2, .., II, II.1, II.2,... I use the following minimal script \documentclass[11pt, a4paper, twoside, openany]{scrbook} ...
3
votes
1answer
36 views

Split Table of Contents but not Summary

I use \shorttoc to have a short table of contents at the beginning and \tableofcontents for a complete table of contents at the end. I need to split the complete table of contents BUT NOT the shorter ...
0
votes
0answers
40 views

LyX Table of Contents

I'm new so please be patient. When I Insert > Table of Contents, I get the typical grayed box that says Table of Contents in my user window. However, when I view my doc as a PDF, I get a page that ...
1
vote
2answers
37 views

Remove page numbers from footer for multi-page Table of Contents

I am trying to remove page numbers that appear by default in footer of Table of Contents. I was able to do this for one page long Table of Contents like this one: \documentclass[final]{book} ...
1
vote
0answers
56 views

Chemnum sublabels in section-titles not working properly [closed]

Problem I'm encountering the problem, that sublabeling \cmpd+{cmpd:main.sub} does not work properly in section-titles, since the sublables are missing in section-titles and ToC. Its also not ...
1
vote
1answer
23 views

multitoc prevents adding lines for tocloft custom lists

\addcontentsline{ext}{level}{content} doesn't seem to work correctly for nonstandard ext when multitoc is being used. In particular, the .ext file (.thn in the example below) doesn't seem to be ...
2
votes
1answer
131 views

Highlight current section in beamer

I'd like to highlight the current section in my table of contents on all slides which are part of the section. At the moment the section is only highlighted on the slides without subsections. ...
0
votes
1answer
40 views

Ordering Glossary in ToC before another entry

I'm having difficulties getting my glossary to show up in the right place in my table of contents. It needs to come before the Acknowledgements and be in the same font type as the List of Figures etc. ...
2
votes
1answer
69 views

Alignement in table of contents (\titlecontents)

In the code below, I use \titlecontents{part} to customise the way the parts are displayed in my table of contents. \titlecontents{part} [0em] ...
1
vote
0answers
52 views

Best way to customize the TOC

I am looking for a good way to customize my table of contents. I have seen this answer, but I think thats way beyond the thing I like to do. I have a scrartcl class document and want: to put ...
2
votes
2answers
51 views

How to add custom space in table of contents?

How can I add extra space between two specfied sections in the TOC? i.e. I want to add space only at the arrow: Is this even possible in a simple way? Here's a minimal example: ...
8
votes
2answers
173 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
2
votes
1answer
45 views

tocloft removes content title formatting

I am using code from this answer http://tex.stackexchange.com/a/93792/19817 to make horizontal lines above and under chapter title. \documentclass{book} \usepackage{titlesec} ...
2
votes
0answers
51 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
1
vote
1answer
59 views

How to modify \titlecontents{part}?

For the moment, I have and I would like to change the part entry to obtain something like that Can you help me to modify the code below? \documentclass{book} \usepackage[english]{babel} ...
2
votes
1answer
123 views

Creating List of Notation

I have been using LaTex for a while however I am new to writing a new command. Essentially I wanted to make a list of notation for my thesis. I have seen quite a few styles of nomenclatures, but none ...
3
votes
1answer
44 views

On the use of \titleofcontents to customize the table of contents

I use the following piece of code (titletoc package) to customize the "part entries" of my table of contents. Can you help me to push the page number to the right so that it is aligned with the other ...
1
vote
1answer
101 views

Fancyhdr, chaptermark and table of contents

I'm using fancyhdr for editing the header of my document. I have the following code: \documentclass[a4paper,12pt,oneside,titlepage]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
2answers
41 views

How do i replace the dots in my table of contents between the text and page number with a horizontal line using the tocstyle package?

Due to some major design changes in our corporate identity, its now up to me to update our existing latex document class according to the new design guidelines. I´m having troubles cutomizing the ...
7
votes
1answer
194 views

Tufte style table of contents in article class

I want to create a tufte-book style ToC, very similar to how Gonzalo Medina made something in this request: Pretty Table of Contents So far this is what I got: \documentclass[letterpaper]{article} ...
1
vote
0answers
22 views

Longtable LoT 'Table' caption [on hold]

I am writing my master thesis using the provided styles by the faculty. Some of my tables were too long, so I used longtable package. However, in list of tables, tables created with longtable don't ...
3
votes
1answer
48 views

Disable `colorlinks` locally (or just for the ToC)

Basically, I want to disable the colorlinks option (from the hyperref package) for the ToC, but keep it enabled for the rest of a (memoir) document. This question has a workaround based on issuing ...
8
votes
2answers
97 views

How can I print the table of contents multiple times in my document?

I am using also titletoc to improve how my table of contents. I would like to print the table of contents several times. How can I do it? It does not work in the MWE: \documentclass{article} ...
5
votes
1answer
84 views

Scanning all the siunits in a document

When the macro \tableofcontents, is given it takes all the chapters, parts, sections, ... and generates the Table of Contents for the Whole Document. Even the \listoftables and \listoffigures do that. ...
0
votes
0answers
51 views

Adding bibliography to table of contents in scrreprt, using biblatex and biber [duplicate]

EDIT: The cause for the problem described below was that the .bbl file was being emptied every time the document compiled. I'm attempting to add my renamed bibliography as an unnumbered top-level ...
4
votes
1answer
42 views

Latex Table of Content problem with Space

The problem is space of table of content as it can be seen form the diagram. How to specify the same space for each section and subsection and update table of content accordingly. Thank you very ...
3
votes
1answer
50 views

Undefined control sequence on \cftaddtitleline

The following code produces ! Undefined control sequence. \documentclass{article} \begin{document} \tableofcontents \cftaddtitleline{toc}{section}{Topic 1}{} \end{document} What am I doing wrong? I ...
1
vote
0answers
49 views

Beamer: how to make each frame appear in the PDF ToC and add a bibliography

I want to build on the solution of this answer, to create a ToC for the PDF, by adding a bibliography in the last slide. It seems nevertheless that the bibliography interferes with the table of ...
2
votes
2answers
51 views

margins or line breaks in koma-script table of content

Entries in my KOMA-script TOC spread too close from the page numbers: One solution is to use a short title and insert in it a line-break, but this is not an acceptable solution. I am trying to ...
5
votes
1answer
190 views

How can I get a table of contents as below (triple page numbers)

I want to typesetting a problem book with hints and solutions. I want to get a TOC as TABLE OF CONTENTS Problems Hints Solutions Chapter 1 ...
4
votes
1answer
70 views

\lstlistoflistings causing error

my problem is, I added some listings to my Tex document. On the first run everything went fine and all was shown. After the second rerun, it does not compile anymore. Error: !Paragraph ended before ...
33
votes
2answers
1k views

How can I reproduce this beautiful table of contents?

I stumbled upon this TOC today: I really like its structure and simplicity. The page numbers are right behind the entries, and not unnecessarily remote as they often are. The separation between ...