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

1
vote
1answer
70 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
1answer
134 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
168 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
63 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
341 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
153 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
51 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
45 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
80 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
57 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
90 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
36 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
37 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
25 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
117 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
66 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
101 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
156 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
87 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
51 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
168 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
103 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
86 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
67 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
99 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
114 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
113 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
57 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
50 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
42 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
74 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
46 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
69 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
61 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
83 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
51 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
126 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
45 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 ...
2
votes
0answers
62 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 ...
4
votes
1answer
84 views

Automatically adjust colour of current part when displaying local table of contents

I produce course books on a photocopier. However, the photocopier can staple no more than 50 sheets in a booklet, and I don't always write later parts of the books in advance of the start date of the ...
11
votes
2answers
291 views

Surtitle for section?

I'm writing a book in which I would like certain sections to have a "surtitle" like this: I would probably like the table of contents entry to look like "Science and Society: The Galileo Affair," ...
4
votes
1answer
114 views

Chapters without dots in ToC

I've used this code \addtocontents{toc}{\cftpagenumbersoff{chapter}} to remove the dots and page numbers after the entries in my ToC for all chapters. Is there a way to do this just for an ...
0
votes
0answers
63 views

Toc, Bibliography, Indexes and dots

I have to add to the ToC the Bibliography and the Indexes (e. g., the Author index) in such a way that they have the same style of a Chapter without the Chapter number. In particular, I need to add ...
4
votes
2answers
152 views

Error when writing the chapter number fifteen of the appendices (the letter ñ in the Spanish alphabet), when using the babel package spanish

I am currently doing a very long document in LaTeX (my thesis), and the structure of the document I'm writing the number Appendix fifteen, but as we know in Spanish the number letter fifteen is the ñ, ...
1
vote
2answers
93 views

Override page number in TOC because link goes to wrong page

I have an issue where my TOC declares my document's glossary on page xiv when the actual list of abbreviations starts on page xiii and ends on page xiv. The relevant part of the TOC is as follows: ...
2
votes
1answer
70 views

Adding headings in contents causes links to wrong page

I have a document with a standard TOC generated automatically by pdflatex but by default this TOC does not include lists of figures, tables and the bibliography. So I am trying to force these ...
4
votes
1answer
168 views

Typesetting scenes in a novel

I am typesetting a novel in ConTeXt and I need a way to correctly typeset scenes. A scene in my novel is just a sequence of paragraphs separated from the previous one by two blank lines (though in the ...
4
votes
2answers
109 views

Explanation of the usage of a particular new command to personalize it

A guy had a problem personalizing his ToC, and you helped him suggesting to use this lines: \newcommand{\mychapter}[2]{ \setcounter{chapter}{#1} \setcounter{section}{0} \chapter*{#2} ...
2
votes
0answers
145 views

LOF and LOT customization in memoir

I am attempting to add LOF and LOT to my current document using the memoir class. When I try to remove the spacing above the LOF and LOT titles, I get the "Undefined control sequence. ...