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}.
7,258
questions
0
votes
0
answers
18
views
So much spacing is showing after table heading in the thesis report [closed]
Why so much space is coming after heading.
0
votes
1
answer
28
views
Conditional formatting in table of contents (toc) with ifx
I am trying to format the appearance of table of contents in a book document. Below is an example of what I want to achieve.
So far, below is a depiction of the extent I progressed with a MWE:
\...
0
votes
0
answers
18
views
Page numbering in table of contents goes wrong after list of tables and list of figures
I have written my PhD thesis as a Quarto book, outputting to pdf. Just about to submit final copy (viva and corrections complete), just noticed the page numbering in the Table of Contents (TOC) goes ...
0
votes
1
answer
46
views
How can I get the number of the last sectioning-command?
How can I get that number that appears within the toc, independend of wheter it is a section, a chapter or a subsection?
As in when the last sectioning gets me to 5.3.6 I get 5.3.6; but when it is ...
2
votes
1
answer
77
views
How to add a line of text at the bottom of the table of contents page?
I am using a report document class for my thesis. My advisor has asked me to add a line at the bottom of the table of contents page that displays the word count. How do I do that?
0
votes
1
answer
25
views
Formatting table of contents, issues with tocloft package
I am trying to create table of contents for a book class as shown below.
How could this be achieved? I looked around and tried to use the tocloft package but I end up in errors. Below is a MWE, where ...
1
vote
0
answers
14
views
Multiple or different indices
I am trying to write a report with different indexes, within the same document, I need to put an index, change the page and put a new index, that is, the new index begins with a new count of sections ...
1
vote
1
answer
26
views
Custom table of contents in beamer
I am working with the following code as a starting point. It produces a beamer document where the items on the contents page are numbered, and each item number is inside a square. I would like to use ...
0
votes
1
answer
35
views
Using book class, how to automatically include reference to preface in TOC [duplicate]
\documentclass[english,11pt,twosided,openright]{book}
\usepackage[nottoc]{tocbibind} %
\usepackage{hyperref}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{0}
\cleardoublepage
\...
0
votes
1
answer
46
views
Whole ToC line as link with titletoc
Expected behavior:
Whole ToC line becomes link to section
Observed behavior:
xelatex - matches expected behavior
pdflatex - breaks with "\pdfendlink cannot be used in vertical mode" error
...
1
vote
1
answer
47
views
How to Disable All \addcontentsline{toc}{subsection} Commands
Consider the code:
\documentclass[12pt]{book}
\usepackage{tocloft}
\renewcommand{\cftchapfont}{\small\bfseries}
\addtocontents{toc}{\protect\cftpagenumbersoff{subsection}} % Turn off subsection ...
1
vote
1
answer
25
views
Formatting chapters in the toc in memoir
Good evening,
to meet the requirements of my university, I got to do some changes to the way chapters are displayed in the Toc. I read the corresponding memoir documentation but couldn't figure how to ...
2
votes
1
answer
33
views
Hiding subsubsection titles in beamer sidebar [closed]
Assume a beamer TeX document that contains
sections
subsections, and
subsubsections
How do I prevent any of the subsubsection titles to be displayed in the Beamer sidebar?
Chapter 10.5 of the beamer ...
0
votes
0
answers
31
views
Remove "Chapter" for some chapter in TOC memoir (some chapters after no adding to TOC)
I have a trouble with adding to TOC some unnumbered chapters and removing Chapter #1 for some chapters in memoir class... I need to create my custom chapter styles, based on bianchi.
For example, I ...
1
vote
1
answer
43
views
Add line to toc from external pdf and hyperlink it
I have some parts of the document that I want to import to LaTeX but its bookmark does not come along, I'm fine with that and can manually create a new one using addtotoc inside \includepdf. The ...
0
votes
1
answer
16
views
Empty space when using [currentsection] in Beamer
I'm using the beamer class with the Frankfurt theme, but I'm having trouble with the alignment of the Table of Contents (TOC). It doesn't seem to align correctly.
Here's a snippet of my code:
\...
1
vote
1
answer
50
views
Check if a partial list created with titletoc is empty
I’m using the titletoc package with the memoir class, and I want to conditionally hide the titles of partial lists (e.g., \listtablename) if they are empty. Currently, I have the following setup.
\...
0
votes
0
answers
44
views
Rerun if toc, lot, lof or lol changed?
Assume a document has a table of contents, toc.
From my understanding, typically at the beginning of a document,
at the command \tableofcontents,
the file xxx.toc is read to insert the TOC.
After the ...
4
votes
2
answers
62
views
Add author one line after section title in toc
I’m working on a group project in which we have to indicate the name of the person who worked on a certain topic. I’d like to insert the authors’ names to the toc one line after the respective section’...
0
votes
0
answers
29
views
Minted in headings: the delimiters are still there
When using the minted package, I utilize delimiters that allow some otherwise prohibited characters. However, when I use \mintinline within a heading, the delimiters are not removed in the table of ...
1
vote
2
answers
37
views
How to remove Title page from Content [closed]
I have the following latex script (I kept only the relevant parts):
\documentclass[twoside]{mitthesis}
\begin{document}
\title{Title}
\Author{Name 1}{Department of Physics}
\Degree{Doctor of ...
1
vote
0
answers
29
views
Styling of TOC, List of Figures, List of Tables,... heading
I am using the memoir class and the titlesec package to style my chapter & section headings. However these don't seem to be used for the headings of the Table of Contents, the List of Figures etc. ...
0
votes
0
answers
27
views
Trouble with header with \chapter*{} [duplicate]
UPDATE: edit the question and the code, as I've been asked to do.
How can I set it up so "Anexos" or "Tablas" appears in my header, whith this code?
\begin{document}
\chapter{...
0
votes
1
answer
22
views
Adding a contents line to a "non-current" chapter
Potentially a very stupid question, but please humor me if you can. Suppose I have the following:
\documentclass{book}
\begin{document}
\tableofcontents
\chapter{The first chapter}
\section{The ...
0
votes
0
answers
27
views
Multiply defined links to chapter and sections not working
I have a PhD thesis, originally written in English, and I am trying to include a translation of the thesis into Spanish in the same document. For the most part, this has been working well, but I am ...
0
votes
1
answer
54
views
Adding acknowledgments and abstract in PDF bookmarks and referring to them correctly
I am writing my MSc thesis. Everything is fine so far. I have frontmatter and mainmatter. In the fronmatter part I have acknowledgments and abstract. I need to have bookmarks in the .pdf file for '...
1
vote
0
answers
24
views
Cannot produce bookmarks for title page after generating pdf file in overleaf
http://tcci.ccf.org.cn/conference/2024/dldoc/llncs2e.zip
I tried to use this template to write a conference paper, but the pdf result, generated by tex file, cannot shows the title bookmarks on the ...
1
vote
1
answer
42
views
beamer section slide with name in colorbox centered in the frame
I'm working on a presentation for my PhD defense and planning on experimenting with beamer.
I'm not an expert with LaTex and wanted to know if with \usetheme{Boadilla} it comes an option to set a ...
0
votes
0
answers
27
views
About list in LaTeX [duplicate]
I want to know what this symbol in the brown-like text in this picture and how to make them in LaTeX? I've seen it many times but never know what it is. Sorry if I would make any mistale in this ...
0
votes
0
answers
22
views
LyX hyperref boxes wrong placement
I started using LyX a while ago and soon I got this strange problem. The hyperref boxes doesn't cover the actual title in the table of contents.
I only used LyX's PDF properties -> Use hyperref ...
0
votes
1
answer
46
views
Change TOC color only
I am currently writing a report for my internship on LaTeX. I am using TeXstudio since my file was becoming too large for free Overleaf to compile. I have many referencing in it, and I would like to ...
0
votes
1
answer
33
views
Can thecontentslabel text values be right justified in a table of contents?
Would you please tell me if it is possible (and, if so, how) to right align the Roman numerals in the first column of the table of contents?
No positioning options seem to have any effect in [\...
1
vote
1
answer
43
views
Alignment issue in table of contents with more than 1000 pages [duplicate]
I help a student to write his PhD in LaTeX, and we face an issue regarding alignment. The Overfull \hbox (4.89952pt too wide) are highlighted below with black square in draft mode
It seems that the ...
1
vote
1
answer
29
views
Create a 'sub' table of contents for a section. Should include only the contents of that section (i.e., subsections and subsubsections, not sections) [duplicate]
I am preparing a document with many sections, subsections and subsubsections. To make the document easy to navigate I want to have a global table of contents that contains only sections and ...
1
vote
1
answer
57
views
Change line spacing in a ToC
I would like to customize the spacing in a titletoc-generated mini-ToC, by reducing the baseline within a given subsection title when it has to be spread over several lines, and/or slightly increasing ...
0
votes
0
answers
30
views
Link in list of figures/tables don't lead to correct page with respective figure
When I click on the links in the list of figures/tables, I often get to the title page or to wrong pages (for some figures it works however - no apparent reason).
I use the packages:
hyperref
...
2
votes
2
answers
56
views
How to color only the chapter, section and subsection numbers in Table of Contents?
I would like to change the color of the chapter, section and subsection numbers in the table of contents. I am using the minimal code below. However, it only colors the first chapter number, but ...
1
vote
1
answer
22
views
Latex Beamer - Add left padding to table of contents
I have changed the style of my table of contents in a beamer template, but now I want to add an horizontal padding to the left of this frame. How can I do it while keeping my custom configuration?
\...
2
votes
1
answer
61
views
Matching the table of contents with the chapter style of quotchap package
I like to apply the quotchap package style of the chapter headings to the headings of the table of contents, and the list of figures. Due to using another package tocloft, I am getting a conflict.
...
0
votes
0
answers
19
views
Why is my appendix not properly numbered? [duplicate]
I am using a template with a customized document class (that I have to use) and I want to use and appendix. I used:
\backmatter
\appendix
\chapter{Appendix}
\section{Appendix A.1}
\section{Appendix A....
3
votes
1
answer
61
views
Sorted table of data from elsewhere in a document
I am trying to provide a sorted overview of some data points at the start of my document, e.g.:
+-----------+-----+---------------------+
| height | age | description |
+-----------+-----+--...
5
votes
4
answers
223
views
Vertical centering of math in a table
I basically have a DI table that I want to construct and I have a slight vertical centering issue in the cells. This is the code:
\documentclass{article}
\usepackage[pdftex]{graphicx}
\usepackage{...
2
votes
1
answer
128
views
Define your own “list of …”
I'm currently working on a book, and I want to create a list of examples. I tried lots of solutions available online, but none suited me well - see for example:
https://texblog.org/2008/07/13/define-...
2
votes
1
answer
21
views
Setup user defined list of figures
I have created a "map" environment as an alternative to the figure environment and am now trying to set up the associated list.
How do I modify how these entries appear in the list of maps -...
0
votes
0
answers
23
views
Make every element of the List Of Figures (LOF) the same size
I am writing a report and for formatting reasons I will need to have different sizes for the captions of my figures.
For example, here we can see that 2.3 is smaller than the other, I would like them ...
0
votes
0
answers
17
views
Appendix and Page text on List of Appendices
Currently, I have this MWC.
\newcommand{\listappendicesname}{LIST OF APPENDICES}
\newlistof{appendices}{apc}{\listappendicesname}
\renewcommand{\theappendices}{\Roman{appendices}}
\newcounter{...
0
votes
0
answers
22
views
force the header onto every "list of figures" and "list of tables" page [duplicate]
I am using this code to add headers ('Table' and 'Page') to every page in the list of tables, which spans 9 pages. However, this creates two additional empty pages that I have tried to delete:
%
\...
1
vote
1
answer
35
views
Remove Part Page in Memoir Class
In the memoir class, is there a way to remove the part page entirely? That is, in the text there is no indication of a new part beginning. However, the part still appears in the ToC, and things like ...
0
votes
1
answer
59
views
New Section Command for new TOC
I have the following structure in my document:
TOC1
Section1
Section2
Subsection2.1
Subsection2.2
Section3
TOC2
Subsection3.1
Subsubsections3.1.x
Subsection3.2
Subsubsections3.2.x
I want the TOC1 ...
0
votes
0
answers
18
views
Reference heading not appearing in Table of contents [duplicate]
I am struggling with a bug of references.I am able to cite reference but the refernces cheading is not appearing in my table of contents.I am sharing my code file to have look over
\documentclass[
...