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

3
votes
1answer
23 views

For a report, in my TOC, how can I keep a period after my chapter number but not after my appendix character?

Here is my minimum working example: \documentclass[12pt]{report} \usepackage{tocloft} \usepackage{etoolbox} \usepackage{tocvsec2} \usepackage[titletoc]{appendix} \begin{document} ...
2
votes
1answer
44 views

Add dot to part number in ToC using tocstyle

I had a previous question on how to add dots in ToC using tocstyle package: Add a dot after chapter and section/figure/table number in ToC/LoF/LoT using tocstyle. However the dot is not applied to ...
3
votes
1answer
47 views

How do I prevent the section heading from printing 3 times in the ToC

I used the code from Cross-referencing to included PDF with counter and argument in the label and also from Bates numbering of multiple pdfs with label reference to the page numbers. In my quest for ...
1
vote
0answers
14 views

I need to insert the References chapter on my table of contents? [duplicate]

I'm finishing a document, so I'm not able to insert the chapter called "References" on my table of contents... Is there a way to do this? I think it should be done when I defined "References" as a ...
2
votes
1answer
40 views

Why does my custom sectioning command crash on second run when using etoc?

Finally I have narrowed down the problem to a custom definition of a sectioning command using titlesec in explicit mode. I suspect it has something to do with me not providing an adequate counter for ...
2
votes
1answer
42 views

Space in ToC between frontmatter chapters and mainmatter chapters

I'm using the class memoir. I'm wondering if it's possible to have a ToC like this: Abstract ............................. i List of Figures ...................... iv List of Tables ...
3
votes
1answer
73 views

LaTeX document compiling in all capitals after table of contents

I'm trying to write my LaTex document. Up til now it was compiling fine. Now, after I add in \tableofcontents command, all pages after the Table of Contents are now in capital letters. I'm not sure ...
6
votes
2answers
45 views

Change Page Number Font Size, using {myheadings}?

I've a problem. When I use this command to set the font size of the page numbering ( \renewcommand*{\thepage}{\footnotesize\arabic{page}} ), all page numbers in TOC turns footnotesize too. How can I ...
2
votes
0answers
46 views

Table of Contents entry width [closed]

I am trying to break entries before the text runs into the page number column, right now I get this: Right now I have the following from a .cls file: \renewenvironment{thebibliography}[1] ...
1
vote
3answers
108 views

ToC Chapter alignment conflict with titlesec

I need all the numbering aligned left, sections and subsections slightly (0 or 2pt maybe?) on the right of chapter. Chapter and section all caps. The screenshot will explain better what I need: ...
2
votes
1answer
85 views

Revert classfile changes without changing the class?

I am trying to add dots between the sections and the pages in my table of contents without using the package tocloft, since it moved my title from its original position. Right now it looks like this: ...
1
vote
1answer
100 views

Doubts sectioning a book

I have a book divided into chapters and I need to have some pages in the beginning, like a page with the title and so on. Book title and author (one page) Credits (after the title page) Dedicatory ...
3
votes
2answers
125 views

Add a dot after chapter and section/figure/table number in ToC/LoF/LoT using tocstyle

I am using package tocstyle package to format my ToC/LoF/LoT lists. I saw already some answers using other packages, but none with tocstyle. And the use of tocstyle is "mandatory". I want to have a ...
0
votes
0answers
29 views

beamer: make TOC links point to section toc generated with AtBeginSection

I have a beamer presentation and use AtBeginSection to repeat the TOC but with the subsections of the current section. In the main TOC no subsections are shown. When I press a section in the main TOC ...
1
vote
2answers
63 views

Proper custom PDF bookmarks with changed page numeration

