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

8
votes
2answers
4k views

How to add a navigation window to a LaTeX generated PDF document?

Some ( if not most ) pdf ebooks have the option to view the table of contents in a left navigation window. I would like to add this option to my document as well. Question: How to add a navigation ...
8
votes
3answers
339 views

Adding table of contents to contents - wrong page numeration

I want the "Table of contents" position to appear in the table of contents. I'm using \addcontentsline to add this position, but the page numeration seems a bit odd. I have a table of contents ...
8
votes
2answers
619 views

Different indentations of same level in ToC

I am writing a paper for university and I need to do it according to style guides. Everything looks peachy, except for the ToC. This is how it comes out for me: The word "appendix" shouldn't ...
8
votes
3answers
166 views

No caption but entry in list of figures

Now, there are many 'solutions' for this problem on the internet, but they all seem a bit messy to me. Like for e.g. this one: Link to ' Community' Is there a proper solution for this? As this is ...
8
votes
2answers
251 views

Have almost managed to get my TOC the way I want, but need help making it 100% perfect

If you compile my current TOC code: \documentclass[a4paper,10pt]{book} \usepackage{lipsum,kantlipsum} \usepackage[dotinlabels]{titletoc} \contentsmargin{0pt} ...
8
votes
2answers
219 views

Can't add \raisebox to ToC in XeTeX

In XeLaTeX I've defined the following command: \newcommand*{\PoETeX}{P\kern -.15em\raisebox{-0.21em}{O}\kern -.05em E\TeX} as a simple (non-robust) way to create a silly logo styled after \LaTeX. ...
8
votes
2answers
2k views

Ignore citations in captions in list of figures when numbering

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the ...
8
votes
4answers
423 views

Index is incorrectly listed in the table of contents

I have a large document with an index compiled through makeindex, and is included in my source .tex as follows: \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{Index} \printindex ...
8
votes
2answers
2k views

List of Figures/Tables - eliminate dots?

I need to eliminate the dots that appear in \listoffigures and \listoftables results - is there an easy way to do that? EDIT: I think I need to actually eliminate the dots. Modifying @dotsep via ...
8
votes
2answers
1k views

Capitalization of Titles and Headers

I'm attempting to capitalize certain titles or headings in my LaTeX file. Specifically, if I want to use \printindex, \listoffigures, or \listoftables the title heading on each of these will be ...
8
votes
3answers
2k views

Excluding chapters from ToC in amsbook

I'm writing a book using the amsbook class, and I've included a page for acknowledgements using \chapter*{}, thinking it wouldn't show up in the ToC. However, it does (and for some reason it's ...
8
votes
2answers
1k views

How do I make the list of figures use an automatically shortened version of the caption?

Many of my captions are quite long and appear as 5 or more lines in the list of figures. To save me the effort of using the optional argument in the caption are there any packages that can produce ...
8
votes
3answers
2k views

Automatically typeset math in section headings in bold-face

This question is motivated by a question asked me by a friend who is working on his thesis in mathematics. His section headings occasionally contain math, which: he would like to be in boldface to ...
8
votes
2answers
331 views

Custom ToC — Put vspace only below chapters that have sections in them

I’m using the titletoc package in the book class. Currently, my chapter entries are configured like this (I left out the unimportant parameters for simplicity): \titlecontents{chapter}[0pc] ...
8
votes
1answer
388 views

Add author's name automatically while building ToC

I, along with a few others, am writing a project report, where different subsections have been authored by different people. When I build the table of contents using the \tableofcontents tag, it would ...
8
votes
1answer
334 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}, ...
8
votes
3answers
10k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
8
votes
4answers
143 views

LOF: Formatting Figurenames and adding Column Names

Here is the specific format I have to apply to the LOF: It should be Basically 3 aligned columns that contain: page number - figure number - the figure name (in this very order, like a tabular). And I ...
8
votes
2answers
3k views

Hide navigation information in sidebar on title page and TOC page (beamer)

Edited for clarity: I am trying to remove the navigation information in the sidebar that lists a TOC on the title page and the TOC page in a beamer presentation. I still want the sidebar to appear ...
8
votes
1answer
614 views

\chaptername is used even for appendix chapters in ToC

I have searched for something to resolve a problem that has shown up here: How do I get \chaptername to appear in the table of contents? I have tried the code from that thread. But I got an issue, ...
8
votes
1answer
216 views

List of definitions: how to remove the prefix “Definition”?

I have write definitions in this way (this is a MWE class unatesi is available here): \documentclass[laurea,oneside,12pt,italian]{unatesi} \usepackage{amsthm} \usepackage{thmtools} ...
8
votes
1answer
715 views

Grouping by chapter in List of Figures and Tables with ClassicThesis

I checked extensively the forum and the net in order to solve this seemingly simple problem, without success. I know that there are a lot of posts regarding this problem, but I was unable to find the ...
8
votes
2answers
3k views

Style of tableofcontents

I want to change style of table of contents which is given by \tableofcontents, (say I do not want that much space between lines and some I want the subsections to be listed in one line). How can I ...
8
votes
1answer
44 views

Move hyperref anchor link in TOC

In the example below, the title of the starred section is moved to the left in the TOC but not the corresponding hyperref anchor link: \documentclass{article} \usepackage{hyperref} \begin{document} ...
8
votes
1answer
328 views

Remove spacing between per-chapter figures in LoF

