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

1
vote
1answer
31 views

Patching \l@part macro for TOC view

I have patched the standard book class macro \l@part for desirable view. I wish to add some word to the place (in code below) if macro \part unstarred, and do not add anything, if \part* . It is ...
2
votes
1answer
36 views

How to delete a “chapter” in ToC which comes from \printpagenotes

So I have a document in memoir that uses both footnotes and endnotes. The endnotes are generated through the \makepagenote preamble, and \printpagenotes The problem is that in the ToC, and the ...
1
vote
1answer
68 views

align numbers in table of contents to the right

i am using http://www.ctan.org/tex-archive/macros/latex/contrib/arsclassica/ as a template. how can i align the page numbers in the table of contents? as i am not familiar with the commands in ...
3
votes
2answers
70 views

Why does pdflatex write to toc-file \cyr-commands even with utf8 document encoding?

Why does pdflatex (but not lualatex) write to toc-file \cyr-commands even with utf8 document encoding instead of normal cyrillic letters? How to prevent it? I interested in solution with redefining ...
2
votes
2answers
66 views

How to recreate the dotted line from the ToC?

Is there a command to draw a dotted line like the one in the table of contents? I used \dotfill but this creates a row with a different spacing between the dots. The dotted lines on top were ...
1
vote
1answer
59 views

Appendix titles not aligned in TOC

I have a problem with the placement of Appendix titles in the TOC. I use the appendix package with titletoc option. The following code \documentclass{scrreprt} \usepackage[utf8]{inputenc} \...
1
vote
1answer
37 views

Add a summary to the pdf writer

In some of the books that I have read, in any pdf viewer, there is some kind of tab where i can see the summary of the document, and I can jump to any part (chapter/section) of the document by just ...
0
votes
1answer
28 views

Remove TOC removes pagestyling from other pages

I don't want a toc in my document so I have removed by setting the command to empty like this: \renewcommand{\tableofcontents}{} This removes the toc perfectly but it also seems to mess with my ...
1
vote
1answer
91 views

My personal TOC

I have read about this: Pretty table of contents Can someone tell me how to do that circle for my \part? I tried to copy some code but obviously did not work. \documentclass[twoside]{book} \...
3
votes
3answers
168 views

Small caps/small letters for TOC page numbering

I use both Arabic (1, 2, ...) and Roman page numbering (I, II, ...) in my document. However the normal Roman figures look too dominant in the table of contents (e.g. XXVIII). The lower-case Roman ...
2
votes
1answer
62 views

List of listings name in header

