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

5
votes
1answer
581 views

Linebreak after section number in memoir toc?

I'm trying to finish my thesis and have received a bunch of formatting corrections that I need to do, one of which I'm beating myself senseless trying to figure out. I have to make the chapter ...
16
votes
3answers
2k views

Replacing dot leaders in the table of contents with better typography

Dot leaders are the lines of dots in the table of contents, for example. Bringhurst says of them: [They] force the eye to walk the width of the page like a prisoner being escorted back to its cell ...
4
votes
1answer
1k views

Error compiling CJK with \tableofcontents and \makeindex

A basic document with Chinese text works fine: \documentclass{article} \usepackage{CJKutf8} \title{标题} \begin{document} \begin{CJK}{UTF8}{gkai} \maketitle (text) \end{CJK} ...
3
votes
2answers
2k views

Problem with wrong header

I'm having a strange problem. In my code I have \tableofcontents \input{./path/to/my/other/texfile.tex} My summary is well generated, but the rest of the file, which looks like this: \chapter*{A ...
5
votes
0answers
503 views

tocloft recipe to simulate the titlecontents* behaviour of titletoc [closed]

I can't use titletoc, since there are incompatibilities between this package and others that I am using. However, tocloft works fine. I would like to simulate the \titlecontents* effect using ...
41
votes
1answer
10k views

How to modify the space between the numbers and text of sectioning titles in the table of contents?

I'm preparing a document using the book class. In the table of contents, the space between the subsection number and title is too wide. How to reduce it?
1
vote
1answer
513 views

Yet another leader dot question and related for TOC

I asked a question yesterday. Thanks for the help. It turns out I only need to remove the leader dots AND the page number associated with "CHAPTER". This is using the memoir class and also uses a .sty ...
3
votes
2answers
2k views

Remove dots for chapters in ToC with memoir

