{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
2k views

Customizing Table of Contents Formatting

For the most part, the default formatting for the ToC, LoF, and LoT is fine. But I need to add an extra line (university's requirements for my thesis) between each numbered entry. In order to do this, ...
0
votes
0answers
1k views

Page numbering in Latex TOC (using memoir class) [closed]

The issue that I am having is that the page numbers appearing in my TOC do not correspond with the actual pages on which the section/chapter is found. The problem occurs in the mainmatter, as well as ...
0
votes
2answers
1k views

KOMA Script exclude header-footer in contents

I am using these settings: \documentclass[12pt,a4paper,english,openany,oneside]{scrbook} \usepackage{etoolbox} \usepackage{calc} \makeatletter \pretocmd{\@part}{\gdef\parttitle{#1}}{}{} \pretocmd{\@...
5
votes
1answer
371 views

Fixme List with Chapter names

I am using the FixMe-package documented here. In the beginning of my document, I print a list of fixme's with \listoffixmes, but this list is rather tedious to read. Is it possible to break this list ...
6
votes
2answers
2k views

How to access toc entries with titletoc

I'm bit lost with the content of titletoc.sty. I'd like to access toc entries, meaning chapter title, section title and so on to put them in a colorbox. I think it is somewhere in the \def\ttl@...
0
votes
1answer
524 views

Why do my Table of Contents and List of Algorithms not appear ?

\tableofcontents \listofalgorithms \thispagestyle{empty} \newpage \setcounter{page}{1} That were running well but when the number of pages ! increased it disappeared :S
8
votes
3answers
868 views

Insert key words & key phrases into toc

To make the structure of documents (here: my PhD-thesis) comprehensible straight from the ToC, I would like to insert some key words or key phrases in each element of the ToC. I saw this device in a ...
30
votes
1answer
5k views

How to customize the table of contents using TikZ?

Are you aware of tentatives to customize the table of contents with TikZ? I am thinking of fancy graphical objects (coloured ovals, squares, rectangles...) coming with "chapter" or the numbering, for ...
2
votes
1answer
173 views

ToC: frame #1 for the first page and frame #2 for the rest ones

I have to put such frame on the first ToC page, and such one on the rest of ToC pages (a thesis requirement). As i generate ToC via \tableofcontents, i have to clue how to reach that. I have that ...
5
votes
1answer
3k views

Change margins on the first of \tableofcontents page only

I need to change a page bottom margin, but do that for the first page of ToC only. Sure thing the following does not work as it adjusts all pages of ToC: { % bottom margin must be bigger \...
8
votes
1answer
398 views

How do I create a new command \listofcodes in latex?

In addition to tables and figures, I have a bunch of code pieces. Just like follows: \begin{figure} \lstinputlisting[ language=C++, breaklines=true, keywordstyle=\color{blue}, ...
10
votes
2answers
1k views

How to set two types of appendixes on memoir class?

I need to set up two types of appendixes: Appendixes and Annexes They must appear as "Appendix A - Title of Appendix A", etc, and "Annex A - Title of Annex A", etc. in the chapter head (which I ...
4
votes
1answer
1k views

How to generate a TOC without an actual document?

I have a PowerPoint presentation to be ready next week for an exam. As I am not very familiar to the TeXnical way to create a presentation, I don't want to rewrite it in TeX. I have the requirement to ...
2
votes
3answers
5k views

How to change the style of “Contents” heading?

Help me, please to make the style of "Contents" heading to be as \chapter{Le choix du thème}. Also I would like to put all headings a little bit higher and to fix the hyperref for "Contents" in pdf \...
5
votes
3answers
3k views

Setting the name of an index with makeidx and adding to table of contents

I would like to change the name of my index, so that instead of "Index", it reads "Index of whatever I want". I've tried quite a few things: redefining \indexname, after or before calling \makeindex ...
4
votes
1answer
322 views

Let title distinct in mainmatter and TOC and header

Title in mainmatter (long title): Sec.1 The introduction of TEX --- A powerful typsetting system blabla... Sec.2 installation blabla... Title in TOC (short title, line break before em ...
6
votes
2answers
747 views

Replacing page number with other counter in listoftodos

I'm using the todonotes package to add notes in my documents. The \listoftodos command adds a ToC for todos. Instead of the page numbers in this ToC, I would like to display another value, for ...
22
votes
1answer
2k views

Is it possible have the PDF bookmark level go deeper that the table of contents depth?

Is it possible to make the bookmarks in the PDF go a level deeper that the table of contents goes? I'm using KOMA-script, scrreprt if that matters. If the table of contents displays two levels: 1. ...
8
votes
1answer
2k views

Add colors that depend on chapters to the TOC

I'would like to add different colors in my TOC, depending on the chapter. I've a color for the header, section subsection of each chapter (red chapter one, blue chapter two etc...). With this code I ...
6
votes
1answer
3k views

Remove TOC before just one section (Beamer)

I have a Beamer presentation, in which I use the \AtBeginSection command to specify that I want to show the overview of the presentation with the current item highlighted. However, in one single case, ...
4
votes
1answer
425 views

Remove cite from table of contents

I want to put a citation in the section title \section{AAAB \cite{KK} } But i only want this cite to appear in the text but not on the page of contents. How to remove cite from table of contents ?
2
votes
1answer
1k views

Figures' legend is bold. Can I have it not bold in the list of figures?

The legends of my figures are written in bold, but I don't want the list of tables to have the titles in bold. Any suggestion?
0
votes
0answers
186 views

Table of contents [duplicate]

Possible Duplicate: Table of contents How will i create a table of contents to have an output look like this? hope you can help me. Sorry for the incomplete data of my question last time. ...
3
votes
1answer
10k views

Force \addtocontents to be placed in the correct order

I have something like this: \tableofcontents* \chapter{chap1} \chapter{chap2} \addtocontents{toc}{test} \chapter{chap3} and the ToC is produced like this chap1 chap2 chap3 test I was wondering ...
3
votes
1answer
511 views

Personalizing Table of contents

I want to make my table of contents to have the words "Chapter", "Title" and "Page" written in uppercase, like "CHAPTER", "TITLE" and "PAGE". My document class is Book. How can I do it?
1
vote
2answers
1k views

Table of contents

How will i create a table of contents to have an output like this... CONTENTS ILLUSTRATIONS ...........................................i TABLES..........................
3
votes
1answer
168 views

Wrong display when I have more than 9 chapters in ToC

I'm in a really bad situation with my ToC in the book that I write. Everything is fine until the 9th chapter. There's the "9", some space and then the name of the chapter. But on the 10th (or more) ...
7
votes
1answer
2k views

Second page of list of figures: spacing too large

I have a list of figures which spans multiple pages. The first page is looking just fine but when it continues on to the next page, the space between the lines is more than tripled compared to the ...
6
votes
2answers
1k views

How to make \section items numbers show as Roman Numerals like I II III IV..?

And how to make them show as roman numerals in TOC?
3
votes
2answers
8k views

How to make TOC be on its own pages?

So I try: \documentclass[english]{article} \setcounter{tocdepth}{4} \setcounter{secnumdepth}{4} \usepackage{amsmath} \usepackage{tocloft} \usepackage{xstring} \usepackage{titlesec} \usepackage{...
31
votes
1answer
27k views

How to show subsections and subsubsections in TOC?

So we have something like: \documentclass[english]{article} \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2} \usepackage{amsmath} \usepackage{tocloft} \usepackage{xstring} \usepackage{titlesec} \...
5
votes
1answer
2k views

How to create a simple title list/page in tex?

Are there any standard tex style wrappers that can help to create a title page for diploma or coursework? My main objective is to get some shortcuts for creating title, author name etc. Some help on ...
5
votes
1answer
909 views

Table of contents — changing headings

I use \tableofcontents to generate a ToC of a book. It uses Roman numerals I, II, III for parts, and Arabic numerals 1, 2, 3 for chapters. I would like it to say "Part I" rather than "I", and "Chapter ...
7
votes
2answers
2k views

\thesection (and related) must be fragile?

I think the answer to my question lies somewhere in this thread, but I can't quite find it, and it seems to me that I'm asking the reverse of the question first posed in that thread. In any case... I'...
2
votes
2answers
556 views

LaTeX templates

I am writing my thesis using LaTeX and it actually is the first time I use it. I am using some templates from my university but they are in Spanish and I want to write my work in English. The reason ...
1
vote
1answer
805 views

Extra table of content in my document

How could I produce an extra table of content ? I want to add a TOC describing the content of another document, is that possible in a simple way ? I know I could write the style and everything but I'...
2
votes
0answers
824 views

How to suppress references to appear in top navigation bar? [closed]

In my beamer template, I cannot see the references section in the table of contents, but it automatically inserts that element in the top bar, with the command \insertsectionnavigationhorizontal. As ...
1
vote
2answers
1k views

Get \printindex or \lstlistoflisting to TOC with correct numbering

So when you create an index or a listoflistings, they are not listed in \tableofcontents. \appendix \newpage \printindex \newpage \lstlistoflistings To make them appear, I entered custom content ...
2
votes
2answers
843 views

biblatex: author and subbibliography

2 questions that have been bugging me forever now: 1 I have several biblatex entries that are some sort of publication without a specific author. I use them like this: @booklet{name, author = {...
2
votes
1answer
2k views

Appendix without heading, only TOC entry

I'd like to add an appendix to the TOC without showing its headline over the continuous text. Minimal Example: \documentclass{scrartcl} \begin{document} \tableofcontents \section{A Section} ...
4
votes
2answers
512 views

Problem with the numeration appearing in the table of contents

I have some trouble with the page numbers printed in the table of contents. I am writing a text in book class. In my text, I first print a table of contents with the commands \frontmatter \...
24
votes
3answers
4k 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 ...
0
votes
1answer
1k views

Cross-reference to an entry in the toc?

Is there any way to cross-reference to sections/subsections via their title? I find myself writing "Please see section 4 for more details", and it gets annoying very soon, especially when I have to ...
3
votes
1answer
539 views

Insert \nobreak into subsection title in titletoc's \titlecontents star version

I want the label and title of subsection typsetting as a paragraph but NEVER break down in a subsection title. Say, the code below \documentclass{article} \usepackage{titletoc} \titlecontents* {...
1
vote
1answer
671 views

toc/hyperref heading issue

The bibliography in my document is "incorporating" the appendices in the TOC and the bookmark structure using hyperref. The page number in TOC for Bibliography is also bigger than all other page ...
9
votes
2answers
3k views

Numbered section hidden from the ToC

I'm writing a set of course notes that has an appendix containing many activities. I do not wish the activities to be shown in the Table of Contents, but I do wish them to be numbered. Here is the ...
5
votes
2answers
2k views

Capitalize chapter* in toc with classicthesis

When adding a chapter entry in the toc, I would like to get it as the other chapters, ie capitalized… For instance, add this line \addcontentsline{toc}{chapter}{Test} between these two lines of ...
11
votes
3answers
1k views

Generating lists of custom environment.

I've created my own environment example, similar to theorem. Now I want to generate a list of examples, similar to list of tables or list of figures. How can I achieve this?
4
votes
2answers
543 views

“Page” heading on contents tables

Currently, this code generates pages that look something like: First thing.................i Second thing...............ii 1 First Big Chapter...........1 and so forth, which is fine except ...
4
votes
2answers
5k views

Indentation in TOC and Lists of Figures/Tables

I am just starting to use Latex to write a university report. It does feel like a steep learning curve, and is at times frustrating, but I guess it is because I'm very new to it. I got a question ...