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

6
votes
2answers
97 views

Modify ToC Backmatter Entry Distance

I created a simple document using memoir class as follows: \documentclass[12pt,a5paper]{memoir} \renewcommand\thepart{\arabic{part}} % modify ToC part \renewcommand{\cftpartaftersnum}{.} ...
4
votes
0answers
76 views

LoF, LoT, Abstract, Acronyms non-numbered in ToC - why?

The solution of LOF+LOT+BIB in TOC with numbered chapter does not work in my case. Admittedly I used a template of some other person - when I produce a Pdf with his code all above mentioned sections ...
1
vote
1answer
34 views

ToC formatting - numbers too close to section headers [duplicate]

I am putting together a report as part of a group project for part of physics degree, and I have been having fun trying to format the table of contents correctly. Here is a MWE: ...
1
vote
1answer
34 views

Cross-referencing label and table of contents

I am using a label for referencing. I just added my table of contents and saw the label is used as chaptertitle. How could I fix this? My MWE: \documentclass[a4paper,dutch]{report} ...
3
votes
3answers
117 views

How to create a multiple-column table of contents?

Given some latex code like \section{the first section} some text \section{the second section} some text \section{the third section} some text \section{the fourth ...
1
vote
1answer
61 views

Add word 'Chapter' before chapter number in toc (memoir class)

i want to have the word 'ΚΕΦΑΛΑΙΟ' which means Chapter in greek, before the chapter number in the table of contents and the 'ΠΑΡΑΡΤΗΜΑ' before appendices, i am using memoir class and the command ...
3
votes
1answer
23 views

Table of contents: Correct hyperllinks to two different “section 1”s

I have a document divided in parts, sections and subsections and each part starts with "section 1". I totally dislike this, but I cannot change that. So sadly, I have to cope with the arising ...
2
votes
1answer
69 views

A table of contents for each section. Including only the entries of that section

I am preparing a presentation on Beamer and I will have different sections. I would like to put a title page and a table of contents for each of the section. In particular, for each section a toc ...
3
votes
0answers
26 views

Error with \tableofcontents when using “\(…\)” in section [duplicate]

I want to type math equation in section headers, but I had some error with \tableofcontents command. When I compile this file \documentclass{book} \usepackage[utf8]{inputenc} \begin{document} ...
0
votes
0answers
52 views

Table of Contents (Continued) heading [duplicate]

The solution here Changing the table of contents for getting a "Table of Contents (Continued)" heading in the text of the second page of the table of contents works very well and is the best solution ...
2
votes
1answer
42 views

hiding section name and include it in toc

I tried to find a solution, but I cant. I'm writing my thesis, and all my sections are numerated arabic. I have no problem displaying them in TOC. Before those section i have several pages numerated ...
1
vote
1answer
63 views

How can I get page numbers to link to the table of contents in latex?

Just gonna ask a question from 4 years ago: "I've seen a pdf LaTeX document where the page numbers at the bottom of the page are hyperref links, and clicking them causes you to jump to the contents ...
2
votes
0answers
99 views

Remove section titles from text, but not table of contents — interaction with columns

Update: a previous version of this question wrongly attributed the problem to use of minitoc to get section-level tables of contents (\secttoc). I've got a complicated document with a tables of ...
4
votes
1answer
71 views

Making chapters bold in table of contents

Problem: How do I make chapter titles bold in the below MWE? Minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[titles]{tocloft} \begin{document} %: ...
3
votes
2answers
49 views

How can I modify the page number for abstract in ToC?

I am very new in LaTeX. I am writing a thesis and I need to have two abstracts one in English and one in Portuguese. However, when I try to include them in this way: \selectlanguage{portuguese} ...
1
vote
1answer
101 views

Start TOC from chapter 1 and also page numbering

Problem: Start page numbers from chapter one and also reflect this in the TOC. Currently the code for TOC is: \renewcommand{\contentsname}{Table of contents} \setcounter{secnumdepth}{2} ...
4
votes
1answer
113 views

Table of content: how to remove the page number of subsection in LaTex?

Could anybody help me to remove the subsection of page number? Just want to be like this Thank you very much. Here is my code \documentclass[a4paper,12pt]{article} \date{} % Leave date ...
0
votes
0answers
42 views

Chapter in frontmatter

need some help. I want to create some specific chapters in frontmatter so that it will be displayed in toc with roman numbered page number; moreover I want its page in toc is not in bold fonts (if ...
0
votes
1answer
31 views

Why is pdfpages' addtotoc option giving me «Illegal parameter number in definition of \AM@temp» error message?

I am trying to add a few pdf pages in my LaTeX file and have them shown in the table of contents. My file is as follows: \documentclass[a4paper,12pt]{scrartcl} \usepackage[utf8]{inputenc} ...
2
votes
1answer
62 views

How can I exclude a custom sectioning command from the table of contents?

Question How can I exclude a custom titling command (sectioning command) from the table of contents? Note that I do not want to simply inherit the \paragraph, because it is reserved for and extra ...
2
votes
1answer
49 views

Dynamic date in section and TOC

I am trying to dynamically insert a custom date within a section title like so: (somewhere in preamble): \newdate{prevdate}{14}{01}{2015} \date{\displaydate{prevdate}} (somewhere in document): ...
1
vote
1answer
54 views

Using titletoc's \contentspush{} to non-rigidly align titles in ToC

The document uses the book class. Currently I'm working on the ToC using the titletoc package. Attached here are Screenshot-1 and Screenshot-2. The screenshots were taken at 80% zoom. Screenshot-1: ...
1
vote
1answer
33 views

Theorem List Template for Course Modules

I'd like to create a template in latex that will list the theorems and definitions that I have entered. For example, in my Analysis 1 module, I have learnt Theorem 2.21 $ \lim_{x \to +\infty}(a_n + ...
1
vote
2answers
31 views

Include class numbering in TOC with a subclass entry when using titlesec and titletoc

I am trying to use titleclass to define two new classes : savoir and subsavoir. In the TOC, I would like to get something like this : Savoir 1 -- First knowkledge title Savoir 1.a -- First ...
1
vote
0answers
23 views

Eledmac: hyperlink to table of contents generates additional pages [closed]

I'm writing a critical edition that includes a link to the table of contents on each page. When I do this in eledmac, additional pages appear in the vicinity of the table: \documentclass{book} ...
2
votes
1answer
91 views

No page numbering on ToC, LoT, LoF

I'm trying to supress page numbering in the table of contents, list of figures and list of tables. If they have more than one page, subsequent pages should have no page numbering also, but they must ...
0
votes
1answer
52 views

How to create a custom Table of Contents

I need to write a document which will contain a preliminary table of contents for a report that I need to write couple of months later. For that, I need to provide the preliminary outline, the ...
4
votes
2answers
82 views

Defining a new version of \addcontentsline fails with hyperref

The example below defines a new version of \addcontentsline which does not show \thepage. Unfortunately, the compilation fails when hyperref is introduced. I have no clue why? ...
2
votes
1answer
64 views

Hide subsubsections from TOC, but keep PDF bookmarks with beamer

Yes, I realize that subsubsections are evil. The only reason I'm using them however, is for myself, to structure the presentation and be able to jump around efficiently if necessary. The beamer theme ...
2
votes
1answer
62 views

minitoc Errors (potential clashes with other packages?)

I want to insert chapter content for my thesis by using minitoc package. It seems working on its own. However, if I add other packages for other purposes, then it does not work and I keep getting the ...
0
votes
1answer
38 views

Wrong anchors in bookmarks and TOC

I am having some trouble with some anchors for sections, which automatically start at a new page. The TOC shows the right page numbers, where the PDF bookmarks show the page number of the previous ...
2
votes
3answers
104 views

List of equations, including equation contents and caption

I would like to automatically generate a list of equations present in the document, which includes the equation itself. Here is a MWE: \documentclass{article} \def\caption#1{} \begin{document} First ...
3
votes
2answers
61 views

Table of contents wrong when setcounter{page}{1}

I'm working on a document, and I don't want numbering on my front page, so I placed a \thispagestyle{empty}. Now at my ToC, I use \setcounter{page}{1}. But my document still counters the ToC page as ...
2
votes
1answer
64 views

page number, bookmark number, do not match

Good day people, Today, I was wondering how to correlate the bookmark numbering with the table of contents. As the attached picture shows, the Titulo and Declaracion share the same number page at the ...
1
vote
1answer
53 views

Appendix naming in TOC

At the moment the appendix is listed in my TOC as shown in the picture below. I now would like to erase the A and just have "Appendix" in the TOC but, at the same time, not lose the A.1, A.2, A.3, ...
3
votes
1answer
83 views

Getting hyperlinks, bookmarks, and TOC all right

I'm having trouble getting all three of the hyperlinks, PDF bookmarks, and the TOC "right". The following gives me the correct visual styling: Appendices appears in the TOC as a "part", before the ...
0
votes
0answers
24 views

Change the notation of the table of contents [duplicate]

I am creating a document displaying rules. I have managed to change the name of "Chapter" to "Article" and only have one more wish, which is to change the way the table of contents displays the ...
1
vote
1answer
77 views

Remove Figure label in “List of Figures”

I'm using classicthesis of André Miede and I have the following list of figures: I don't really like the sequence of Figure words (I think it's redundant) and I'm wondering if there's a way to keep ...
3
votes
1answer
83 views

Beamer: Subsections in table of contents in one line

I created a presentation with beamer, but the presentation is too long for the table of contents to fit in one frame. So I wanted to ask if it is possible to remove the line break after each ...
1
vote
1answer
40 views

Glossaries table of contents showing acronyms where only long forms were used

In a document where some acronyms are defined, and only long versions are used throughout the document, is it possible to have these long forms not show in the list of acronyms? MWE ...
0
votes
1answer
38 views

Parts in TOC with background color

How can I modify the part style, so that instead of a rule I get a gray background? I'm using tocloft package. \addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par} \documentclass{book} ...
1
vote
1answer
39 views

List of numbered pieces of text

To number short pieces of text throughout my report I used: \newtheorem{SampleEnv}{}[section] How do I generate a list of all the numbered pieces of text?
3
votes
1answer
69 views

Editing the section's ToC entry with the titlesec package

I want to know how can I change the ToC entry of sections when using the titlesec package? I am using the command \section[short title]{long title}, but the short title does not appear in the Table ...
2
votes
0answers
43 views

manual generated toc page with wraps an tab stops [closed]

My last deeper contact with TeX was many years ago. Since then I use it only from time to time to assemble PDF pages with bookmarks etc. Now I need to manually create TOC pages for a collection of ...
2
votes
1answer
65 views

Show lists on 2 levels in the table of contents

I have a file as follows: \documentclass[12pt]{article} \begin{document} \setcounter{tocdepth}{2} \tableofcontents \newpage \section{A Section} body \begin{figure} abc \caption{a figure} ...
1
vote
1answer
52 views

How to get ConTeXt “title” section into table of contents?

I'm trying the following code: \setuphead[subject][incrementnumber=yes, number=no] \setuphead[title][incrementnumber=yes, number=no] \setupcombinedlist[content][list={title,subject}] \starttext ...
1
vote
2answers
67 views

Add custom entry to \lstlistoflistings

I am using the listings package for code listings. I am using \lstlistoflistings to generate a list of code listings. I have one code 'pretend' listing which is actually plain latex code, however, ...
1
vote
0answers
38 views

Listing caption numbers are reverse in the list of listings [closed]

Consider the following code: \documentclass[a4paper,10pt]{book} \usepackage{listings} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \DefaultMathsDigits ...
1
vote
1answer
91 views

Duplicate entry on toc when using lstlistoflistings [closed]

Hi i am making my thesis on latex and i have write some code examples using the lstlisting package. Then i have used the command \lstlistoflistings to add all the example at the beginning of my ...
7
votes
2answers
39 views

Adding the preface to contents

I'm trying to add the preface to the contents along with the page on the far right. I had written it as following: \chapter*{Preface} but it does not appear on the contents. If I write it as ...