I have a two-sided book document and want to format the header such that the chapter name is on the outer part. Everything works fine, but one thing annoys me. I have some source code listings (...
3
votes
1answer
48 views

Customize toc so chapters are in several columns but parts aren't

I am using the book document class and I would like my customize my toc to look something like this: Lessons are actually chapters, renamed via: \renewcommand{\chaptername}{Lesson} They do not ...
3
votes
1answer
23 views

pausesubsections causes also subsubsections to be paused

I'm creating a longer presentation using beamer and I'm using 'evil' subsubsections. I'm using the pausesubsections option for the tableofcontents. The problem is that not only the subsections get ...
2
votes
1answer
49 views

Removing numbering everywhere except table of contents

What I essentially want to do is to remove numbering of sections everywhere(primarily, the header and in the main body) except the table of contents so that sections are numbered there but my left ...
4
votes
1answer
59 views

Two column layout with bilingual two tables of contents for each language

Using texlive on Debian Jessie I am writing my application for a position and would like to include versions of the content in both German and English. I would like to have a page right after the ...
1
vote
2answers
56 views

section to tableofcontents update

I'm using the following structure: \section[short chapter]{my long long long long section} I would like to use the long section name in my table of contents, because the short chapter is now used ...
0
votes
1answer
78 views

TOC Indent CHAPTER past PART

I'd like to figure out how to indent Chapters in my TOC past the Parts headings. I'd like to do this to improve legibility. This is how my document is laid out in main.tex \documentclass[oneside,11pt,...
2
votes
0answers
61 views

Table of contents and references not aligning to margin [closed]

For my dissertation I have to alter the margins (to allow for binding) which I have successfully done using the geometry package. My problem is that my ToC and references have not moved. What I have ...
2
votes
1answer
50 views

Rename command for Chapter

Since, I have not so many days to submit my master report, I need a pratical solution for the following problem. Although in my table of content Bibliography seems so good. However in the Chapter page ...
0
votes
1answer
118 views

Modifying spacing in the list of figures

I am having difficulties with some line spacing in my list of figures. I am writing a thesis and the requirements for the list of figures table is to have double spacing between entries. If an entry ...
1
vote
1answer
55 views

Problem Hyperref Coloring Only TOC

I would like to use the hypperref to create blue links for only toc sections and subsections. \documentclass[12pt,oneside]{book} \usepackage{amsmath,amssymb,amsthm,amstext,amscd,amsfonts,amsbsy,...
2
votes
1answer
33 views

How to remove the tab from the listofalgorithms (ToA)

How can I remove the tab from the \listofalgorithms so that it always starts without indent? \documentclass[12pt,a4paper,twoside]{book} \usepackage{algorithm} \usepackage{algorithmic} \begin{...
1
vote
1answer
141 views

Problem with Table of Contents and Chapter on Introduction

I am currently writing my final master thesis in tex. I am stuck up in the following place. Firstly I have a chapter called Introduction which is not numbered. In the table of contents page, the ...
0
votes
1answer
36 views

section title is printed out over section number (both TOC and minitoc)

I want to change the chaptername to something like Test Chapter, and Section to Test Section. Problem is, in the Table of Contents, the section title My first section is printed out over the Test ...
1
vote
0answers
70 views

Titletoc / Titlesec numbers overlap text

Pretty simple problem, I have part numbers included in my section and subsection numbers, and I want to increase the space after the numbers, preferably without screwing up the rest of the alignment. ...
1
vote
1answer
43 views

Problem with inserting “page” in Glossary

I read this question to insert "Page" before the occurencing page of a Glossary Entry. I tried the proposed solution, which rely on the following code : \renewcommand{\glsnumberformat}[1]{% (\...
0
votes
1answer
46 views

Adding a line in toc without a page number in latex

Inside the table of contents of a latex book, I wish to add a few centered horizontal lines, just for typographic clarity (grouping chapters together). If I very naively write something like: \...
0
votes
1answer
125 views

How to create a numbering of the sections and subsections in beamer 1. 1a 1b

How to create a numbering of the sections and subsections in beamer 1. 1a 1b etc. in the frame and in table of contents? I want change numbering to something like that: First 1a 1b Second 2a 2b ...
2
votes
1answer
39 views

How to link to sections in a LaTeX document from a picture in the table of contents

I am trying to use work from this answer and this answer to create something that looks similar to the following: However, I would like to be able to actually link to the sections in the document ...
1
vote
1answer
79 views

Uppercase, italics and hyperlinks in toc of scrartcl without using tocstyle

The table of contents in my document looks like this at the moment: This is exactly how it should look like (with hyperlinks) - there is one problem, though. I only got this restult by using the ...
1
vote
1answer
36 views

List of Figures, List of tables in toc

I'm using the book class, and I can't display the List of Figures and the List of Tables in the table of contents. Is it automatic, or should I force them with \addcontentsline{toc}{chapter}{List of ...
1
vote
1answer
44 views

Automatically coloring entries in toc if they contain only default images

Introduction I am working on a document with many images named in it. These images get inserted into the .pdf if they are located at the folder I told LaTeX to look in. If there is no such image it ...
3
votes
1answer
63 views

Coloring toc page numbers

I'm using book class and I'm trying to achieve a toc which titles and page numbers are all clickable and hyperlinked to their corresponding sections, but with the characteristic that the page numbers ...
1
vote
2answers
39 views

Removing 0 from Table of Contents

I'm trying to create fancy chapter headers using KOMA-Script, and one thing that I've noticed is that the table of contents is always numbered 0 because I'm accessing the chapter counter. Is there a ...
3
votes
3answers
98 views

Removing number on ToC, but maintaining the position of the text

I am trying to remove the numbering on the table of content (and on the section too) but maintaining the position of the name of the section, like in following the figure: And then it would looks ...
2
votes
1answer
52 views

Using full names of chapters in table of contents

I have \chapter[short title]{long title} because "long title" is too long for a header. However, I want to use "long title" in the table of contents. How can I do this? I'm using report class. Here ...
1
vote
1answer
25 views

Specify level of contents table

I my document I have several chapters with sections and subsections. In the generated contents table, it would look like 1. Chapter 1.1 Section 1.1.1 Subsection 1.1.2 Subsection 2. Chapter 2.1 ...
1
vote
1answer
44 views

Clicking Index in table of contents gets last chapter instead of Index

Here is a minimum working example: % !TEX TS-program = pdflatexmk \documentclass{book} \usepackage{xcolor} \usepackage{makeidx} \usepackage{hyperref} \hypersetup{colorlinks,linkcolor={red!50!...
2
votes
1answer
89 views

Beamer table of contents with first section shaded

I'm making a beamer presentation and I would like the table of contents to start with all the sections shaded, rather than with the first section already highlighted and subsequent sections shaded, ...
3
votes
2answers
169 views

Roman page numbers before table of contents which also appear in it

I guess I have a kinda specific questions. I'm writing my bachelor report using LaTeX using the scrreport class, and I want the pages before the first chapter to have roman page numbers. Beginning ...
0
votes
2answers
80 views

Problems after adding starred sections headings in table of contents

My document has both starred and non-starred version of section, and I want to add both types to my table of contents. I am using titletoc and I tried to solve it as follows: \titleformat{\section}[...
0
votes
0answers
27 views

The bottom margin of the first page of the table of content is below 1 inch line [closed]

I use the Latex to generate my dissertation. All the pages fit the requirement, except the first page of the table of content. I have to insert the following code before the page of content to ensure ...
4
votes
4answers
134 views

Excluding subsection from toc but allow proper referencing

I am involved in the later stages of a big project, in which we use the following \tocless command to exclude specific subsections from appearing in the table of contents: \newcommand{\nocontentsline}...
1
vote
0answers
33 views

ToC page number manual update [closed]

I need to change the toc page numbers. But I can't to do that \makeatletter \pagenumbering{arabic} \addcontentsline{toc}{chapter}{Part One\enspace Acoustic remote sensing for the lower atmosphere (...
0
votes
1answer
35 views

Incomplete entries in TOC in editor

I am using winedt for MikTex. Problem is that I can't see the section headings in the tree browser on the left window of Windedt. However, they do appear in PDF afterwards. Here is MWE. \...
1
vote
1answer
51 views

Make a csvsimple longtable appear on the list of tables

My question is somewhat related to my previous one (See Underfull \hbox warning about alignement in a csvsimple table I need to add a caption to a csvsimple-generated longtable, but if I enclose my ...
0
votes
0answers
48 views

Redefine section command to show its title only in the table of contents

I am typesetting a novel using the memoir class and I have a question about sectioning. memoir has anonymous breaks to break a chapter into scenes, but these anonymous breaks are not real (or seem ...
0
votes
1answer
35 views

Word “content” appears twice

I have a document and in the first page I have a \tableofcontents, when I'm adding a header in this page word "content" appears also in header, how to avoid word "content" in the header? P.S: "...
2
votes
1answer
183 views

LaTeX list of figures/list of tables with KOMA-Script additions

I am pretty new to the wonderful world of LaTeX and I need your help. I want to add the prefix "Abb." to each entry of the list of figures, and the prefix "Tab." to each entry of the list of tables. ...
0
votes
0answers
53 views

Horizontal Alignment - Table of Contents

my current TOC is looking like this: The code: \documentclass[]{article} \usepackage[latin1]{inputenc} \usepackage{tocloft} \usepackage{titlesec} \setcounter{secnumdepth}{5} \setcounter{...