When I'm generating a List of Figures in my project, all figures are grouped by chapter. I would like to have the whole list without any additional new lines between different chapters. How it looks ...
8
votes
2answers
311 views

KOMA-Script scrbook: width of chapter and section number

I'm using KOMA-Script’s scrbook class and have problems with the Table of Contents. When the chapter number is too large, the chapter number is glued to the chapter heading. The chapter-section ...
8
votes
1answer
465 views

The line spacing in the list of algorithms

This is my code: \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
8
votes
1answer
793 views

Index not linked properly in the navigation

I'm having troubles making Index visible in the navigation that is shown with the pdf preview of the document. Namely, the following is the end of my main .tex file: % Bibliography % ...
8
votes
1answer
3k views

Minitoc + thesis template + pdflatex

I added the package minitoc \usepackage[nohints]{minitoc} to this template and did as I read: add \dominitoc before \tableofcontents and \minitoc after a chapter's creation, but it doesn't appear. ...
8
votes
1answer
199 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 ...
8
votes
2answers
464 views

In memoir, can I number abstracts as sections in the toc?

I'm writing up my thesis right now, using memoir, and I have a problem with abstracts. Each chapter - besides the intro and conclusion - is an article published in a journal, and has its own abstract ...
8
votes
1answer
678 views

Replicate Figure w/out Inserting New Entry in List of Figures

I would like to replicate a figure in Chapter 3 within Chapter 6 such that the figure is displayed and optionally, it has the caption and Figure number of the figure in Chapter 3. If that is not ...
8
votes
1answer
13k views

Changing color and bullets in Beamer's table of contents

Does anyone know how to change the color scheme and/or bullets used in Beamer's table of contents (without changing the overall structure color or theme)? Unfortunately, the following doesn't work: ...
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} ...
8
votes
2answers
116 views

Multiple appendices, distributed throughout document

For my dissertation, I have multiple parts to represent each separate paper. I'm trying to get the appendix for each part to follow the part, and then have chapter numbering reset to 1 (rather than ...
8
votes
1answer
104 views

How to typeset the table of contents raggedright in memoir?

I basically have the same question as this one Table of contents: section titles ragged right but none of the two solutions there work with memoir. I want to typeset section etc. titles raggedright ...
8
votes
1answer
5k views

Hyperref, Table of Contents and subsections

I have encountered a problem in latex that I have not been able to solve. While the hyperref package generates clickable links in the table of contents, it does not link any subsection to the actual ...
8
votes
1answer
1k views

Apéndices (Appendix spanish accent)

Dear friends: there is a problem with appendix and ápendice. I have a scrbook document and I use appendix package, \usepackage[title, titletoc]{appendix} because I like the word "Apéndice" in ...
8
votes
1answer
289 views

Memoir mysterious overfull hbox in TOC when mathptmx is used

I'm trying to troubleshoot an overfull hbox warning that arises with some long chapter titles in memoir. I've narrowed it down to the following minimal example. The problem arises with mathptmx but ...
8
votes
2answers
788 views

One caption in listoffigures for a ContinuedFloat

I am using the \ContinuedFloat command of the subfig package to print a series of figures in more than one page. I would like to have one caption in the List of Figures and "compress" the pages so ...
8
votes
1answer
260 views

Citations in captions as separate argument

Whenever I include a table of a figure in my research papers, I cite the source of the information in the caption itself. However, I don't want this citation to appear in the List of figures/tables. ...
8
votes
1answer
125 views

Including ToC from second volume in first volume, and vice versa

I am preparing a book which will be printed in two separate volumes, and I'd like to show in the ToC the full content in both, either in two separate ToCs (Index for Volume I / Index for Volume II), ...
8
votes
1answer
103 views

subcaption: remove page number from lof

I use the caption and subcaption package as shown in the example below: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \captionsetup[subfigure]{list=true} \begin{document} ...
8
votes
2answers
1k views

Customize section numbering in TOC

I'm working with report class and I would like to customize headings of chapters, sections and subsections, abvoe all the look of numbers before their respective headings, both in the text and in the ...
8
votes
1answer
158 views

Include information at the beginning of a document based on what comes later

I need to show a list of items/keywords/duedates used throughout my document at the beginning of the document, and make them hyperlinks. To be able to use this information the beginning of the ...
8
votes
1answer
3k views

List of Algorithms Using algorithm2e

According to the documentation, I can add an entry in the ToC for the list of algorithms created using the algorithm2e package by including dotocloa as a package option. When I do this I receive an ...
8
votes
1answer
374 views

Include images in TOC?

I've got a large document whose table of contents is being generated by the usual \tableofcontents command. I'd really like to include a small image next to each line in the TOC. How can I do that? ...
8
votes
1answer
608 views

Todonotes: group list-of-todos by chapter

I use the todonotes package extensively to mark and comment my projects. So, for a large project, I have dozens of todo-notes and the list of todos, which I insert at the beginning of a document, ...
8
votes
3answers
228 views

Problems in TOC with appendix as section at the end of a chapter

I have an appendix (section) at the end of Chapter 1 that looks like Appendix 1.A Baz However, as you can see in the image below, the TOC doesn't display the appendix counter properly (it overlaps) ...
8
votes
1answer
150 views

Figures Grouped at the End

A requirement for a paper I'm writing is that all figures occur at the end of the document, with one figure per page, and with a page of figure captions preceding the pages of figures. Is there any ...