I have following code in which I use custom heading to: Create TOC entry Create custom bookmark And I want first PDF bookmark to point to TOC page. Since \addcontentsline{toc}{chapter}{#1} ...
1
vote
1answer
50 views

Correct hierarchy levels of PDF bookmarks for custom section \subsubsubsection

I had to to define a \subsubsubsection for a technical document (I know it is highly criticised). I believe I inspired myself from this alternative answer to How to add an extra level of sections with ...
2
votes
1answer
46 views

Changing “Chapter A” to “Appendix A” in TOC

I am trying to display the appendix in my thesis TOC as Appendix A instead of Chapter A using our university's class file 'kfupm_thesis.cls'. The same question was asked and answered ...
3
votes
1answer
74 views

Fix “CONTENTS” in header using etoc

I use etoc package for local TOCs to be inserted after each chaper title via \localtableofcontents command. It works fine, but it changes all chapter titles in headers into "CONTENTS" title. However ...
2
votes
0answers
34 views

How to represent table of contents in a table via LyX [duplicate]

I am in need of urgent help regarding formatting the table of contents in Latex. In the thesis preparation guidelines provided by our university, the table of contents, list of figures and list of ...
3
votes
1answer
39 views

Changing content of variables in toc (in ConTeXt): nested \def s

I try to define a "variable" for a category. Using it for the first time, the value should be reset until it is set again. This is the desired output: Fruit: Apricot (also in category) Banana (also ...
6
votes
2answers
108 views

Adding some text in the page containing the table of contents

How to add some text somewhere (middle and at a given distance say 3cm above of the beginning of the table of contents) at the top of the page containing the Table of contents? Something like the ...
1
vote
1answer
86 views

Start section numbering after contents, figures and tables lists

I'm using the article class for a PhD thesis. I want the section numbering to start after my lists at the beginning of the document, including the table of contents itself (generated in the usual ...
1
vote
1answer
53 views

add dots to list of tables in contents and add contents to contents itself

I have two question regarding toc in book class. First, I added list of table to contents using: \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{\listtablename} It appears in ...
2
votes
3answers
135 views

Help creating Table of Contents

I have a few problems that I have no clue how to solve though. How would I make each of the subsections have bullets instead of being numbered, also how would I change the sections to not being ...
3
votes
2answers
102 views

Modification of appendix entries in ToC (KOMA-Script)

there! I've got a few questions concerning my appendix entries in the ToC. Four questions: As you can see in the attached picture, I want the page numbers for each appendix entry to be not bold, ...
2
votes
1answer
65 views

Problem with toc and chapter commands using Greek letters

I am having a problem trying to use xgreek with chapters name and toc. For some weird reason, before formatting my pc, everything was working fine. But now, when i try to compile my report i get ...
4
votes
2answers
58 views

Hide some text without hiding it from the table of contents?

I know what I am trying to do could sound contrived. However, I am just writing my thesis. I am the beginning of the work, so I started writing down my table of contents, so as to provide a ...
1
vote
1answer
62 views

List of Figures and List of Listings unequal heading margins

I am currently using the scrreprt documentclass for my reports. With my current template the List of Figures and List of Listings are shown on two subsequent pages. I realized that the heading "List ...
12
votes
3answers
606 views

Mimicking LaTeX's “table of contents” functionality [closed]

I need to mimic (= duplicate) LaTeX's "table of contents" functionality on a lower level. Basically, I would like to learn how to write entries to the .aux file on the first run of LaTeX and include ...
5
votes
1answer
60 views

Use of bera writes into margin

If I use the bera font in the following example, the table of contents is partially written into the margin. If I remove bera the resulting PDF is fine. What is the best way to solve this? ...
0
votes
1answer
39 views

Conflict between settings when using tocloft to format TOC

I have two issues in a book I'm preparing: In the case of double-double-digit section numbers, the TOC doesn't leave enough space between the numbers and the title. In fact, they can overlap. I ...
2
votes
1answer
62 views

Why acronym appears under glossary?

Here is minimum working example: % arara: pdflatex: {action: nonstopmode} % !arara: makeindex % arara: bibtex % arara: makeglossaries % arara: pdflatex: {action: nonstopmode} % arara: pdflatex: ...
3
votes
1answer
92 views

How to include front matter in Table of Contents while using section*{}

The issue is my formatting is set up in a way to state "Chapter [#]: [Section Title]", however because I do not want my abstract, table of contents, etc, to be "Chapter 1: Abstract", I used ...
6
votes
3answers
123 views

Selective and bunched entries to list of figures

I have a complex document with a few thousand figures (most of which are slight variants, but a few are key). I would like to produce a list of figures (lof) which only includes individual figures ...
1
vote
1answer
29 views

how to keep subsections in the below code

\begin{enumerate} \item Introduction \hfill 1 \item Literature Survey \hfill 5 \item Objectives \hfill 7 \item Equipment and Apparatus Required \hfill 15 \end{enumerate}
1
vote
1answer
38 views

table of contents showing the title as only entry (laTeX )

can you help me understand what's wrong with my tex file ? i've recompiled multiple times but the table results still empty... \RequirePackage{amsmath} \documentclass{llncs} \usepackage[T1]{fontenc} ...
1
vote
4answers
99 views

How do I make the word 'contents' central when using \tableofcontents?

How do I make the word 'contents' central when using \tableofcontents? I am using \usepackage{fancyhdr} and it does not seem to work when I try something like \renewcommand{\contentsname}{\centering ...
2
votes
2answers
62 views

Remove \listoffigures and \listoftables from Table of Contents in mwcls

I've been trying out the mwcls classes (mwarticle, mwrep, mwbk), which seem to have a quite Spartan, but nevertheless pleasant, design overall. But I can't figure out how to remove \listoffigures and ...
1
vote
2answers
85 views

How can I add a dotted horizontal line for a section on my content page?

I would like to add a dotted line after my "List of Figures" , "List of Tables" , "Discussion" , "Conclusion"... like there is for subsections 1.1. How can I achieve this? My code for for the table ...
2
votes
1answer
42 views

Appendices appear in sub-toc of previous chapter

I want to have a sub table of contents at the head of each chapter. I did this by using the titletoc package and redefining chapter. This works fine in the main matter, but when I add appendices, the ...
1
vote
0answers
9 views

Garbled entries on list of figures using subfloat [duplicate]

MWE: \documentclass[english]{scrbook} \usepackage{graphicx} \usepackage{subfig} \usepackage{babel} \begin{document} \listoffigures \begin{figure} \subfloat[Figure ...
0
votes
0answers
26 views

Own “Table of” increase space between section number and text beginning

in following question is a "Table of equations" I implemented. Remove vertical space between title and first line of own "table of" But unfortunately the space between the section number and ...
0
votes
0answers
27 views

chapter number 0 shows in the List of Figures and Nomenclature page head

I am kind of new with Latex. Right now I have a problem with my page header. There is a '0'shows in from of my List of Figures or Nomenclature. \newpage \tableofcontents \thispagestyle{empty} ...
1
vote
2answers
34 views

Can you reference the first entry inside the Table of Contents as the Table of Contents?

This question is similar to his question. I made a Table of Contents which doesn't reference the Table of Contents as the first entry. \documentclass[12pt,a4paper]{report} ...
0
votes
0answers
18 views

Put a word before each element in list of algorithm [duplicate]

I am trying to do a list of algorithms equal to a list of figures in my thesis. I am using the tip from Adjust Format of List of Algorithms to patch the list of algorithms. However, now I need to add ...
1
vote
0answers
97 views

Problem with list of algorithms using algorithm2e and classicthesis

I am using classicthesis to write my master thesis. I use the algorithm2e package to write down my algorithms. The problem I face is related to the table of content. For tables, contents, figures ...
2
votes
2answers
124 views

How to prepare table of content in the given format?

I am new in latex I need your help to prepare table of content which is in the given format Please help me how to prepare in the particular format Here my solution is there whatever I tried ...
1
vote
1answer
40 views

Conditional list of tables in LaTex [duplicate]

List of Tables can be obtained by using listoftables commands. I wonder how to skip listoftables output if the document doesn't contain any table. Thanks \documentclass[11pt]{article} ...
2
votes
1answer
76 views

Problem with classicthesis tables numeration

I am using classicthesis to write my thesis. I encounter this problem: my tables are numerated starting from 2. Also in the List of Tables, tables are listed from Table 2. I have checked if there are ...
1
vote
1answer
62 views

Table of contents: Chapters side-by-side in toc

The following code is adapted from here The idea is to create a book with two parts (containing problems and solutions) which have equal (numbered) chapter and (unnumbered) section headings. In order ...