{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
0answers
11 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
29 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
19 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
2answers
59 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
38 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
36 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
36 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
57 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
39 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
50 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 ...
0
votes
1answer
27 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} ...
0
votes
1answer
30 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
58 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
34 views

manual generated toc page with wraps an tab stops

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
50 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
40 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
36 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
15 views

Listing caption numbers are reverse in the list of listings

Consider the following code: \documentclass[a4paper,10pt]{book} \usepackage{listings} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \DefaultMathsDigits ...
1
vote
1answer
57 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
27 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
29 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
70 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
264 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
82 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
33 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 ...
0
votes
0answers
34 views

Error trying to add hyperref support for table of contents

I am trying to add hyperlinks to my table of contents in Lyx so I can easily navigate through my document. When I go to Document < Settings < PDF Properties and check the Use Hyperref Support ...
4
votes
2answers
91 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
53 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
26 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 ...
3
votes
1answer
101 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
95 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
55 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. ...
2
votes
1answer
54 views

How can I fix the following formatting problem with the table of contents?

I have a few unnumbered chapters that I would like to add to the table of contents. This is not a problem at the moment, because of someone graciously providing the following macro, which adds the ...
0
votes
0answers
41 views

Chapters with and without numbering together in the same table of contents

I am typesetting a novel in ConTeXt and though I have read as much documentation as possible, I still have doubts about how to do things in a clean and correct way. I typeset my chapters by using a ...
10
votes
2answers
190 views

How to make a local TOC that only shows levels below where it is inserted?

I simply want to make a local Table of Contents (TOC) which shows in its content what is below the level the TOC is inserted in and not outside. For example, if I do \minitoc inside \section{}, the ...
5
votes
1answer
57 views

Generate automatically a list of definitions (user-defined theorem environment) in appendix

In the following code, I define a theorem environment definition and write a figure and a definition: \documentclass[12pt]{book} \usepackage[francais, english]{babel} \usepackage{amsthm} ...
2
votes
0answers
48 views

thesis document class - \chapters stopped numbering randomly [closed]

I'm writing my thesis using a documentclass{thesis}. It is a template I downloaded (http://www.latextemplates.com/template/masters-doctoral-thesis) and the chapters are compiled using macros. ...
4
votes
1answer
36 views

Why doesn't nomenclature show up in TOC using this custom class?

Background: I'm trying to use a LaTeX class found HERE to create a thesis. The class has a scheme for enabling/disabling the creation of a "List of Symbols" using LaTeX's nomenclature package. When I ...
5
votes
1answer
71 views

Changing the default name of chapters and appendixes in table of contents

I want to add the part before number of chapters and add attachment before number of appendixes in my table of contents. I use this code \documentclass{report} \usepackage[titles]{tocloft} ...
3
votes
1answer
95 views

Customize part in TOC by titletoc

I want to represent the \part in the TOC as on the figure below: The problem is the \part could be represented so simple as other headers. As you see in the MWE below, the \part design has been ...
1
vote
1answer
55 views

List of figure modified style

How can I change the style of list of figure to make it equal to table of contents as shown in the picture below ? I'm using \documentclass{article} and creating list of figure with code \listoffigure ...
2
votes
2answers
92 views

How to change locally titletoc

Please, consider this code \begin{filecontents*}{\jobname.bib} @book{ hoyningen:1993, author = "Hoyningen-Huene, Paul", title = "Recontructing Scientific Revolutions", ...
3
votes
1answer
40 views

How to specify bookmark and TOC title separately

I customize a dash symbol \newcommand{\shortdash}{\rule[.7ex]{0.5em}{0.5pt}} to minimize the space around when typesetting in non-english situation. When I used it in \section, it works in text and ...
0
votes
0answers
39 views

Editing standard sections

I'm quite new to LaTeX. In my document, I want to use \tableofcontents, \listoffigures, \listoftables and \bibliography. All of these generate a standard title in English (e.g. \tableofcontents ...
6
votes
1answer
263 views

Beautiful table of contents with hyperref

I really don't like the red box which indicates a link. I would like to have some filled rectangle rendered which shows up when someone hovers. Obviously before the text gets rendered as you cannot ...
1
vote
1answer
36 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
5
votes
1answer
48 views

How to apply Memoir manual's fix to allow \MakeTextUppercase in toc with hyperref

There is a known conflict between the memoir class and the hyperref package. hyperref cannot process Table of Contents headings that include the \MakeTextUppercase macro. The memoir manual (texdoc ...
2
votes
1answer
35 views

Combined list of tables and figures with separate numbering?

I would like to have a list of figures and tables, together, as in this question, except that figures and tables should still have separate numbering systems. For instance, to end up with List of ...
3
votes
1answer
67 views

How to add a TOC for each section and subsection before of each section in beamer? [duplicate]

At the beginning of each section I want to add a table of content without the subsections and a table of content with the subsections. What can I do?