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

8
votes
0answers
93 views

Table of contents with xtemplate (expl3)

Every time I typeset some book or articles, I start to renew sectioning commands (\part, \section, some \@-commands and so on), \maketitle, \tableofcontents commands by copy-pasting it to my class and ...
5
votes
0answers
179 views

Clickable box malformed in TOC when using math in heading and the Latin Modern Math font

The clickable box (the actual hyperlink) in the TOC is too heigh when using the Latin Modern Math font. Using Cambria Math everything looks normal. Using the \texorpdfstring{}{} command does not ...
4
votes
0answers
73 views

Styled table of contents

I am trying to create a styled table of contents which is based on the answer(s) on this question: How to change style and color of Table of Content? The TeX I have is shown below: \definecolor{...
4
votes
0answers
137 views

Creating a List of Theorems divided into Subsections with amsthm

I want to modify the listoftheorems command so that at the end of each chapter, I can give a list of the theorems or definitions within the last chapter, and I want these divided by section (it should ...
4
votes
0answers
282 views

Table of contents in a separate file with correct hyperlinks to many files

It's my first question here. Sorry if it doesn't follow the rules. I have: I'm writing a manual in the book class with pdflatex (MiKTeX under Linux). Each chapter is stored in a separate tex-file (...
3
votes
0answers
39 views

How to use tocloft with revtex without changing \tableofcontents formatting

I need to create a custom "list of ..." in my document. As I search around the intertubes, I'm told to use the tocloft package. The documentation seems promising. However, when I load the package, the ...
3
votes
0answers
76 views

How to add prefix to section names and create space in table of contents

I would like to add the prefix "Appendix" to appendix sections such that it appears in a table of contents. However, whenever I add this prefix using the \renewcommand command, the table of contents ...
3
votes
0answers
78 views

Limit the title in \listoffigures to the first sentence of the caption

I would like to do the same thing as described here : Automatic way to use the first sentence of the figure caption as the short caption. Which mean that I need to limit the title of the figures in \...
3
votes
0answers
195 views

A problem with list of figures/ tables

I am using a class file based on USFdissertation.cls, and my problem is that in the list of tables and figures, it does not print the words "Table" or "Figure" before their titles, even though ...
3
votes
0answers
177 views

Packages to place partial TOC, LOF, LOT, LOA and LOS in some of the chapters in a report?

Context I'm doing a template for a Master Thesis based on the report class and want to achieve the following characteristics: a) Tikz-based titles, headers and/or footers b) IEEE-alphanumeric style ...
3
votes
0answers
125 views

TOC: center 'Part' and wrap subsubsection properly

I would like to center PART and wrap the subsubsection in one line in TOC, with proper indentation (matching with section or subsection or chapter). Please see the image. Attached is the sample code ...
3
votes
0answers
612 views

Margin Changes in the Table of Contents (memoir class)

The upper margin is supposed to be 1" throughout my document. In the table of contents it changes from 1" to less than 1". How may I make it consistent? Note: I am using the pwasu.sty style file from ...
2
votes
0answers
59 views

Indent appendices in table of contents

If I use \documentclass{article} \usepackage[toc,page]{appendix} \begin{document} \tableofcontents \begin{appendices} \section{Some Header} .. \section{Another Header} .. \end{...
2
votes
0answers
53 views

Numbers before parts and chapters in the table of contents

When I use \tableofcontents* for adding a table of contents, Roman numbers appear before the name of a part (entered by \part) and English numbers is appear before chapters (entered by \chapter). How ...
2
votes
0answers
45 views

creating a paper organization tree

I was wondering how am I gonna be able to create a paper organization like the image attached with latex (ACM small-article). Can I use the classic algorithm pseudo packages, or there is specific ...
2
votes
0answers
20 views

What is exact size of figure from Matlab to add in latex

I want to add some results (graphs) from Matlab in(.eps format).I dnt know what should be the size of the figures. Every time I add figure in latex my supervisor says change the size. Does any one ...
2
votes
0answers
62 views

Highlight subsections below current section, while shade other (sub)sections

I want my slides to show like this, that the current section and its subsections highlighted, while other section and subsections shown but shaded: http://web.mit.edu/rsi/www/pdfs/beamer-tutorial.pdf ...
2
votes
0answers
55 views

Table of contents and references not aligning to margin

For my dissertation I have to alter the margins (to allow for binding) which I have successfully done using the geometry package. My problem is that my ToC and references have not moved. What I have ...
2
votes
0answers
29 views

Suppress section numberrs in TOC

I am creating a file, where the section headings should have box around the number. Also, some sections should not display this number even though the box should still be there. To solve this, I ...
2
votes
0answers
46 views

Is it possible to place a picture on a TOC that appears before each section?

I want to show my TOC before each section. However, I am hiding my subsections, which makes the slide look bare. Is it possible to add in a image on the right side (away from the text)? I have ...
2
votes
0answers
61 views

Problem with table of contents. Chapters appeared different from sections

I have the following code. My problem is that the table of contents displays the page number of chapters without \hfill, next to the title, unlike to the section titles which appears with dot filling ...
2
votes
0answers
78 views

Multiple appendices prefix names

For my dissertation, I have a LaTeX template, which alters the prefix of the appendix titles, such that instead of 'A [app name]' I get 'Paper A [app name]'. Great! Except that I would like to have a ...
2
votes
0answers
53 views

Table of Contents style fit to part style

I am using titlesec and TikZ to customize my \part style. I would appreciate to use the \part style for the \tableofcontents title. Is there any way to do it ?
2
votes
0answers
47 views

figures in an appendix, list of figures in frontmatter, to be compiled separately

How would I best approach the problem of having an appendix for images, but the corresponding LoF as part of the frontmatter, in files compiled separately? I saw that combine has some facilities for ...
2
votes
0answers
354 views

Update Legrand Orange Book template mini table of contents

In the latest Legrand Orange Book template, in the mini table of the table of contents at the start of a 'Part', if a Chapter or subsection is too long, the words get broken up in a "not presentable" ...
2
votes
0answers
105 views

book with theory exercises and separated answers

I have a 300 page long book of mathematics, nine chapters, each chapter containing theory and exercises. I want to make another chapter at the end with all the answers. But if I add another question, ...
2
votes
0answers
59 views

ConTeXt: Table header as section in TOC (while parsing xml to pdf with xmlflush)

I would like to use the header of a table as a section for the TOC (while parsing an XML to pdf) \startxmlsetups xml:table \page[yes] \dorecurse{3}{ \bTABLE[frame=on,split=no] ...
2
votes
0answers
135 views

How do I style the TOC in a beamer template?

I'm making a beamer template, and I have most of the things the CD requires done, but I can't seem to be able to influence how the TOC looks like. This is how it is supposed to look like: (But the ...
2
votes
0answers
161 views

Beamer: Put an Updating Outline/TOC on Every Slide

I'm looking to be able to have an outline or table of contents on the side of every slide fairly automatically, though it would be good if it could be suppressed on some slides. This outline would ...
2
votes
0answers
113 views

Check if a partial table of contents or list of figures/tables is empty before showing the title

I've created a command, \importchapter{<title>}{<folder>}{<file>}{<minitables>}, to import the main <file> of a chapter from a <folder> and automatically generate a ...
2
votes
0answers
326 views

Using Titlesec, titletoc, and titleps together affects the command \tableofcontents

Writing a book of probability in arabic, I want to use the titleps package for different beautiful headpages, in my files where I use titletoc for partial table of contents. All was good until I used ...
2
votes
0answers
75 views

Show TOC in Beamer under special conditions

I'm wondering how to display the TOC: At beginning of section if there is no subsection At beginning of subsection else Each option can be achieved separately quite easily with the commands \...
2
votes
0answers
291 views

How to display partial TOC (only one section at a time)?

I already know how to print an Outline with only the current section. What I'd like to do is to have an Outline slide with some extra info (for instance, a publication) below each section of TOC. I ...
2
votes
0answers
124 views

How to add additional information to chapters and their entry in the table of contents?

I would like to change chapter layout/heading to contain more information. I found this question where a subtitle is added that contains information about original authors. However, I would like to ...
1
vote
0answers
37 views

Section title centering

I am writing my PhD thesis in LaTeX. When I tried to center the section titles, awkwardly, it compiles without table of contents but whenever I write \tableofcontents an error occurs. For centering, ...
1
vote
0answers
43 views

Translation from Memoir class to Book class of pretty tables

Gonzalo Medina pretty TOC/LOF/LOT (memoir class) can be found at Pretty List of Figures and List of Tables. If the class is switched to the book class, there are 187 error messages produced. Is there ...
1
vote
0answers
26 views

Why all sections are not showing in ToC in Beamer Berlin theme?

I have 8 section in tex file. But only 6 sections are showing in ToC why? How to increase ToC. i have used Berlin theme
1
vote
0answers
26 views

How to remove page numbers and dots from a minitoc created by the titletoc package?

In the code below, how to remove page numbers and dots from the minitoc (not the main TOC)? I didn't find any commands or options in the documentation to do that. \documentclass{book} \usepackage{...
1
vote
0answers
29 views

Wrong page numbers in TOC using the memoir class and booklet package

I have five chapters located in different sheets and pages; however, all of the page numbers appear as if the chapters were in the same page. The whole document has more than 18 pages, but all the ...
1
vote
0answers
38 views

How to move the word Content on the top of the page

I have two problems. 1.I would like to move the word Content on the top of the page. The word content is the table of content. 2. The second problem is regarding the space between each paragraph ...
1
vote
0answers
42 views

Expand top margin of single page - ToC

I have a ToC with only a few lines too many to be in one page. I wish to get everything into one page and still looking good. With \addtocontents{toc}{\protect\enlargethispage{\baselineskip}} that ...
1
vote
0answers
39 views

Remove Blank Pages

MWE: \documentclass[a4paper,12pt,leqno,footinclude=true]{memoir} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \usepackage{tocloft}% \newcommand{\cftchapaftersnum}{.} \begin{document} % ---...
1
vote
0answers
31 views

Add items to List of Figs

In my thesis, two of my chapters are published articles and I've simply included them by inserting the pdf versions. So, for those two chapters, the figures don't appear on the list of figures ...
1
vote
0answers
35 views

Enumerated entries in Table of Abbreviations

I use the nomencl-package to create a Table of Abbreviations. (Yes, I'm aware of the glossary-package, but the template is quite difficult to adapt to it.) I'd like to have numbered entries in the ...
1
vote
0answers
20 views

Avoid line break in glossary but have it in section

I want to do a manual linebreak in a section title but I do not want it to appear in the glossary (table of contents). I'm using \newline to break the line in the section like: \chapter{...
1
vote
0answers
37 views

How can I automatically include the sections from an \includepdf in the table of contents?

I am writing a thesis, and need to include a couple of papers in the end as appendices, using \includepdf{}. The thesis office requires that all the sections of the papers be listed in the table of ...
1
vote
0answers
60 views

Titletoc / Titlesec numbers overlap text

Pretty simple problem, I have part numbers included in my section and subsection numbers, and I want to increase the space after the numbers, preferably without screwing up the rest of the alignment. ...
1
vote
0answers
29 views

Automatically coloring entries in toc if they contain only default images

Introduction I am working on a document with many images named in it. These images get inserted into the .pdf if they are located at the folder I told LaTeX to look in. If there is no such image it ...
1
vote
0answers
60 views

List of Symbols and Abbreviations with location

I have a list of symbols and abbreviations. Please see my code below, at the end of this question. This code works, but I would like to have my symbols/abbreviations with a LOCATION. By this I mean, ...
1
vote
0answers
37 views

Fix chapters being on multiple lines in the table of contents

This is the first time I am facing such a probem with latex. In my table of contents, chapters are displayed on as many lines as the number of pages required to write them. For instance let's assume ...