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

5
votes
1answer
36 views

Stop page break between title and contents

I am using the article class in LaTeX, and I want a page break between sections, so I added the following to the preamble: \usepackage{titlesec} \newcommand{\sectionbreak}{\clearpage} However, I ...
0
votes
0answers
37 views

Add custom logo before chapters with Pandoc

I want to add a custom image near my chapter headings (using the report documentclass). I want to get something like this: http://tex.stackexchange.com/a/124083/78981 but with the logo above the ...
3
votes
3answers
107 views

Adding a custom line to table of contents containing LaTeX code

I want to add a custom line to my table of contents. This custom line consists of two elements: an abbreviation and a title. The abbreviation may consist of anything between 1 and 3 characters, but ...
0
votes
0answers
11 views

How to arrange TOC with the following nested hierarchy? [duplicate]

I have a draft structured as follows. \documentclass{book} ... \begin{document} \frontmatter \input{preface} \addcontentsline{toc}{chapter}{Preface} \tableofcontents ...
1
vote
0answers
38 views

when using latex lstlistoflistings how can i have sections and subsections

currently one of my latex template file uses Listing Package then \begin{document} \listoffigures \lstlistoflistings [%- FOREACH item = items -%] [%- IF item.type == 'business' -%] % [% ...
2
votes
1answer
37 views

How to add “Appendix” as an ToC entry (documentclass: 'article') before the appendices without a pagenumber

I have tried to add "Appendix" in my ToC between the main work and my appendices. I also don't want any page number to be displayed for this ToC entry. So far I have managed to bodge in an entry ...
1
vote
0answers
33 views

Pausesubsections pauses even when there are none

I have started writing a beamer, and up until now everything was going fine (I only had 1 section with no subsection). Of course, I got to the point where I wanted to add another section, but with ...
3
votes
0answers
46 views

Beamer columns misaligned vertically

I'm trying to pu my beamer TOC on two columns and I have this problem. When I divide my page in two equal columns, the left column is vertically misaligned. \begin{frame}[plain] \frametitle{Le ...
2
votes
1answer
52 views

How can I put the section or chapter number in the section or chapter title

I am using the university thesis template which has the chapter/section headings setup in a way that prevents using hyperref. The problem is they use \setcounter{secnumdepth}{0} so there is no ...
0
votes
0answers
30 views

Figbib package: how to remove list of figures from table of contents?

I use the figbib package to include images in my document (https://www-alg.ist.hokudai.ac.jp/~jan/figbib_doc.pdf). \fbList{figures} is used to generate the list of figures. Apparently when using this ...
2
votes
2answers
78 views

book table of contents: avoid page breaks after parts

I have a book with three parts, each introduced with \part{}, and using custom part pages that add a graphic to the Part page. e.g., \part[Exploratory and Hypothesis-testing Methods]% {Exploratory ...
2
votes
2answers
82 views

Rename last chapter to epilogue,

First of all: I read through many possible solutions here, but none seem to work for me. I want to rename the last chapter of a book to be named "Epilogue" in the ToC and for all similar purposes AND ...
2
votes
1answer
29 views

How to get headings at top of the List of figure and list of table

I am writing my report. I am using following codes. \documentclass{report} \usepackage{chngcntr,tocloft} \counterwithin*{figure}{section} \counterwithin*{figure}{subsection} ...
1
vote
1answer
44 views

How to create a custom “short” table of contents

I'm very new to Latex and I need to make two table of contents, one in the beginning and one in the end. The one in the end should be very detailed and the one in the beginning should just be a ...
0
votes
0answers
8 views

Text Runs Together in TOC [duplicate]

I have a problem in my TOC when subsections run to double digits. See the image here for an example: Is there some way to fix this?
0
votes
2answers
41 views

How to create a table with table of contents like attributes?

Is there a simple way to create a table of contents like table? In detail i want the same layout like the toc, the same width and especially the filling of the white space with dots, but with a ...
1
vote
1answer
32 views

How can I change toc font when using abntex2 template?

I am trying to change the font of my toc, I already searched a lot, and I found many ways, but it didn't work for me. I want to change the actual font to Times New Roman. Somebody could help me? I ...
3
votes
1answer
51 views

How to Remove the Self adding TOC and still keeping the \hyperef to the TOC?

Hey anyone know how to keep the link to TOC due to \hyperref but still be using something like \tabelofcontents* og \keepFromToc to hide the TOC link in the table of contents. First time asking here ...
1
vote
1answer
18 views

latex ToC chapter numbers are not shown

I'm working on my BSc Thesis an the Table of Contents shows a strange behaviour. I created chapters with this command: \chapter{Prototypen} \label{chp:Prototypen} blah blah blah And in my main ...
0
votes
1answer
48 views

How can I get subtitles for chapter titles to appear in the ToC, but not in the page headers with arsclassica?

I only need the subtitles to appear in the ToC because the titles are too long. \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[italian]{babel} \usepackage{classicthesis,arsclassica} ...
5
votes
1answer
126 views

Table of Contents for poetry collection (ConTeXt)

I'm getting stumped about how to generate the ToC for this book. I'm about to give up and just do it by hand. The author wants to include a lot of structural information that isn't present in the ...
0
votes
0answers
23 views

Chapter without numeration, page break and included in table of contents

I work on my bachelor thesis and i have some issues. I need to make chapter "Introduction", that is not numbered, included in the table of contents and doesn't do page break. So on the same page ...
0
votes
1answer
24 views

Add line in list of figure

For my report I create a cover on illustrator with figures and I would like add line in list of figure to show source of that : \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} ...
2
votes
2answers
42 views

Change `lstlistoflistings` numbering

I'm using the listings package to format program code in LaTeX and the list of listings at the end is numbered like this: 3.1 Code A 3.2 Code B 3.3 Code C 4.1 Code D 4.2 Code E It starts the ...
1
vote
0answers
24 views

What is the typical location of Table of Contents in a typical TeX article? [closed]

I am doing a sample article to demonstrate my knowledge of (La)TeX in order to obtain corresponding credit, so there is not much context or meaningful content for the article except that I am doing it ...
4
votes
1answer
40 views

Remove the header in the Table of Contents

I am writing a maths book for A level students using the class book, and I am completely new to LaTeX, so please bear with me if this is trivial. I have written a simplified version of my code down ...
1
vote
0answers
14 views

How to get number of \listofXXX items [duplicate]

How can I find out if lists like \listoftables are empty? (I do have many similar documents and conditions, and would like to avoid printing empty headers only)
1
vote
0answers
75 views

LaTex decided to put two Abstracts in my content page suddenly! [closed]

Everything was going right until I got two abstract in my content page that both are referring to my abstract when pressed in the pdf. I have no idea why that happened. You have a clue? This is what ...
2
votes
3answers
47 views

Formatting TOC to ignore section and remove extra spaces

I want to format the TOC to ignore section and subsection since the chapters are all extremely small, and just list out the chapters without spaces between them. I can see the question: Format table ...
1
vote
2answers
43 views

Pre-expansion of moving macro argument

I am using databib package (datatool bundle) to get information out of a BibTeX database for arbitrary use in a LaTeX file. It provides a command to loop over the BibTeX entries. Within such a loop, ...
2
votes
2answers
46 views

“List of Lists,” similar to \listoftables or \listoffigures?

While this may seem kind of meta, I'd like some way to create a list of lists at the beginning of a document with labels for each list. Is this easily done? Currently my project is laid out like this: ...
7
votes
0answers
63 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 ...
3
votes
1answer
25 views

table of contents problem

I have the following code, the problem is that table of contents is not working, it does not use section titles as it should instead there is only a "Contents" title. How to fix that? ...
1
vote
1answer
30 views

Change ToC to \section instead of \chapter

I'm using the report class, and because of this, my table of contents is also displayed as a chapter (i.e. using a chapter heading for "Contents"). This is overly large, and just causes my ToC to wrap ...
2
votes
1answer
45 views

Table of contents not working

My document is failing to generate a table of contents. This is the latest MWE suggested by Nickie (perhaps messed up in translation, I don't know). When I compile this in TeXworks using pdflatex, ...
1
vote
1answer
108 views

Beamer: Show all previous \tableofcontents items and gray out future items. Also: Remove subsections from ToC and then fix distances between items

I want to present a ToC in Beamer which shows the previous items and grays out future items. I cannot quite get it to work however. Here is a MWA: \documentclass{beamer} \usetheme{Luebeck} ...
5
votes
1answer
80 views

Insert Table of Contents in chapter

Any idea of how to create a mini table of contents (TOC) in the beginning of a chapter? Not the ordinary TOC in the beginning of the report, but a mini TOC in the beginning of a chapter (like, ...
3
votes
1answer
38 views

list of figures for a single chapter

I want a list of figures for a single chapter (appendix a). \documentclass[11pt]{scrbook} \usepackage[ngerman]{babel} \usepackage{subcaption} \begin{document} \frontmatter \chapter{Front} ...
3
votes
1answer
101 views

How can change word `پیوست اول` to `پیوست آ` in table of contents

How can change word پیوست اول to پیوست آ in table of contents pay attention my minimal code. \documentclass{book} \usepackage{zref-perpage} \zmakeperpage{footnote} \usepackage{titlesec} ...
1
vote
2answers
35 views

Issue with the numbering in table of content

I have this numbering : I. Introduction I.1.blabla I.2.blablabla I would like to have it like this : I. Introduction 1.blabla 2.blablabla
0
votes
1answer
27 views

Is there a way to “align” text in a LaTeX report table of contents?

I'm using a LaTeX report style to construct a document. Each section has a title that begins with a date, like this: Sun Jan 11 2015 - A Sunny Day Wed Feb 4 2015 - A Rainy Day Thu Mar 5 2015 - A ...
1
vote
0answers
16 views

Deleting extra page when using ToC [duplicate]

How can I delete the extra page created when using table of contents? The page shows the name of the table of contents and the rest is empty.
1
vote
1answer
65 views

Replicate the following table of contents

I like the way the following table of contents was made: What's the way to generate such table? Ok, so I managed to do the following: \documentclass[11pt]{article} \usepackage[left=0.5cm, ...
1
vote
0answers
17 views

Include section in ToC of viewers, but not actually visible in document [duplicate]

I'm writing my thesis, and there are two sections that I do not wish to include in my table of contents: the abstract and the acknowledgements. Of course, LaTeX makes all the right choices for me, so ...
0
votes
0answers
29 views

Content of including PDFs [duplicate]

I have some little problem with my file. There are lot of included PDF files, without any \caption and \section. I need to create a table of content with these PDF files and function hyperref. Can ...
0
votes
0answers
12 views

How do I get rid of the red boxes [duplicate]

How do I get rid of the red boxes generated around the hyperlinks of cross-references, citation etc. It is also making the report dirty especially the 'table of content' part. Will it appear in the ...
1
vote
1answer
15 views

how to add figure numbers in listoffigures continously [duplicate]

I have used \listoffigures in my report and the list contains indexing like 2.1 if it belongs to chapter 2 first image and 5.4 for chapter 5 ,fourth image, how can I change this to continuous arabic ...
4
votes
1answer
49 views

Table of Content, indentation within long title

My question is similar to following one: Table of Contents: Nice Titles for Parts However, the solution didn't help me enough to resolve my problem. My question is: In the Table Of Content, I have a ...
1
vote
1answer
41 views

My table is coming above the title I want it to be

My code is something like this whereas the table is coming above the section "Work experience". \section{Work experience} \begin{table} \caption{Research Experience} \centering ...
1
vote
2answers
64 views

Table of Contents: Changing the formatting of specific Chapters (the Appendices)

Instead of my Appendix titles appearing in my Table of Contents formatted like the rest of my Chapters (I'm using the report class) I would prefer for them to appear in the same format as my Sections ...