I have seen similar posts but none seem to work. I simply need to remove the dots in the ToC between the chapter titles and the page numbers. I think the page numbers should line up (as if there were ...
3
votes
1answer
541 views

Highlight entries in Table of Contents with coloured rectangles using TikZ an tocloft

The solution presented in How to highlight specific entries in a tocloft-formatted ToC did not work for colored background. There is a problem when using color because the colored rectangles are ...
1
vote
3answers
215 views

labeling tables per chapter both in the body and in toc [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements How can I label the tables per chapter in document class report rather than ...
2
votes
2answers
3k views

automatic generation of list of tables in book/report writing

I am writing a thesis using document class -book. The list of table is not generated automatically like the list of figure and table of contents. Please help me out.
2
votes
2answers
941 views

How to linebreak part ToC entries using tocloft/titletoc and the book class

I'm currently writing a LaTeX document in the book documentclass. In my ToC I want the actual titles of certain entries (parts in my case) to come in a newline after a generic name of the section-type ...
18
votes
4answers
1k views

How to determine whether a list of figures is empty, then not show it at all?

I want to check whether the document has any figures so as to decide whether or not to have a list of figures. Is this possible? Feasible without doing something like parsing the lof file? Note that ...
4
votes
2answers
524 views

Table of content for Dictionary

I have one problem in the latex \tableofcontents. Look at the image I circled. For Dictionary from A-Z 1-250 How to do that in latex in \tableofcontents? Is it possible in LaTeX?
11
votes
2answers
562 views

Chapters inside LoF and LoT?

I was wondering if it was possible to section the LoF (and similarly LoT) by Parts and/or Chapters. Currently, I have : List of Figures 1.1 blablabla 1.2 blablabla 1.3 blablabla ...
16
votes
2answers
875 views

Linking the section text to the TOC

I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps ...
4
votes
1answer
4k views

Using \adjustwidth from changepage to make a narrower ToC introduces an extra blank page, how to remove it?

I am required to typeset a ToC that is narrower than the \textwdith or \linewidth. I use the \adjustwidth from the changepage package for this and it almost works except that it introduces a blank ...
3
votes
2answers
1k views

How to no-indent section headings in scrrprt table of contents?

Using the scrrprt class of Koma-Script with xelatex, I'd like to have my section entries in the table of contents appear without indenting. My current code is: ...
2
votes
1answer
184 views

Chapter and TOC in Turkish

When I create a chapter like below, I get Chapter 1 for example. \chapter{My Chapter Title} But my document is in Turkish so I need to display Bölüm 1 instead. This is also happening for Table of ...
4
votes
1answer
911 views

How to make a dynamic list of sections

I am trying to make a document that has a large amount of sections which describe tasks. I would like to mark several of the sections as "high priority" with some kind of label, and then build up a ...
1
vote
1answer
640 views

TOC does not create according to .toc file

Am I missing something? I have headings from Chapter to Paragraph. All of the Chapter, Section, and Subsection headings are listed in the printed TOC. Nothing below Subsection prints in the TOC ...
8
votes
4answers
600 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 ...
32
votes
1answer
2k views

Adding a per-chapter image along with group of entries in ToC

Friends, I have an old analytic geometry book with an unusual table of contents: for every group of entries based on the current chapter, there is an image along with it. Well, let me show some actual ...
2
votes
1answer
1k views

Table of Contents: Titles for Parts with \tocloft

I use the tocloft package to design the Table of Contents. I wanted to add the word Part before the numbers of parts in TOC (f.e. using \cftpartpresnum), but I want to add it only for numbered parts. ...
4
votes
1answer
543 views

Table of Contents: Nice Titles for Parts

I have some long titles for Parts in a {book} file. In TOC I receive the following: I Paaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaart pagenum And I would like to have it like the following: I ...
2
votes
1answer
1k views

minitoc: \parttoc does not work for several chapters

I have another problem with minitoc package (and command parttoc). I have 3 parts in the document, asking for a content within each part. LaTex actually places three contents, but they are all the ...
5
votes
3answers
745 views

Word overlap in TOC with memoir class and part subdivision

I am using the memoir class to generate a book manuscript. The table of contents entry for Part VIII overlaps with the part title which is Examinations. The result is shown below: Is there a way to ...
7
votes
1answer
2k views

Table of contents (minitoc, parttoc) and line breaks

I have to make a table of contents for each part of a book document. I use minitoc package, and \parttoc command. I have line breaks (\\) in the chapters and sections titles in both [] and {} ...
5
votes
1answer
798 views

How to create Index for Verses

I ran into problem of creating index for a book (1200 page) which has around 700 verses and its explanation. I have one main tex file with the preamble. I have 18 chapters in my book, so I created ...
12
votes
3answers
9k views

More section headings?

I am a novice in LaTeX and I have one question. Can someone tell me what if you want more heading's in LaTeX. Like 5 or 10 or even 15. Is there a package for that?
0
votes
2answers
986 views

Page numbers in ToC does not match actual page with memoir

I am having a problem where the page numbers in the table of contents do not match actual page numbers while using memoir class. I read elsewhere that if one rebuilds the project the problem will go ...
8
votes
1answer
5k views

Remove newpage after \tableofcontents, \listoffigures, etc. in book class

When using a documentclass of book, it seems there is a \newpage inserted after the \tableofcontents and \listoffigures. How can I suppress this? In articles, the following works. How can I get this ...
18
votes
2answers
11k views

Remove “chapter #” from the chapter title but keep chapter number in the table of contents

I am using report document class. I want to remove word "Chapter" and "chapter number" from chapter title, so when new chapter starts I will get only chapter title. I can do it using: ...
5
votes
2answers
434 views

Can I easily reformat a document to place figure legends on a separate page?

I am submitting an article to a journal with the following requirement: Figure legends should be listed one after the other, as part of the text document, separate from the figure files. ...
8
votes
1answer
1k views

Change the PDF bookmark for the table of contents page

When I click on the PDF bookmark "Contents" in my PDF Viewer, it goes to the position of the table of contents but does not show the title "Contents". Is it possible to set the PDF bookmark above the ...
6
votes
3answers
3k views

Include only paragraph titles in the table of contents

My Latex document has a large number of paragraphs (about 10 per page), and I'd like to build a list of the titles of all these paragraphs. For example, given the following document: ...
21
votes
3answers
22k views

Generate table of contents when \section* (sections without numbering) has been used

Is it possible just to generate a table of contents based on sections in asterisk mode, i.e., \section*? I basically just want the table of contents without section numbers. Like a list of headings ...
8
votes
1answer
187 views

Adding to section names based on their contents

I've got a document that talks about requirements fulfilled. Each requirement has an official name, and so I've made macros that consume a requirement name and make marginpars and index entries with ...
2
votes
1answer
2k views

How to include a List of Symbols and Abbreviations in the List of Tables?

in my large document I have a List of Tables, on page xi, and a List of Symbols and Abbreviations that starts on page xiii. Shortly after that arabic numbering starts for the regular content pages. ...
3
votes
1answer
1k views

Conditional loading of tocloft causes errors

Looking for a way to customise a table of contents, I came across this recommendation to use tocloft. As per the suggestion (and the documentation), I've put a conditional in place which tests for ...
5
votes
1answer
2k views

Font style for page number for chapter in ToC

The page numbers in the ToC appear in different styles. For sections and subsections in normalsize and for the chapter in bold and slightly larger (I think). How can one change the fontsize/fonttype ...
4
votes
1answer
1k views

How do I suppress the list of acronyms

I am using the acronym package to handle my acronyms. To use the package, I have to define all the acronyms within a \begin{acronym} ... \end{acronym}. This generates a listing of acronyms that I want ...
6
votes
2answers
17k views

Creating a very flexible TOC with beamer

To manage TOC in bearmer I normally use these codes: \AtBeginSection[]{ \frame<beamer>{ \frametitle{Table of Contents} \tableofcontents[currentsection,subsections] } } ...
4
votes
3answers
2k views

Reduce line spacing in minitoc package

I am using the minitoc package to add chapter TOC's in a thesis. The entire document (including the main table of contents) is doublespaced, but I want the chapter toc's to be single spaced. I specify ...
3
votes
1answer
1k views

\tableofcontents and multiple files from \include

I am trying to compile a table of contents with \tableofcontents{} from multiple files I have included (with \include, i.e. chapters). What do I need to do to get the chapters included in the table ...
2
votes
1answer
3k views

Font size in toc

I get a problem when creating toc with my style, I want all font size is normalsize, but it doesn't work for the chapter. here my code : \titleformat{\chapter}[display]{\large\bfseries\fillast }{BAB ...
1
vote
0answers
2k views

Create appendix in LyX? [closed]

I use report class, I create appendix in LyX : The definition of the appendix has been defined from the LyX menu Document->Start Appendix Here The contents of Appendices are listed in a separate ...
1
vote
1answer
1k views

Removing the TOC entry from the TOC

Using the article document class I have transferred a DOC template to a tex format (I am using miktex). The template specifies a given section appearing prior to the table of contents i.e.: ...
12
votes
2answers
1k views

How to make a hyperlink cover the whole line in table of contents including the dots?

The linktoc=all option of hyperref package makes both the reference text and page number clickable hyperlinks. However, the dots are still not hyperlinks. This is not very important but I'm asking out ...
3
votes
1answer
4k views

Insert Abbreviations in LyX document

I would like to generate the abbreviations entry in the report written in LyX. I could not find it. I would like to know 3 things : Insert the abbreviations table in the TOC. Insert the ...