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
0 answers
14 views

Spacing of Frontmatter Chapters in TOC

I am writing an article document, and the first four entries in this TOC are my frontmatter sections. How can I adjust the spacing between them into single spacing just like the spacing in the ...
Aldean Gem P. De Guzman's user avatar
0 votes
0 answers
16 views

Improving Arguelles, a beamer theme, section slides [duplicate]

I found a very neat beamer theme (Arguelles, https://github.com/piazzai/arguelles) however there are three things that I believe are troublesome with the theme. I am trying to improve them but I am ...
Cryme's user avatar
  • 731
1 vote
1 answer
19 views

How to get page numbers of Index and bibliography

Here is a skeleton .tex file for a book \documentclass[11pt,a4paper]{book} \usepackage{makeidx} \usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC \makeindex \begin{...
crayman9's user avatar
2 votes
1 answer
25 views

Spacing and punctuation problems when customizing the list of figures

I am required to modify the appearance of the list of figures and tables so that the indexed elements appear in the form: Figure X.X: Figure caption...... page (and the same with the tables). I'm ...
Aradnix's user avatar
  • 3,725
1 vote
1 answer
38 views

Changing the name of the table of contents

So I want to change the name of the toc from "Contents" to "Inhoudsopgave" I have already tried using a babel package and \renewcommand{\contentsname}{Inhoudsopgave} But neither ...
Jelle Lansbergen's user avatar
0 votes
1 answer
32 views

\section, \subsection-derived commands end up twice in TOC, along with some floating 1s

Update \documentclass{article} \newcounter{hoofdstuk} % Define hoofdstuk counter independently \newcounter{afdeling}[hoofdstuk] % Define afdeling counter within the hoofdstuk counter \...
BlueIris's user avatar
  • 339
3 votes
3 answers
159 views

`\settocdepth` followed by `\include` incorrect order in ToC file

I can use \settocdepth to change the depth of the ToC min-document. This works as expected in the MWE below when I comment out the \include statement. However, when the \settocdepth command is ...
Tommiie's user avatar
  • 526
0 votes
0 answers
55 views

Why picture appears above text even when I added it below the text [duplicate]

I wrote following code and I added picture below the text but it appeared above it. can anyone please suggest fixes, Thanks. \subsection{Bloch sphere} Bloch sphere is graphical representation of Qubit....
Shakeel Ur Rahman's user avatar
0 votes
1 answer
35 views

Space between parts and indices in KOMA script (in the TOC)

Consider the following code: \documentclass{scrbook} \begin{document} \frontmatter \tableofcontents \mainmatter \chapter{Introduction} \part{A} \chapter{First} \chapter{Second} \chapter{Third} \...
Pygmalion's user avatar
  • 6,295
0 votes
0 answers
22 views

Shifting the "Contents" heading to ensure that the distance between the top of the paper and the "Contents" heading is 2.5cm

In this minimum working example, I am trying to shift the "Contents" heading to ensure that the distance between the top of the paper and the "Contents" heading is 2.5cm. I want to ...
Abdulhafeez Ayinde Abdulsalam's user avatar
0 votes
2 answers
23 views

Chapter-like entries in TOC

I am working on a project which is based on a chapter of the Quran. Each so called chapter starts with a quote of a verse from the relevant chapter. I do not want any chapter headers or chapter ...
blackened's user avatar
  • 4,149
1 vote
1 answer
43 views

How to set the distance between the top of the page and the table of contents, list of figures and tables to 2.5cm

I tried using the following codes to set the distance between the top of the page and the table of contents, list of figures and tables to 2.5cm, but it fails to work. I need help with an adjustment ...
Abdulhafeez Ayinde Abdulsalam's user avatar
0 votes
0 answers
26 views

Getting rid of section header

I am using Scientific Workplace 4.1 and want headers for each section of a book. I put the following in the preamble: \thispagestyle{headings} \renewcommand{\sectionmark}[1]{\markright{#1}{}} \...
Alan Horwitz's user avatar
2 votes
2 answers
43 views

Color section entries in table of content corresponding to section numbers

I typeset a document where the color of the section headers changes periodically. I want to color the section entries in the toc as well matching with the colors of the corresponding sections. To get ...
complanar's user avatar
0 votes
1 answer
40 views

Error with tableofcontents while using ngerman in Markdown

I am new here and I need some help with my Markwodn document. I encoutered a nasty problem: When I try to knit my PDF, it gives me this error: tlmgr.pl: Remote database (revision 69711 of the texlive-...
Nepomuk's user avatar
  • 11
0 votes
0 answers
23 views

Table caption title's second line does not align with first line

I am trying to adjust the table caption to appear in the List of Tables index page. Below is the problem I am facing. I have the issue where the second line of table caption not aligning with first ...
Niranjan Ravi's user avatar
0 votes
0 answers
46 views

several table of contents

How does the code have to be edited if an external tex file is included (via \input)? The external file should have its own independent table of contents. \documentclass[a4paper]{article} % ...
nobody's user avatar
  • 1
1 vote
1 answer
40 views

Customize the toc in beamer

I want to create the following template for the \tableofcontents in beamer. I am able to generate the code for the list of sections and subsections with the following MWE \documentclass{beamer} \...
totallyimmersed9's user avatar
0 votes
0 answers
30 views

Making Table of Contents entries boldface

So far, I want to create this kind of Table of Contents for my research proposal: Sadly, all I have is this one: Here's my MWE: \documentclass[a4paper,12pt]{report} \usepackage{indentfirst} \...
Kenneth Ligutom's user avatar
0 votes
1 answer
72 views

Table of content inside tcolorbox

I am looking to implement a new tcolorbox, with a unique style for each page of my table of contents. The format I desire is such that each box is unbreakable, ensuring that a new box is started at ...
Jey's user avatar
  • 1
3 votes
1 answer
51 views

Table of contents : different page styles for first and subsequent pages

It's my first question. I read only answers and comments usually. Its work before =). So, question is how to use different styles for first and subsequent pages of TOC. I've written different styles ...
ZYRBAGAN's user avatar
0 votes
0 answers
9 views

In `titletoc` package, how to set the left margin in toc separately for numbered and unnumbered entries?

I am using titletoc to creat ToC, and for some reasons, I want the space from the left margin ⟨left⟩ to be set differently for numbered and unnumbered entries. However, the current syntax \...
Atom's user avatar
  • 635
0 votes
1 answer
39 views

Remove dotted leaders only for a particular .tex file in the TOC

I have .tex files for the first few section, for example, acknowledgement .tex file looks like this: \doublespacing \addcontentsline{toc}{section}{\numberline{}\hspace{-.35in}\vspace{0.15in}{\...
Jack's user avatar
  • 1
1 vote
0 answers
94 views

Bourbaki style book layout

I am trying to hone my layout skills, and what's better than trying to start by copying the Bourbaki style and then going up from there? Thus, I want to achieve the following chaptering and sectioning ...
Atom's user avatar
  • 635
1 vote
1 answer
47 views

How to get the correct numbered and unnumbered headings with automark from sections added automatically with tcolorbox and addcontentsline?

I want to know if there is a way to get the correct section mark automatically when adding sections with \addcontentsline (wrapped into a \newtcolorbox). I tried to add \chead{#2} in the title of the \...
SENTiNEL's user avatar
1 vote
0 answers
113 views

Index in Table of Contents Points to Bibliography

Because of utilizing xepersian package, I need to use makeidx package in order to produce an index for my book, which I have provided what I consider a minimally working example for it down below. My ...
mali1234's user avatar
  • 135
1 vote
1 answer
49 views

Prevent title page, preface etc from being listed in table of contents

I am producing a pdf in rmarkdown using the bookdown package. I have a .Rmd file that contains a title page, some acknowledgements etc. I then place my table of contents after these pages, and before ...
Mark Davies's user avatar
0 votes
0 answers
61 views

Tufte Book Clickable Table of Contents

This is my first time posting to this site so I apologize for any and all mistakes on my part. I am trying to write a document using the tufte-book document class. Specifically, I am using the ...
stowo's user avatar
  • 101
0 votes
0 answers
22 views

No page number for pdf appendix in toc

I'm writing my masterthesis and struggle with the pagenumbers of my appendix in the toc. How can the pagenumbers be removed just for the appendixes? The only appendices I have are included pdfs. It's ...
Carsten Hoffmann's user avatar
0 votes
1 answer
59 views

Any simpler solution to add horizontal lines above and below the: Table of Contents, List of Figures, List of Tables, List of Abbreviations?

I have refined but failed iterations regarding the same: \documentclass[a4paper,12pt]{report} \usepackage{graphicx} \usepackage{booktabs} \usepackage{blindtext} \begin{document} % For Content {\...
Kumar Gaurav Sagar's user avatar
0 votes
0 answers
19 views

How to change the position of a chapter heading amd remove a single section numbering?

I am trying to minimize the 'empty' space above the chapter heading and also remove the numbering from my 'Abstract' section (both in text and in the TOC) - so not for all sections ONLY this one. ...
user133467's user avatar
0 votes
0 answers
23 views

Dots in table of contents [duplicate]

I need dots between chapter titles and page numbers in TOC. By default part and chapter do not have dots... I tried to look at tocloft package but could not figure it out how to do it. Thanks \...
Haim's user avatar
  • 487
2 votes
1 answer
36 views

How to prefix and wrap title line text in a ToC (for chapters) in the book class? [duplicate]

I am searching for a way to include the text "Chapter" as a prefix to the chapter numbering in a ToC for a book class AND have the chapter title wrap to the left-most edge in the ToC listing....
Jeffrey J Weimer's user avatar
0 votes
0 answers
14 views

Customized section name superposing summary words [duplicate]

I have created a customized subsection name \renewcommand\thesubsection{Parte \Alph{subsection}.} But it is conflicting with the Table of Contents because "Parte" is too long, as below: ...
Caio Bianchi's user avatar
0 votes
1 answer
25 views

Paragraphs shown in TOC (documentclass scrbook) [duplicate]

I am trying to include paragraphs in my table of contents. I believe the reason ehy I did not find any solution yet is my documentclass: \documentclass[ a4paper, fontsize=12pt, openright, twoside, ...
Icestrike's user avatar
2 votes
2 answers
81 views

How to center align long titles that wrap in the TOC?

I have some section and subsection titles that span more than one line in my TOC. My TOC is center aligned but my titles that wrap aren't center aligning? \documentclass{memoir} \let\ordinal\relax % ...
buttonsrtoys's user avatar
0 votes
1 answer
34 views

How to improve the center alignment of my TOC?

I'm struggling with centering my sections and subsections to align to with my chapters. The chapters look like they are left of center (or everything else is right of center?). \documentclass{memoir} \...
buttonsrtoys's user avatar
1 vote
1 answer
74 views

Difficulty with `tableofcontents` and page-numbering

I'm writing my math thesis with Texmaker, but somehow my LaTeX codes fail to produce the PDF layout required by my school. Ideally, I'm hoping to achieve the following result: Please notice that this ...
Boar's user avatar
  • 199
0 votes
1 answer
45 views

Changing section name in table of contents

I used the code \usepackage{titlesec} \titleformat{\section}{\normalfont\Large\scshape}{Problem \# \thesection}{0em}{} and \section{} to create a section called ("Problem #"+section number)...
Stephanie Yao's user avatar
0 votes
1 answer
45 views

How to change the formatting (style) on the hierarchy of sections in latex document [duplicate]

I am trying to follow the formatting guide of my course. After trying to find some information on this, I have reached no solution. I would appreciate any and all help towards this. I am using the ...
OppositeDragon's user avatar
1 vote
0 answers
28 views

Printing toc/lof/lot/others

How can I print toc only if isn't empty? \documentclass{article} \begin{document} %if there is a section, toc will be printed, else it wont be \tableofcontents %\section%in this case it wont be ...
Leonidas's user avatar
0 votes
1 answer
24 views

Align bold numbers with roman ones in table of contents

General overview In TOC the page numbers of chapters (in bold) and section (in normal font) occur a ugly shift. I search a way to make them aligned. MWE Here is a MWE to reproduce this behavior: \...
fauve's user avatar
  • 2,499
0 votes
0 answers
30 views

How to add additional entries to PDF(-Viewer) TOC but not regular TOC [duplicate]

I'm creating a book'ish document using \phantomsection\addcontentsline... to add custom table-of-contents (TOC) entries. I'd like a few special entries to show up only in the PDF reader's TOC panel, ...
TeXter's user avatar
  • 1,902
0 votes
0 answers
72 views

How to generate TOC of examples with package etoc?

With package of etoc I can easily generate the list of chapters and sections using command \tableofcontents Also it can generate the list tables and figures with command \locallistoftables and \...
xaero's user avatar
  • 459
0 votes
1 answer
38 views

Left alignment of TOC numbers and Captions numbering in arabic

I nedd help to align TOC numbers to left and to change captions numbering to arabic not hindi like in the pictures. Thank you. \documentclass[a4paper, oneside, 11pt]{book} \usepackage[top=23mm,bottom=...
Daouha Poetry's user avatar
2 votes
3 answers
96 views

KOMA-Script TOC modification

By default, KOMA-Script composes headers using sans-serif. I would like to type them in a serif font, so I used: \addtokomafont{chapter}{\normalfont} This works, but I would like the label "...
ReRunner's user avatar
  • 371
2 votes
2 answers
112 views

My table of contents is weird

I doing a template which I use tocloft for summary title and titletoc for summary body. Well, I've just noticed that It isn't respecting the margin, so I dont know what to do now(find no error). Could ...
Leonidas's user avatar
0 votes
1 answer
57 views

Change figures list name and Include graphics into arabic text

I want to change the figures list name from "قائمة الأشكال" to "قائمة الصور" When I try to include graphics (pdf, eps) into arabic text, the figure in the resulted pdf is always ...
Daouha Poetry's user avatar
1 vote
1 answer
34 views

Add hanging indents in list of figure entries in Latex

I am writing my Thesis. However the i am facing a problem while formatting list of Figure. I wanted to know how could I add hanging indents to the Figure Captions So that it is alligned to the first ...
Vishal Prajapati's user avatar
0 votes
0 answers
53 views

Make chapter numbers appear in ToC (documentclass: book, using biblatex) and modification of the format of the Reference chapter

I’m using biblatex and I have made each chapter in separate tex file, and I combine them on the main.tex Each chapter is showing with number.name, which is as I want, as you can see from the picture 1 ...
Georgios's user avatar

1
2 3 4 5
144