Questions tagged [table-of-contents]

{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}, {tocbasic}, {minitoc} and {etoc}.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

adding one more figure with the exact same format causes unrecoverable latex error

If I try to add a figure to my appendix file, which already has 35 figures, latex returns multiple errors like Extra \endcsname etc. I made sure that everything is perfectly fine with my figure. \...
1
vote
1answer
13 views

retaining \listoffigures and \listoftables in \tableofcontents when they are controlled by tocbasic

How can the List of Figures and List of Tables be included in the Table of Contents when they have been placed under the control of the tocbasic package? Ordinarily, these listings can be included by ...
0
votes
1answer
17 views

Problem: List of Abbreviation includes abbreviations from list of figures instead of main content

I am still learning latex. I want the list of abbreviations to include those abbreviations which first occur in the main content (start of the report) instead of abbreviations from the miscellaneous ...
3
votes
0answers
324 views

Overfull \vbox in list of figures since MiKTeX update

Since updating my MikTeX distribution, I am getting an overfull \vbox warning in the list of figures when the microtype package is loaded and the entry expands over more than a single line, as shown ...
-4
votes
0answers
52 views

How to eliminate =° from table of contents [closed]

I have a table of contents in my memoir book. I want to remove =° after the parts.
1
vote
0answers
20 views

How to format numbering of sections/subsections in titles and TOC in Beamer

I have some questions regarding formatting and numbering in Beamer. I have changed the section numbers to double digits, which looks something like this: 01 Section 1 01.01 Subsection 1 of section 1 ...
0
votes
0answers
27 views

tocloft package linking list of figure/tables to the wrong page

I am using Masters/Doctoral Thesis class, by Vel and Johannes Böttcher. I downloaded it from here: http://www.latextemplates.com/template/masters-doctoral-thesis The class has an option, liststotoc, ...
1
vote
2answers
22 views

Custom Header | Match Table of Contents Font Size with Fancy Header Font Size

Background I am creating a maths primer worksheet. I just need help with fancyhdr under % [ pkg - page format ] and \tableofcontents under % [ document ]. Here is an example: % [ file: maths-primer....
1
vote
1answer
27 views

How to show the \refstepcounter{figure} in list of figure

This is my latex document. The figure is inside the table environment, the figure shows a caption but the list of figures doesn't show. please anyone can explain what else can I do to correct \begin{...
1
vote
1answer
23 views

replicating the vertical spacing of \listoffigures in a custom list made with tocbasic

I have used tocbasic to create a custom environment. The appearance of this environment's listing, however, differs from the default listings (i.e., \listoffigures and \listoftables). Differences in ...
0
votes
1answer
25 views

When using notoccite vertical spacing in table of contents is increased. How do i solve this?

I used notoccite to remove the citation problems in the sorting of references, however this messed up my spacing in the table of contents. Now it's like there is more than doublespacing active. \...
1
vote
1answer
48 views

adding custom list to table of contents

How can a list for a custom environment, created using KOMA script's \DeclareNewTOC, be included in the table of contents? In the example below, the 'List of Photos' does not appear in the table of ...
0
votes
1answer
22 views

Modify a .cls file to include page number at the bottom center of page

I have this .cls file to define master and PhD thesis. I want to make some changes: Change the position of page numbering to be at the bottom center. Currently, it is set at the top right of the page....
0
votes
2answers
54 views

Adding the word "Chapter" to the chapter in the TOC [duplicate]

I want to add the word "Chapter" before the chapter number in the TOC (keeping the code) as follows Table of contents Chapter 1: Chapter name and no as Table of contents 1 Chapter name How ...
1
vote
1answer
46 views

Cross references inside a figure caption. EDIT: What to do when the caption includes a ]?

I am writing my dissertation in overleaf, and I am borrowing a series of figures from different publications. In each relevant figure caption, I have the citation followed by the text "...
0
votes
1answer
31 views

minitoc at beginning of every chapter

