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

6
votes
1answer
1k views

First page of ToC has a page number. How to remove it?

I have a problem with the number of the page that appears on the first page of ToC (I don't want it, of course), but only when I have at last two page of ToC. When ToC takes only one page, footer and ...
36
votes
2answers
35k views

How to change the title of ToC?

I need to change default title of ToC. Is it possible with titlesec package? Here is my MWE: \documentclass{book} \usepackage{titlesec} ...
2
votes
1answer
1k views

How to align the captions in the list of figures?

How to align the captions in the list of figures ? I have the following code: \usepackage[subfigure]{tocloft} \renewcommand*\cftfigpresnum{Figure~} \settowidth{\cftfignumwidth}{\cftfigpresnum} ...
3
votes
1answer
396 views

Hang of List of schemes

I want to align the second line of long names in a list of schemes like in the second screenshot below. Current situation: I want it like this:
4
votes
1answer
1k views

ToC: How to no-indent the second line of large entries?

ToC: How to no-indent the second line of large entries? I'm using the scrreprt class, typesetting a book with only 120mm of paperwidth.
1
vote
1answer
780 views

pdfscreen's panel Table of Contents

I am having trouble understanding how the panel table of contents of the pdfscreen package works. The only thing that I got from the documentation was that in an article-type document, the section ...
9
votes
1answer
1k views

How do I remove hyperlinks from \tableofcontents in beamer?

I am designing a presentation in beamer and would like to use \tableofcontents to generate an outline frame. However, by default, beamer includes hyperlinks on the section names in the table of ...
2
votes
1answer
1k views

New Format list of figure

This is what I want : I'm really being crazy with latex. this is my code for toc : \renewcommand\tableofcontents{% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi ...
2
votes
2answers
3k views

add table of contents in table of contents [closed]

I don't know why my table of contents doesn't appear in my table of contents!. I am writing: \documentclass[10pt,a5paper,landscape]{report} \usepackage{graphicx} ...
14
votes
4answers
434 views

How to prevent last period in captions from appearing in the list of figures?

Is there any simple way of removing the last character of an argument to a command (or environment)? I'm looking for a simple way to remove the punctuation mark from a caption when it appears in the ...
5
votes
3answers
3k views

Customizing the list of listings generated by \lstlistoflistings?

I'm using listings in my document, and its command \lstlistoflistings to generate the list of listings. The problem is that I've customized all the other lists (TOC, LOF and LOT). More precisely, I've ...
3
votes
1answer
112 views

General template problem

I need to achieve the following formatting. Is that possible? Can someone provide an example?
4
votes
1answer
651 views

\addcontentsline adds an unwanted indent

Prologue I'm using the exercise package and trying to harmonize its layout with memoir. This question is quite involved to illustrate, so I'll break it up into several Acts. I'll present the ...
12
votes
1answer
10k views

Show plan before each section except the first one

I wanted to show a plan before every section in my presentation, so I have added the following code before \begin{document} \AtBeginSection[] { \begin{frame}<beamer> \frametitle{Plan} ...
4
votes
1answer
773 views

How to make multiple lines in ToC horizontally align?

For single line, the content aligned nicely, but that's not the case when the it contains multiple lines. The alignment is odd: So how can I make them align nicely? Mimimum Example ...
4
votes
2answers
490 views

How to add a description (“precis”) to a toc entry with KOMA-Script class?

Using the KOMA-Script class I'ld like to add chapter descriptions to the table of contents to provide a short description of this chapter right in the TOC. I've already found the "memoir" document ...
10
votes
1answer
5k views

Two-column beamer ToC with control over the breaking point

From Splitting TOC into two columns on single frame in beamer, I'd like to know whether it is possible to control the position of the breaking point between column 1 and column 2?
6
votes
1answer
5k views

How to get a list of appendices?

How to get a list of appendices like the list of figures and list of tables? How to set it on a separate page, like the list of figures and list of tables?
18
votes
1answer
23k views

How to make “outline” frame in Beamer?

In a presentation, people show regularly a "outline" frame containing the table of contents where some sections are grey (have been presented) and others are highlighted (will be presented right now). ...
15
votes
3answers
2k views

How to avoid a page break before a two-column TOC in memoir

Although `I wouldn't normally do this', I'm writing a short(ish) document for which I'd like to place a small TOC in two columns as the last thing on the title page. In single column mode it works ...
4
votes
1answer
284 views

Fixing page number references when adding multiple indices to ToC

Friends, I'm stuck with a funny error: when I add multiple indices in my table of contents, all page number references mess up. It's probably something easy to solve, but I can't figure out what it ...
8
votes
1answer
274 views

Hide section in table of contents but show it in pdfbookmark

This question is linked to another newer question. For my PDF Bible I need the Bible-Chapter (section) to be hidden in the table of contents. The same Bible-Chapter (section) should however appear in ...
4
votes
3answers
6k views

Customise Table of Contents header and heading

When using \tableofcontents my TOC gets generated like this: Why does the word Contents appear twice and what is the easiest way of changing it to only show the header and not the big heading. How ...
2
votes
4answers
1k views

Letter prefix for “sections”

Between chapter and section level I sometimes need another level, which is indicated by a letter prefix. The table of contents might look like this: 1 1.1 1.2 2 A.2.1 A.2.2 B.2.1 B.2.2 3 3.1 Now I ...
7
votes
2answers
503 views

Location of entry's page number in toc, lot and lof

I'm using titlecontens offered by titletoc package to format the entries in toc, lot and lof. For a multiline entry, the default location of its corresponding page number is after the last line of ...
7
votes
2answers
326 views

Create plain CSV list of pages with/without figures

I'm wondering if there's an easy way to have LaTeX output two lists: of pages containing and of pages not containing figures and/or other color objects. I'd like to print color pages on a color ...
3
votes
1answer
3k views

Listings in table of contents

I'm struggeling a little bit with the display of table of contents. I had previously a problem using natbib , and now the same issue with listings. Maybe I'm mixing something up with documentclass ...
9
votes
1answer
4k views

elsarticle: appendix and a table of contents

Appendices does not work well in a table of contents for the elsarticle class. Example: \documentclass[number,sort&compress,3p]{elsarticle} \begin{document} \begin{frontmatter} \title{Example} ...
1
vote
1answer
248 views

Contents header returns after first chapter

I am using \documentclass{book} and tocloft for the table of contents. The way my document is structured I have the table of contents, then a \chapter*, then part one, chapters, etc. For some ...
1
vote
1answer
4k views

Added chapter with addcontentsline does not adapt style of ToC

I added my BibTeX references following: \cleardoublepage \phantomsection \nocite{*} \bibliographystyle{plainnat} %\setlength{\bibsep}{3mm} \addcontentsline{toc}{chapter}{References} ...
1
vote
2answers
2k views

How to achieve links in a part ToC in a beamer presentation?

I red \tableofcontents from \part commands in Beamer, and it was very helpful. However, I wanted the part titles to be links pointing to the pages the part began. The example without this works just ...
5
votes
1answer
2k views

Skipping outline table of contents of some sections in beamer

I'm trying to make a table of contents for a beamer presentation, and I want to have the outline show up for every section except the first. Right now I'm using: \AtBeginSection[] { ...
7
votes
2answers
3k views

How to use a longtable with only one entry in the list of tables

I'm using longtable to spread my table over three pages. Unfortunately the caption is also added three times to the list of tables. Is is possible to have it displayed only once?
1
vote
2answers
875 views

Latex escape interrupts frame of listing

I am (ab)using a framed listings environment include an enumeration environment (by escaping to latex). This compiles fine but in the resulting pdf the frame around the listing is interrupted. ...
12
votes
3answers
19k views

How can I add abstract and acknowledgement pages into the table of contents?

I followed Mike's solution from my first question: Roman numeral page numbering My next question is how to add entries (for the abstract and acknowledgements pages) into the table of contents.
5
votes
1answer
237 views

\tableofcontents in twocolum document

I don't quite understand why \tableofcontents in a \twocolumn document yields only one column (or how to change that - ideally without including multicol just for the ToC...)? ...
4
votes
1answer
544 views

How to make two list of tables?

I'm writing abook about Matlab and I do want to have two lists of tables; one of them for tables which are related to .m files and the other one list of tables which are related to other subjects. ...
4
votes
2answers
2k views

Error when trying to use \MakeTextUppercase to customize the table of contents

I get the following error when trying to use \MakeTextUppercase to customize the table of contents: ! Undefined control sequence. \find@pdflink ...ode \protected@edef \Hy@testname ...
1
vote
1answer
3k views

How to get new TOC format?

This is what I want : CONTAINT CONTAINT .............................................................. i TABLE ...
3
votes
2answers
424 views

Contextual newlines in tocloft

I'm using a shorttoc with tocloft to put the names of chapters on a newline. Unfortunately, there are some chapters (such as the Preface or Index) which are not numbered, and I end up with additional, ...
6
votes
1answer
1k views

Appendix Chapters typeset as Sections in ToC

I am very new to LaTeX and still more in a trial and error phase than on a real understanding level. My goal is to have all appendices - which are chapters and I would like to keep it that way - to ...
0
votes
1answer
821 views

Change the name of a pdf bookmark

I have to put the table of contents into the table of contents. I do this with the following code. But the entry in the toc must have a roman section number and this section number appears in the toc ...
0
votes
1answer
783 views

How to link items in TOC using beamer

I am preparing a fairly straight forward presentation using beamer. My question is this--how do I link items in my table of contents to the appropriate section/subsection? I feel as if there is ...
6
votes
2answers
1k views

Use Cyrillic characters in the table of contents with \pdfbookmark

I am trying to do a book which has its main language as Russian. The problem is that on the second compiler run on TeXShop (LaTeX document) when it needs to create the bookmarks in Russian, it ...
3
votes
1answer
379 views

Prevent \listofalgorithms from producing blank page

I'm writing my thesis with latex, and there's a chapter in which are described some algorithms using the algorithmicx package. What I want to do is to place an index of algorithms at the very ...
6
votes
1answer
3k views

TOC with pagestyle empty in memoir

I'm using the memoir class for a thesis, and want no page numbering of the front matter including the TOC. Have followed the answer to Table of contents with page style empty which does remove the ...
1
vote
1answer
373 views

ConTeXt manual ToC style

How can i replicate the table of contents style from the ConTeXt manual with ConTeXt? In particular, I like that page numbers are not aligned right und sections have no line breaks between them. ...
14
votes
2answers
3k views

Appendix with own toc

I want to have two table of contents in my document. The first (main) shall only contains "Appendix A: ...", "Appendix B: ..." and so on with page numbers. In the appendix I want another table of ...
1
vote
0answers
90 views

How to create a diagram for the content of a text? [duplicate]

Possible Duplicate: Draw Image (Data flow) I would insert in a document TeX a diagram representing the relations of dependence between its contents. I mean something like the diagram on ...
1
vote
1answer
479 views

Is there a way to show the short title of a chapter in the TOC instead of the long?

is there a way to show the short title in the TOC instead of the long version? For example, when I do: \chapter[short version]{longer version that describes things in a verbose way} Is there a ...