I want to have a mini table of contents for the current chapter appear just after the chapter name listing all sections of that chapter. I do this command before th begin of the document : \usepackage{...
1
vote
2answers
38 views

Remove space between header and title of listoffigures and listoftables

Stuck with my last problem: At the end of my document, I'm adding listoffigures and listoftables. As I both want them to be on a new page, I've realized that these are not behave like other chapters ...
0
votes
2answers
29 views

How to remove the page number(s) of one section (and its subsections) from ToC of article document?

I want to remove page numbers of the last section and its subsections from an article document's table of contents. I have gone through several questions and answers about this topic and ended up ...
0
votes
1answer
15 views

Links in toc link to roman instead of arabic numbers [duplicate]

I have a LaTeX document where I first have the list of tables and figures etc. and then the normal chapters. The lists are numbered with roman numbers, the chapters with arabic numbers. The toc ...
1
vote
1answer
28 views

Alignment of bibliography and unnumbered chapters in table of contents

I have the following MWE in which I have a bibliography (using biblatex) and an ununmbered chapter that I want to have them aligned, in the table of contents, not with the chapter numbers, but with ...
0
votes
1answer
45 views

Change font for sections and subsections in toc and add dot line for chapters

I would like to alter my table of contents. The font of sections and subsections should be the same as the chapters (which is lmss). Chapters should have dotted lines too How do I remove the space ...
2
votes
1answer
35 views

Indent unnumbered sections in TOC for ams classes

I would like unnumbered sections (more specifically unnumbered subsubsections) to appear in the table of contents, indented to their appropriate depth (i.e. as if they were numbered). I am using the ...
0
votes
1answer
66 views

Formatting hanging indents(?) for list of figures, report class, with other detailed formatting for front matter, chapters, etc

I am creating a template for use in Report document class with pdfLaTeX compiler in Overleaf. The template specifications are specific for the agency, so there are a lot of specifications. The minimum ...
1
vote
1answer
28 views

Remove TOC and Bibliography Titles Chapter Numbers

I am using the report document class and I ran into a bit of a weird quirk. Both the TOC and Bibliography have a chapter number which is quite surprising. See the following MWE \documentclass{report} \...
0
votes
1answer
60 views

How to get a flexible left margin in the table of contents?

I'm aware that using package titletoc one can easily change the format of ToC. But, I'm wondering if there exist some solutions to make the left margin in ToC flexible. By "flexible", I mean ...
0
votes
1answer
31 views

break multicolumn into a whole line in toc

Hello there Im workin on an latex file where the toc is displayed in a multicols environment, there is a custom "part-like" element called sobpart that i want to break the two columns to ...
1
vote
1answer
22 views

List of Tables (LoT) showing up in Table of Contents but LoT is empty

I wanted to add the \listoffigures and \listoftables to my table of contents. I found this post where a user shared his/her code to add the \listoffigures. I implemented it and it worked as intendend. ...
1
vote
1answer
39 views

Getting added \dotfill dots to line up perfectly in ToC scrbook class

The ToC of the book I am preparing needs additional formatting. I'm working in the KOMA-script scrbook-class. The book contains a large number of lectures, which I treat as chapters, some of which end ...
0
votes
1answer
29 views

How to automatically reset counter for appendix for a custom TOC in koma-script?

I would like to use a custom TOC declared by the \DeclareNewTOC command. Unfortunately the counter created with it does not resets itself upon the appendix. While the counter within figure gets reset ...
1
vote
2answers
31 views

I have set a style of title using titlesec, however it has started displaying a "zero" on the table of contents page

I have set a title style using the titlesec package however this code now displays a zero next to the "contents" title on the table of contents page. How do I remove this ? I also would like ...
0
votes
1answer
29 views

hyperref links to the wrong page for List of Figures & List of Tables. All other links seem to be fine

\documentclass{article} \usepackage{amsmath} \usepackage[format=hang,labelsep=period,font={footnotesize},textfont={footnotesize},justification=justified]{caption} \usepackage[bookmarks=false,pdftex,...
0
votes
1answer
37 views

Unaligned dots in Table Of Contents

I have this code: \documentclass[11pt]{article} \usepackage[titles]{tocloft} \usepackage[title,titletoc]{appendix} \usepackage{titletoc} \usepackage{parskip} \usepackage{titlesec} \renewcommand{\...
0
votes
0answers
21 views

Use individual section names with tocloft

I am using tocloft to define a section name, which should be i.e EX. 1 \documentclass[12pt,a4paper]{article} \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\cftsecdotsep}} \renewcommand{...
2
votes
1answer
71 views

Is there a way to determine if the current page is odd or even inside the table of contents?

At some point in the table of contents I have to make a pagebreak if the current page is odd but not if it's even. I already have a command which I use in my document and it's working well. \...
0
votes
1answer
29 views

Wrong Bookmark Depth

Consider the following non-MWE: \documentclass{article} \usepackage[ hmargin = 2.4cm, vmargin = 3cm ]{geometry} \usepackage{tocloft} \usepackage{pdfpages} \usepackage{hyperref} \hypersetup{ ...
0
votes
1answer
24 views

How to remove the chapter number of the appendix and the literature chapter in toc?

I'm using the article class and I want to include my appendix and my literature chapter without numbering in my toc. My code looks like this: \documentclass[a4paper]{article} \usepackage[natbibapa]{...
0
votes
0answers
21 views

Twoside problem with long toc

I'm having a problem with my Table of Contents. I have many chapters so that the toc has a length of two sides and therefore a page break in between. I have declared the following document class: \...
0
votes
1answer
47 views

Design layout, abstract and table of contents numbering

I have problem with numbering the pages, the Zusammenfassung and Inhaltsverzeichnis should have the roman numbering on the bottom right, but there is non. See image: Plus, I want all my sections to ...
2
votes
1answer
40 views

Adding date column to Table of Contents in KOMA-script scrbook class

Since accepting Jasper Habicht's working answer to my earlier question, I have switched from standard book-class to KOMA-script's scrbook. I still need to add a specific column to my ToC, and the ...
0
votes
1answer
29 views

How to remove spaces between the items of table of contents?

I have compiled the following document. My attempt is as follows: \documentclass[oneside, 11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{...
4
votes
1answer
55 views

How to customize style of section and subsection numbers when used in headers?

TL;DR - Why am I getting errors with the last line of \usepackage{xstring} \renewcommand*{\thesection}{\alph{section})} \renewcommand*{\thesubsection}{\StrGobbleRight{\thesection}{1}.\roman{subsection}...
1
vote
1answer
24 views

Formatting appendices in TOC, report class, with other detailed formatting for chapters, etc

I am creating a template for use in Report document class with pdfLaTeX compiler in Overleaf. My last hiccup is getting the TOC for the appendices to look a specific way. I have a lot of specific ...
1
vote
1answer
41 views

TeX4ebook: weird ToC numbering

MSE: \documentclass{amsart} \begin{document} \title{Test} \author{Anonymous} \date{} \maketitle \setcounter{tocdepth}{1} \tableofcontents \section{Test A} \section{Test B} \subsection{Test Ba} \...
2
votes
1answer
52 views

Adding date column to table of contents

The book I am republishing contains the transcriptions of lectures given at a certain date. In the table of content, I need an additional column after the title of the lecture (chapter title), where ...
1
vote
2answers
31 views

Report class formatting TOC. newbie questions

I am creating a template for use in Report document class with pdfLaTeX compiler in Overleaf. There are a lot of formatting details, but I think I have them all minimally reproduced in the code below. ...
1
vote
1answer
39 views

Duplicate entries in contents

I found a lot of questions with the same problem.But mine is a little different. \documentclass{report} \usepackage{titlesec} \begin{document} \tableofcontents \pagebreak \setcounter{chapter}{2} \...
3
votes
1answer
32 views

Sidecaption and capion text

I am using koma script with the sidenotes package. Can I redefine \sidecaption to get syntax \ caption [Text in list of figures] {Text next to the figure} Minimal example: \documentclass{scrbook} \...
1
vote
1answer
37 views

Set double spacing between the list figure captions

I am using a PhD thesis template define list of figures as following: %---------------------------------------------------------------------------------------- % CLASS OPTIONS %----------------------...
0
votes
0answers
122 views

Problem With Xtocinc.sty With Latest Miktex v4.4 Not Displaying Correctly Tableofcontents

Problem With Package Xtocinc.sty or Something Else Hello everyone here I have compiled a thesis file successfully in latex with latest Miktex console 4.4 but still not getting correct formatting in ...
0
votes
1answer
30 views

List of figures as a chapter

I am trying to generate a list of figures and tables. As they form part of the final part of my thesis, I want them as a chapter. Bibliography is A, Appendix is B and so on... I manage to delete the ...

1
2 3 4 5
127